[CentOS] Web server becoming unresponsive : high load

Frank Cox theatre at sasktel.net
Fri Mar 11 18:45:42 UTC 2011


On Fri, 11 Mar 2011 14:26:03 -0400
robert mena wrote:

> a) my own code is behaving strangely.   For example, a php script that in a
> given situation/parameters increases the usage.

Log your script's activities to a file with lots of detail.   Got here, found
this, load is that. If you're concerned about the log getting too huge,
save it to a .bak and re-create it every X minutes.

When it dies, see what the last log entries are.

-- 
MELVILLE THEATRE ~ Melville Sask ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!



More information about the CentOS mailing list