Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have several apache processes running on a system, which seem to be stuck in infinite loops.

Is there some way I can inspect the apache process to find what the HTTP request was that they are attempting to respond to?

share|improve this question

Do you have their IP address or anything that you can trac them by means of a log file or lsof output?

You run the following while you had the user try to connect again:

while true;do lsof -i :8080;sleep 2; done;

Once you have that listening, you should see something like:

httpd 2763 http 12u IPv6 1064421 0t0 TCP localservername:http-alt-> (ESTABLISHED)

Note: Right now on this test box I am running HTTP on port 8080. 2763 is the PID. If you are having alot of traffic, then you might have to filter out the IP address.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.