0
votes
2answers
57 views

process works under strace but not normally

I have a process - a perl script - that does: while true check a POP account on a server on the lan process any email found write logs - messages found, actions taken, errors sleep ...
0
votes
1answer
62 views

Trying to diagnose bottleneck for apache

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 ...
0
votes
1answer
2k views

How to get PIDs waiting on a semaphore

If I strace a stuck process and see output of the form: [gaius@redhat64 bin]$ strace -p 18185 Process 18185 attached - interrupt to quit [ Process PID=18185 runs in 32 bit mode. ] semop(458760, ...