RE: NIO Client Sockets

2013-10-08 Thread Steve Ulrich
IoSession session = future.getSession(); > }catch(Exception e) { e.printStackTrace(); } > > the MinaClientHandler_executor will send a command to the device and > download the data.But at any instant. But when i run the above program > with 1000 connect

Re: NIO Client Sockets

2013-10-07 Thread kishore
I have 32 cores and 48GB ram with windows 2008 operating system and jdk 1.6_38 when i monitor the application it is not using even 15% of the resources -- View this message in context: http://apache-mina.10907.n7.nabble.com/NIO-Client-Sockets-tp40029p40033.html Sent from the Apache MINA

Re: NIO Client Sockets

2013-10-07 Thread Emmanuel Lécharny
Le 10/7/13 2:56 PM, kishore a écrit : > Yes i am running an application with a static block as shown below > > static{ > connector = new NioSocketConnector(); > connector.getFilterChain().addLast("codec",new > ProtocolCodecFilter(new > TextLineCodecFactory(Charset.forName("UTF

Re: NIO Client Sockets

2013-10-07 Thread kishore
code. -- View this message in context: http://apache-mina.10907.n7.nabble.com/NIO-Client-Sockets-tp40029p40031.html Sent from the Apache MINA Developer Forum mailing list archive at Nabble.com.

Re: NIO Client Sockets

2013-10-07 Thread Emmanuel Lécharny
Le 10/7/13 2:00 PM, kishore a écrit : > Hi, > > I need to open 1 thousand concurrent tcp/ip connections to the remote > devices and download some data.This job must be scheduled every 15 > minutes.The data size will be nearly 1 to 2MB. Can you please help me with > an example of how to open concurr

NIO Client Sockets

2013-10-07 Thread kishore
. -- View this message in context: http://apache-mina.10907.n7.nabble.com/NIO-Client-Sockets-tp40029.html Sent from the Apache MINA Developer Forum mailing list archive at Nabble.com.

Re: NIO Client Sockets No Buffer space error

2013-10-02 Thread kishore
message in context: http://apache-mina.10907.n7.nabble.com/NIO-Client-Sockets-No-Buffer-space-error-tp39978p39986.html Sent from the Apache MINA Developer Forum mailing list archive at Nabble.com.

Re: NIO Client Sockets No Buffer space error

2013-10-02 Thread Jeff MAURY
> running into this issue. > > Can you helo me in resolving this isse? > > > > -- > View this message in context: > http://apache-mina.10907.n7.nabble.com/NIO-Client-Sockets-No-Buffer-space-error-tp39978p39982.html > Sent from the Apache MINA Developer Forum mailing

Re: NIO Client Sockets No Buffer space error

2013-10-02 Thread Emmanuel Lécharny
Le 10/2/13 1:11 PM, kishore a écrit : > I have 40GB RAM and 32 cores installed on my system but only 5% of the > resources are being using before i get this error.I am using windows 2008 > Enterprise edition > I run netstat command after this and i found that for each request a > loopback connectio

Re: NIO Client Sockets No Buffer space error

2013-10-02 Thread kishore
which i am running into this issue. Can you helo me in resolving this isse? -- View this message in context: http://apache-mina.10907.n7.nabble.com/NIO-Client-Sockets-No-Buffer-space-error-tp39978p39982.html Sent from the Apache MINA Developer Forum mailing list archive at Nabble.com.

Re: NIO Client Sockets No Buffer space error

2013-10-02 Thread Jeff MAURY
} catch (Exception e) { > failure++; > System.out.println("Error Opening Socket > ..."+portNumber +"Error :: > "+e.getMessage()); > System.out.println(&q

NIO Client Sockets No Buffer space error

2013-10-01 Thread kishore
System.out.println("Error Opening Socket ..."+portNumber +"Error :: "+e.getMessage()); System.out.println("Sucess ::"+sucess+" failure ::"+failure); } Thread.sle