[K12OSN] OT apache troubleshoot

Les Mikesell lesmikesell at gmail.com
Sun Mar 17 16:02:58 UTC 2013


On Sun, Mar 17, 2013 at 10:53 AM, Jim Kinney <jim.kinney at gmail.com> wrote:
> You need to run other performance tools to get a better picture than just
> top. Iostat will show drive access. Check apache logs to look for web
> crawlers. A bad link that causes a process loop can eat your system. A power
> blink that causes a small file corruption can generate similar symptoms.
>

php and other embedded program code will run as apache even though the
web server framework itself rarely uses much CPU.   You might be able
to tell from the httpd logs what kind application requests you are
getting, and sometimes you can use 'strace -p process_id' to get some
idea of what the running code is doing - at least the system call
portion.  If it is just in a compute loop you wouldn't see that.
Also note that security vulnerabilities are pretty common in php web
apps.   Someone may have injected code you didn't expect.

-- 
   Les Mikesell
     lesmikesell at gmail.com




More information about the K12OSN mailing list