Hi,
Already tried. I removed my ProtocolCodecFactory since I just have to
handle ByteBuffer as-is, so I'm trying everything I have to reduce
overhead.
And sometimes the server just quit. I put try/catch blocks everywhere,
but the server quits with no exception at all. I searched the directory
for hs_err*.. files generated by the jvm's crash, but couldn't find any.
There is a problem running this code in the same block?
---- cut here
socket = new InetSocketAddress( port );
socketUDP = new InetSocketAddress( port );
ServerSessionHandler serverTCP = new ServerSessionHandler(datasource,
utils, "TCP");
ServerSessionHandler serverUDP = new ServerSessionHandler(datasource,
utils, "UDP");
acceptor = new SocketAcceptor();
acceptor.bind(socket,serverTCP);
acceptorUDP = new DatagramAcceptor();
acceptorUDP.bind(socketUDP,serverUDP);
---- cut here
Maybe that's why I'm having problems.
Thanks,
Luciano
-----Mensagem original-----
De: Trustin Lee [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 15 de maio de 2006 05:31
Para: [email protected]
Assunto: Re: Handle many keep-alive clients and running slow code
On 5/13/06, Luciano Macedo Rodrigues <[EMAIL PROTECTED]> wrote:
>
> Hi Peter,
>
> I'm using mina-0.9.3.
Could you please try again with 0.9.4?
Thanks in advance,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41 4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4 455E 1C62 A7DC 0255 ECA6