Thread: php eating cpu
View Single Post
  #14  
Old 16th July 2007, 01:17
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 3 Times in 3 Posts
Default

The mail stats where updated but nothing in the web logs.
I deleted all web and mail logs, also awstats and all stats from all sites.
Replaced the following in cron, just to see if this was causing any problem in that my logs maybe too large.

59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null

Then reinstalled awstats and all was ok for a couple of days.
Then tonight at 23.59 php started eating my cpu again. I stopped it with this command `pkill php` and all is ok and everything seems to work OK without a reboot.
I seem to have so many problems with SUSE, if i cannot fix this problem without a complete reinstall i am switching to debian

shajazzi
Reply With Quote