Asim Ahmed @ Folio3 wrote:
any help on how can i use strace to get valuable information? I tried this strace -p <pid of squid child> It started a non-ending trace like this ... [root@gateway102 ~]# strace -p 7934 Process 7934 attached - interrupt to quit gettimeofday({1260262793, 691159}, NULL) = 0 gettimeofday({1260262793, 691246}, NULL) = 0 epoll_wait(6, {}, 16384, 10) = 0 gettimeofday({1260262793, 700780}, NULL) = 0
<snip repeated epoll_wait>
is this of any use? Or i need to use another swithc combination to make it useful?
Not sure of the strace controls myself. But that trace has already been of some use, that process was doing nothing but idling along waiting for some network traffic to arrive.
Time to look at any other squid processes around and see if they are doing something.
The parent process can be expected to be idling also waiting on signals, or doing nothing at all. Any others ...
Amos -- Please be using Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20 Current Beta Squid 3.1.0.15