Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.