Current time: 11-25-2024, 07:32 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] php5-cgi causes abnormally high cpu-load
Author Message
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
Reputation: 0
Post: #4
RE: php5-cgi causes abnormally high cpu-load
BeNe Wrote:
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

I rebooted my server and it's looking much better now, i just hope it stays that way...

about the backups yeah, what does it mean cpu-wise when bzip2 archives are being created of 5-6 gigabyte folders ?

greetings,
and thanks for the support!
Rik
01-25-2008 08:25 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 - psygarden - 01-25-2008 08:25 AM

Forum Jump:


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