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 am trying to diagnose bottleneck for a apache(v 2.0.52) server using strace.

It looks like call to poll is slowing the process. Below is one example

poll([{fd=10, events=POLLIN}], 1, 120000) = 0 <119.996719>

ls -l /proc/pid/fd returns

10 -> socket:[somenumber]

Any clues?

Thanks

share|improve this question

That's expected: poll() waits for something to happen, the third argument is the millisecond timeout, nothing happened after ~120s...

In my experience logging, access control are DNS lookups are common causes of performance problems.

share|improve this answer

Your Answer

 
discard

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.