Help with reading strace

Andy Green andy at warmcat.com
Wed Mar 22 10:41:41 UTC 2006


Dan Track wrote:

> sin_addr=inet_addr("10.11.10.1")}, 28) = 0
> fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
> fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
> gettimeofday({1143022459, 869414}, NULL) = 0
> poll([{fd=4, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
> send(4, "\367\201\1\0\0\1\0\0\0\0\0\0\7neptune\2l3\next"..., 43, 0) = 43
> poll(
> 
> 
> 
> 
> 
> [{fd=4, events=POLLIN}], 1, 5000)  = 0

AIUI this is just telling you that poll blocked.  Use

tcpdump

to see what actually happens on the wire to provoke the blocking action, 
eg, ARP requests that are never satisfied?

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060322/256e737c/attachment-0001.bin>


More information about the fedora-list mailing list