Networking Forums

Networking Forums > Computer Networking > Linux Networking > Need help in interpreting strace output.

Reply
Thread Tools Display Modes

Need help in interpreting strace output.

 
 
S V
Guest
Posts: n/a

 
      10-19-2004, 09:10 PM
Hello,
I am doing a blocking read on a UDP data flow. Intermittently I
get an error message "Error in receiving data on fd=8 => Resource
temporarily unavailable (EAGAIN) "

On getting this error message, I loose 1 packet and I print a message
in a text file with the timestamp.

I have isolated the block of : select, recvfrom, gettimeofday,writev
below.

The recvfrom in the isolated block has the second parameter different
from other recvfrom.

Can someone tell me what it means.
Can someone tell me what is it that is happening in the system which
is giving EAGAIN error to recvfrom.

Thanks,
SV

>>>>>>>>>>

recvfrom(8, "\0\0\0\0\0\0018\353HP\0\0\0\1\2\3\4\5\6\7\10\t\n\ v\f\r"...,
65535, 0, {sin_family=AF_INET, sin_port=htons(32922),
sin_addr=inet_addr("10.41.0.10")}}, [16]) = 19200

>>>start of isolated block


select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {1, 990000})
recvfrom(8, 0x814d028, 65535, 0, 0x80da20c, 0x80cf598) = -1 EAGAIN
(Resource temporarily unavailable)
time([1098201763]) = 1098201763
gettimeofday({1098201763, 233741}, NULL) = 0
writev(2, [{"Oct 19 12:02:43.233", 19}, {" ", 1}, {"AGENT7.localho*",
15}, {" [", 2}, {"APPRAWUDP", 9}, {".", 1}, {"ERROR", 5}, {"]:", 2},
{"Error in receiving data on fd=8="..., 65}, {"\n", 1}], 10) = 120

>>>end of isolated block


select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {2, 0})
recvfrom(8, "\0\0\0\0\0\0018\355FP\0\0\0\1\2\3\4\5\6\7\10\t\n\ v\f\r"...,
65535, 0, {sin_family=AF_INET, sin_port=htons(32922),
sin_addr=inet_addr("10.41.0.10")}}, [16]) = 19200
write(1, "MPSN,7,4,80108,80108\0", 21) = 21
time([1098201763]) = 1098201763
gettimeofday({1098201763, 244236}, NULL) = 0
writev(2, [{"Oct 19 12:02:43.244", 19}, {" ", 1}, {"AGENT7.localho*",
15}, {" [", 2}, {"APPRAWUDP", 9}, {".", 1}, {"INFO", 4}, {"]:", 2},
{"Sending missing PSN stats=MPSN,7"..., 46}, {"\n", 1}], 10) = 100
select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {2, 0})
recvfrom(8, "\0\0\0\0\0\0018\356EP\0\0\0\1\2\3\4\5\6\7\10\t\n\ v\f\r"...,
65535, 0, {sin_family=AF_INET, sin_port=htons(32922),
sin_addr=inet_addr("10.41.0.10")}}, [16]) = 19200
select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {2, 0})
recvfrom(8, "\0\0\0\0\0\1B\263\200F\0\0\0\1\2\3\4\5\6\7\10\t\n \v\f\r"...,
65535, 0, {sin_family=AF_INET, sin_port=htons(32922),
sin_addr=inet_addr("10.41.0.10")}}, [16]) = 19200
select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {2, 0})
recvfrom(8, "\0\0\0\0\0\1B\272yF\0\0\0\1\2\3\4\5\6\7\10\t\n\v\ f\r\16"...,
65535, 0, {sin_family=AF_INET, sin_port=htons(32922),
sin_addr=inet_addr("10.41.0.10")}}, [16]) = 19200
select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {2, 0})
recvfrom(8, "\0\0\0\0\0\1B\273xF\0\0\0\1\2\3\4\5\6\7\10\t\n\v\ f\r\16"...,
65535, 0, {sin_family=AF_INET, sin_port=htons(32922),
sin_addr=inet_addr("10.41.0.10")}}, [16]) = 19200
select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {1, 990000})
recvfrom(8, 0x814d028, 65535, 0, 0x80da20c, 0x80cf598) = -1 EAGAIN
(Resource temporarily unavailable)
time([1098201788]) = 1098201788
gettimeofday({1098201788, 472582}, NULL) = 0
writev(2, [{"Oct 19 12:03:08.472", 19}, {" ", 1}, {"AGENT7.localho*",
15}, {" [", 2}, {"APPRAWUDP", 9}, {".", 1}, {"ERROR", 5}, {"]:", 2},
{"Error in receiving data on fd=8="..., 65}, {"\n", 1}], 10) = 120
select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {2, 0})
recvfrom(8, "\0\0\0\0\0\1B\275vF\0\0\0\1\2\3\4\5\6\7\10\t\n\v\ f\r\16"...,
65535, 0, {sin_family=AF_INET, sin_port=htons(32922),
sin_addr=inet_addr("10.41.0.10")}}, [16]) = 19200
write(1, "MPSN,7,4,82620,82620\0", 21) = 21
time([1098201788]) = 1098201788
gettimeofday({1098201788, 482571}, NULL) = 0
writev(2, [{"Oct 19 12:03:08.482", 19}, {" ", 1}, {"AGENT7.localho*",
15}, {" [", 2}, {"APPRAWUDP", 9}, {".", 1}, {"INFO", 4}, {"]:", 2},
{"Sending missing PSN stats=MPSN,7"..., 46}, {"\n", 1}], 10) = 100
select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {2, 0})
recvfrom(8, "\0\0\0\0\0\1B\276uF\0\0\0\1\2\3\4\5\6\7\10\t\n\v\ f\r\16"...,
65535, 0, {sin_family=AF_INET, sin_port=htons(32922),
sin_addr=inet_addr("10.41.0.10")}}, [16]) = 19200
select(9, [8], NULL, NULL, {2, 10000}) = 1 (in [8], left {2, 0})
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Interpreting tcpdump output for TCP connection query.cdac@gmail.com Linux Networking 0 05-23-2007 12:59 PM
Help required interpreting ADSL line results Matt Broadband 5 05-13-2006 05:16 PM
Question about interpreting tcptrace results Dan Stromberg Linux Networking 3 01-14-2006 12:42 AM
Interpreting Intel 82450EM Ethernet Controller Stats gg-csf@dmztest.vsr.ambisys.net Linux Networking 1 08-29-2005 02:27 AM
Interpreting PPP logfile Steven Feil Linux Networking 2 12-03-2004 02:42 PM



1 2 3 4 5 6 7 8 9 10 11