Current time: 11-15-2024, 12:21 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] php5-cgi causes abnormally high cpu-load
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: php5-cgi causes abnormally high cpu-load
Quote:but it looks like i have many (MANY) php5-cgi processess that all use up their bit of cpu
There should run every 30min a script to purge old sessions in you cron
(/etc/cron.d/ispcp)
Code:
# Look for and purge old sessions every 30 minutes
0,30 *     * * *     root   /var/www/ispcp/engine/tools/ispcpphptemp.sh >/dev/null 2>&1
If you use Debian this does maybe now work so you can try this:
Code:
# Look for and purge old sessions every 30 minutes
09,39 *     * * *     root   [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm
Quote:Is php5-cgi used to take the backups of the websites?
The Backups are not in the webroot so php5-cgi cant catch it.
Quote:does anyone know what performance influences this has when it's archiving 6gigabyte of mp3 files
You mean to Backup the 6GB ?

Greez BeNe
01-25-2008 08:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: php5-cgi causes abnormally high cpu-load - BeNe - 01-25-2008 08:17 AM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)