Re: unable to send multiple messages simontanously

2009-03-15 Thread Jeff Genender
This is usually caused by an un-tuned IP stack in your OS.  These  
symptoms usually occur when you have hit the max sockets.  You  
generally hit this limit because your socket timeouts are set too high  
(it can be 30-60 seconds by default before the socket is released back  
to the OS).


I would Google tuning IP stacks for your particular OS and concentrate  
on upping your allowed sockets and setting your socket timeout/wait to  
1 second.  If you are sending all these calls from a single client,  
you may need to do this on the client too.


Jeff

On Mar 14, 2009, at 7:53 AM, Nagesh wrote:


Hi All,

I am testing the server load by trying to send multiple  messages
simontanously.

I am trying to create the 100 sessions and trying to
write  messages to those 100 session with a second gap.
but it starts sending up to some time after that it does not give
any exception and stops sending messages.

can any one suggest me what might be the problem and possible  
solution to

it.

any help is highly appreciated.

Thanks,
Ajay.




unable to send multiple messages simontanously

2009-03-14 Thread Nagesh
Hi All,

I am testing the server load by trying to send multiple  messages
simontanously.

I am trying to create the 100 sessions and trying to
write  messages to those 100 session with a second gap.
but it starts sending up to some time after that it does not give
any exception and stops sending messages.

can any one suggest me what might be the problem and possible solution to
it.

any help is highly appreciated.

Thanks,
Ajay.


Re: unable to send multiple messages simontanously

2009-03-14 Thread Ashish
Please use user ML for these discussions,

A thread dump shall be great for any inputs.

On Sat, Mar 14, 2009 at 7:23 PM, Nagesh nag...@800pbx.com wrote:
 Hi All,

 I am testing the server load by trying to send multiple  messages
 simontanously.

 I am trying to create the 100 sessions and trying to
 write  messages to those 100 session with a second gap.
 but it starts sending up to some time after that it does not give
 any exception and stops sending messages.

 can any one suggest me what might be the problem and possible solution to
 it.

 any help is highly appreciated.

 Thanks,
 Ajay.




-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal