I am running Chilisoft 3.6.2 on a Sun Cobalt Raq XTR with 1Gb of memory and chilisoft is restarting every hour or so. The application connects to a MySQL database and most pages make DB calls but the connection is closed and set to nothing on every page.
It does not seem to be a memory issue as just before it restarted last time the output from free -m is:
Wed Feb 12 11:46:01 GMT 2003
total used free shared buffers cached
Mem: 1010 598 412 419 380 56
-/+ buffers/cache: 161 849
Swap: 128 0 128
What I need to
I received a message at 11:46 saying the ASP server was restarted. Entries from the server diagnostics around this time are below:
Wed Feb 12 11:34:01 2003 CASPLIB: asp application / created (or reset).
Wed Feb 12 11:36:02 2003 CASPLIB: vhost created - / [/home/sites/home/web].
Wed Feb 12 11:36:02 2003 CASPLIB: asp application / created (or reset).
Wed Feb 12 11:45:04 2003 CASPD: daemon stopping.
Wed Feb 12 11:46:41 2003 CASPD: all engines stopped.
Wed Feb 12 11:46:41 2003 CASPD: daemon stopped.
Wed Feb 12 11:46:43 2003 CASPD: daemon started, version 220.127.116.11 (port 3000)
Wed Feb 12 11:46:43 2003 CASPD: multi-threaded configuration, 5 thread(s)
Wed Feb 12 11:46:44 2003 CASPD: child engine started, port 3001
Wed Feb 12 11:46:44 2003 CASPLIB: license: file 1 [version=18.104.22.168 oemCode=CSRETAIL sessions=unlimited cpus=-1 days=0.00 maintenance=-1.00 supportID= hostid= serial=4YMSV-VYYYY-Y8MJV-15M90-00041 vroots=(na)], final [sessions=unlimited days=0.00 vroots=0],
Wed Feb 12 11:46:46 2003 CASPLIB: vhost created - www.course-source.net
Wed Feb 12 11:46:46 2003 CASPLIB: asp application / created (or reset).
Wed Feb 12 11:46:51 2003 CASPLIB: vhost created - / [/home/sites/home/web].
Wed Feb 12 11:46:51 2003 CASPLIB: asp application /caspsamp created (or reset).
Wed Feb 12 11:46:52 2003 CASPLIB: vhost created - beta.course-source.co.uk [/home/sites/site3/web].
Wed Feb 12 11:46:52 2003 CASPLIB: asp application / created (or reset).
What I need is to be able to understand WHY it is rebooting. If I knew it was because a connection limit had been reached or there was a memory problem I could look further but until I can narrow it down I have no idea why it is reseting. The response seems to slow down before a restart so I think it is lacking in some resource.
The output from the server monitor shows:
Total requests 2021
Requests per second 3
Total errors received 0
Current number of sessions 168
Cached scripts 243
Active virtual hosts 3
Total memory in use 64292KB
Uptime running for 0.31 hours
It seems that the number of sessions and cached scripts just keeps increasing. Is this correct ? I have Cache Scripts turned off in the settings so a little confused.
This is a problem on our live server so have not had much sleep. Any help would be great.