Hi Eric,
I don’t think RAM & disk space is an issue here:
root@airgunsports:[~]$ free -m
total used free shared buffers cached
Mem: 1024 815 208 0 33 336
-/+ buffers/cache: 445 578
Swap: 1023 0 1023
root@airgunsports:[~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 20G 3.0G 16G 16% /
none 512M 0 512M 0% /dev/shm
root@airgunsports:[~]$
As matter of interest though, I have this problem on random days, so it has no relationship with the “Sunday log rotate” issue you’re refering to.
root@airgunsports:[~]$ last -10
root pts/0 vc-41-29-165-99. Fri Oct 22 16:55 still logged in
reboot system boot 2.6.18-164.2.1.e Fri Oct 22 09:49 (07:08)
root pts/0 196-215-111-223. Fri Oct 22 09:42 - down (00:06)
root pts/0 196-210-237-79.d Wed Oct 13 09:05 - 10:37 (01:32)
root pts/0 196-210-169-192. Mon Oct 4 15:26 - 20:17 (04:50)
reboot system boot 2.6.18-164.2.1.e Sat Oct 2 05:11 (20+04:37)
reboot system boot 2.6.18-164.2.1.e Wed Sep 29 08:14 (2+20:56)
root pts/0 196-210-169-192. Wed Sep 22 03:04 - 08:16 (05:12)
reboot system boot 2.6.18-164.2.1.e Mon Sep 13 16:38 (15+15:35)
root pts/1 196-215-47-159.d Mon Sep 13 16:32 - down (00:04)
But at the same time I notice that the problem is 9 days apart. The time I ever need to login to this machine via SSH is to fix the issue, or reboot the VPS if I can’t fix the issue. I don’t know what significance this has though?
At the same time I don’t see anyhing in crontab which runs on 9 days schedules, or even 8 day schedules:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /etc/webmin/virtual-server/collectinfo.pl
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /etc/webmin/status/monitor.pl
7 * * * * /etc/webmin/virtual-server/spamconfig.pl
0 * * * * /etc/webmin/virtual-server/bw.pl
52 3 * * * /etc/webmin/webalizer/webalizer.pl /home/airgunsports.co.za/logs/access_log
27 5 * * * /etc/webmin/virtualmin-awstats/awstats.pl airgunsports.co.za
@daily /etc/webmin/virtual-server/backup.pl --id 126958914128585
@daily /root/fixapache
This morning when it crashed again I had to reboot since the normall “killall -9 httpd && /etc/init.d/apache restart” didn’t fix the problem.
I’m using the default VirtualMin config, so I doubt if it’s running FCGID, I didn’t change any settings, nor could I even find where to change to FCGID just now.