Query about ports and blocking i/o

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Query about ports and blocking i/o

Sandip Ghayal
This might look like very weird question.

But I am seeing strange behaviour using Jetty.

I am using Jetty as part of my application. Currently
Jetty is
configured to use Blocking NIO connections.

I am running some kind of stress test with Jetty.

My setup is
Machine1: Jetty
Machine2: Client

During stress testing I am noticing there are lots of
random connections
created on the Machine1 and talking to port on
Machine1. I am not sure
why are this connections created. I checked my
application and there is
nothing inside it that would create such connections.

It almost looks like some one is trying to create
socket pipes
(C-terminology) for communication.

My netstat -a output looks like

   TCP    machine1:41522          machine1:41523      
   ESTABLISHED
   TCP    machine1:41523          machine1:41522      
   ESTABLISHED
   TCP    machine1:41524          machine1:41525      
   ESTABLISHED
   TCP    machine1:41525          machine1:41524      
   ESTABLISHED
   TCP    machine1:41526          machine1:41527      
   ESTABLISHED
   TCP    machine1:41527          machine1:41526      
   ESTABLISHED
   TCP    machine1:41528          machine1:41529      
   ESTABLISHED
   TCP    machine1:41529          machine1:41528      
   ESTABLISHED
   TCP    machine1:41530          machine1:41531      
   ESTABLISHED

Thanks,

Sandip Ghayal


       
____________________________________________________________________________________Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jetty-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Query about ports and blocking i/o

Greg Wilkins

Sandip,

that is indeed strange!  I can't think of anything in Jetty that
could cause that???

cheers


Sandip Ghayal wrote:

> This might look like very weird question.
>
> But I am seeing strange behaviour using Jetty.
>
> I am using Jetty as part of my application. Currently
> Jetty is
> configured to use Blocking NIO connections.
>
> I am running some kind of stress test with Jetty.
>
> My setup is
> Machine1: Jetty
> Machine2: Client
>
> During stress testing I am noticing there are lots of
> random connections
> created on the Machine1 and talking to port on
> Machine1. I am not sure
> why are this connections created. I checked my
> application and there is
> nothing inside it that would create such connections.
>
> It almost looks like some one is trying to create
> socket pipes
> (C-terminology) for communication.
>
> My netstat -a output looks like
>
>    TCP    machine1:41522          machine1:41523      
>    ESTABLISHED
>    TCP    machine1:41523          machine1:41522      
>    ESTABLISHED
>    TCP    machine1:41524          machine1:41525      
>    ESTABLISHED
>    TCP    machine1:41525          machine1:41524      
>    ESTABLISHED
>    TCP    machine1:41526          machine1:41527      
>    ESTABLISHED
>    TCP    machine1:41527          machine1:41526      
>    ESTABLISHED
>    TCP    machine1:41528          machine1:41529      
>    ESTABLISHED
>    TCP    machine1:41529          machine1:41528      
>    ESTABLISHED
>    TCP    machine1:41530          machine1:41531      
>    ESTABLISHED
>
> Thanks,
>
> Sandip Ghayal
>
>
>        
> ____________________________________________________________________________________Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
> http://answers.yahoo.com/dir/?link=list&sid=396545433
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/


--
Greg Wilkins<[hidden email]>                       US:  +1  3104915462
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jetty-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-discuss