Hi Olivier,

I have been debuging the problem that SIPp gets broken
pipe error with high load. 
The cause for this problem is: Solaris defines
MSG_DONTWAIT option, but the option does not support 
non-blocking send(). As a result, the blocking send()
causes deadlock between SIPp and SER.

I am not sure how to contribute the code, but the
following code fix this problem in Solaris. 

bash-3.00# diff sipp.cpp mysipp.cpp
38a39,40
> #define solaris
>
489,490c491,494
< #ifdef MSG_DONTWAIT
<   return send(s, msg, len, flags | MSG_DONTWAIT);
---
> #if defined (MSG_DONTWAIT)
> #       ifdef solaris
> #           define B_TYPE 1
> #       endif
491a496,499
> #       define B_TYPE 1
> #endif
>
> #ifdef B_TYPE
505a514,515
> #else
>         return send(s, msg, len, flags |
MSG_DONTWAIT); 

Thanks
Joy


--- Olivier Jacques <[EMAIL PROTECTED]> wrote:

> Folks,
> 
> I know I have been lacking responsiveness lately on
> SIPp, as I'm very 
> busy with many other topics.
> Now that internet is back at home (after a move), I
> plan to cope with 
> all the email backlog (especially patch and bug
> fixes that I've seen).
> 
> Thanks for your patience. And thank you to everyone
> that helps other 
> SIPp users.
> 
> Olivier.
> 
> -- 
> Olivier
> HP OpenCall Software
> http://www.hp.com/go/opencall/
> 
> 
>
-------------------------------------------------------------------------
> 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
> 



 
____________________________________________________________________________________
Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.

-------------------------------------------------------------------------
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

Reply via email to