I think it may be a little more complex than that. SIPp uses poll (similar to select) to establish that there is something worth reading before actually trying to read. So an EAGAIN response means that the read could not complete even though poll said something was there.
My knowledge on why is limited - if you were using big packets it could be that the re-assembly timed out. It could be that something took the interface down. You should be able to ignore an EAGAIN (it means try again after all). It would be interesting to change the code to carry on after printing a warning and see whether it happens once every so often or sticks in a loop continuously getting the error. Also the warning should tell you which socket was causing the problem. Assuming it has not changed since the 26/12/21 snapshot you would change line 2497 of sipp.cpp to use WARNING_NO instead of ERROR_NO. (Don't enable the #if 0 lines - closing a main socket isn't going to help the test continue.) Peter Peter Higginson Newport Networks Ltd, Direct line 01494 470694 http://www.newport-networks.com/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Randall Sent: 04 January 2007 16:09 To: Klaus Darilion; [email protected] Subject: Re: [Sipp-users] UDP Problem Hello, Receiving errno 11 (EAGAIN) on a call to "recv" is an indication that although the UDP socket is marked as non-blocking, the call would have blocked, or been timed out, as the response was not received in the expected time frame. Since you are using Linux, you can view this information by typing "man -s 2 recv" and reading the section "ERRORS". To correlate the word value to the numeric, simply looking '11' in /usr/include/asm/errno.h. Put simply, SIPp did not receive an expected SIP response in an expected time frame. Since you are doing UDP performance testing one should expect to see this type of behavior at some point and lower the frequency accordingly. I hope this helps, Justin. -----Original Message----- From: Klaus Darilion [mailto:[EMAIL PROTECTED] Sent: Thursday, January 04, 2007 10:54 AM To: [email protected] Subject: [Sipp-users] UDP Problem Hi! Today I made some high performance tests and SIPp often stoped with the following Error message: 2007-01-04 16:42:07: Unexpected UDP recv error, errno = 11 (Resource temporarily unavailable). Does anybody knows what this means? I'm using snapshot 2007-01-02 on Linux 2.6.8 regards klaus -- Klaus Darilion nic.at ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users --------------- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden. --------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
