Current time: 11-26-2024, 03:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
High load on ispcp server
Author Message
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #39
RE: High load on ispcp server
I upgraded the php, but i use a script witch restart the webserver when the load is higher than 1:

Code:
#!/bin/bash
L05="$(uptime|awk '{print $(NF-2)}'|cut -d. -f1)"
if test $L05 -gt 1
then
killall -9 php5-cgi
/etc/init.d/apache2 restart
fi

Insert this line to the crontab:
* * * * * root /root/load.sh
02-04-2008 10:41 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
High load on ispcp server - soringo - 08-03-2007, 04:06 PM
RE: High load on ispcp server - BeNe - 08-03-2007, 04:21 PM
RE: High load on ispcp server - soringo - 08-03-2007, 04:38 PM
RE: High load on ispcp server - soringo - 08-03-2007, 05:03 PM
RE: High load on ispcp server - soringo - 08-04-2007, 06:12 PM
RE: High load on ispcp server - BeNe - 08-04-2007, 11:44 PM
RE: High load on ispcp server - soringo - 08-05-2007, 02:37 AM
RE: High load on ispcp server - BeNe - 08-05-2007, 02:42 AM
RE: High load on ispcp server - Philipp - 08-09-2007, 02:54 AM
RE: High load on ispcp server - platzwart - 08-16-2007, 03:12 AM
RE: High load on ispcp server - soringo - 08-16-2007, 03:55 AM
RE: High load on ispcp server - BeNe - 08-16-2007, 03:49 PM
RE: High load on ispcp server - raphael - 08-17-2007, 01:32 AM
RE: High load on ispcp server - platzwart - 08-16-2007, 06:57 PM
RE: High load on ispcp server - soringo - 08-16-2007, 07:08 PM
RE: High load on ispcp server - BeNe - 08-17-2007, 01:44 AM
RE: High load on ispcp server - raphael - 08-17-2007, 03:27 AM
RE: High load on ispcp server - bertus51 - 08-22-2007, 10:53 PM
RE: High load on ispcp server - Philipp - 10-28-2007, 08:26 PM
RE: High load on ispcp server - raphael - 10-29-2007, 04:12 AM
RE: High load on ispcp server - bulforce - 11-08-2007, 02:31 AM
RE: High load on ispcp server - Solvik - 11-10-2007, 03:55 AM
RE: High load on ispcp server - bulforce - 11-17-2007, 12:37 AM
RE: High load on ispcp server - BioALIEN - 11-19-2007, 11:53 PM
RE: High load on ispcp server - motin - 12-18-2007, 05:57 PM
RE: High load on ispcp server - Kika - 12-13-2007, 01:38 AM
RE: High load on ispcp server - joximu - 12-18-2007, 06:09 PM
RE: High load on ispcp server - psygarden - 01-26-2008, 06:13 AM
RE: High load on ispcp server - raphael - 01-26-2008, 08:40 AM
RE: High load on ispcp server - psygarden - 01-27-2008, 07:45 AM
RE: High load on ispcp server - macbishop - 01-27-2008, 08:07 AM
RE: High load on ispcp server - psygarden - 01-27-2008, 09:21 AM
RE: High load on ispcp server - viperiii - 03-17-2008, 01:48 PM
RE: High load on ispcp server - rbtux - 01-28-2008, 12:58 AM
RE: High load on ispcp server - BioALIEN - 01-28-2008, 12:07 PM
RE: High load on ispcp server - psygarden - 01-28-2008, 08:23 PM
RE: High load on ispcp server - Kika - 01-29-2008, 01:43 AM
RE: High load on ispcp server - raphael - 01-29-2008, 01:58 AM
RE: High load on ispcp server - joximu - 02-08-2008, 11:22 PM
RE: High load on ispcp server - BioALIEN - 02-03-2008, 01:30 PM
RE: High load on ispcp server - Kika - 02-04-2008 10:41 PM
RE: High load on ispcp server - BeNe - 02-04-2008, 11:02 PM
RE: High load on ispcp server - Kika - 02-04-2008, 11:13 PM
RE: High load on ispcp server - BeNe - 02-04-2008, 11:21 PM
RE: High load on ispcp server - Kika - 02-05-2008, 12:49 AM
RE: High load on ispcp server - BeNe - 02-05-2008, 01:04 AM
RE: High load on ispcp server - psygarden - 02-06-2008, 02:30 AM
RE: High load on ispcp server - Kika - 02-09-2008, 06:28 AM
RE: High load on ispcp server - rbtux - 02-09-2008, 06:32 AM
RE: High load on ispcp server - Kika - 02-09-2008, 06:51 AM
RE: High load on ispcp server - rbtux - 02-09-2008, 06:53 AM
RE: High load on ispcp server - raphael - 02-10-2008, 09:13 AM
RE: High load on ispcp server - Spheerys - 02-24-2008, 08:11 PM
RE: High load on ispcp server - psygarden - 02-25-2008, 05:16 AM
RE: High load on ispcp server - Spheerys - 02-26-2008, 05:05 AM
RE: High load on ispcp server - joximu - 02-26-2008, 05:27 AM
RE: High load on ispcp server - Spheerys - 02-28-2008, 10:10 PM
RE: High load on ispcp server - viperiii - 03-20-2008, 12:23 PM

Forum Jump:


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