Re: OT apache troubleshoot

Les Mikesell <[email protected]>
Newsgroups gmane.linux.redhat.k12osn
Message-ID <CAOAgVpyRLfqOX4Js7-FePZUaBo2KpkbkNwaoVQs4S5=AVpRsMQ@mail.gmail.com>
On Sun, Mar 17, 2013 at 10:53 AM, Jim Kinney <[email protected]> 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
     [email protected]

_______________________________________________
K12OSN mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.