Re: [users@httpd] High load in httpd processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi everyone,
> 
> I'm using the Apache HTTPD 2.0.54 webserver + PHP 4.3.11 on a Linux box. 
> I'm having constant high loads in my httpd process, and I would like to 
> find out what's causing this high load. eg, if it's a page, wich one is 
> causing this high load.
> 
> Thanks in advance,
> Anderson

Try to find which process eats your resources. Start with "top -d1" and <Shift>+P to see some PIDs. It is maybe a wrong PHP script with ie. infinite loop /while 1>0 {...}/, so switch on the full error+warning+notice reporting in libphp (php.ini) then look into Apache error_log. You may also add %T string (the time taken to serve the request, in seconds) in CustomLog in httpd.conf to see files and their runtime.

luke


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux