|
Home > Archive > Apache Directory Project > November 2005 > [MINA] Problems with SocketIoProcessor and IoThreadPoolFilter
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[MINA] Problems with SocketIoProcessor and IoThreadPoolFilter
|
|
| Emir Rodriguez 2005-11-03, 5:45 pm |
| Hello,
I'm using mina 0.9 snapshot, and i have the same
problem that was published by another person in the
mailing list, respect to the exception that throw the
SocketIoProcessor when a moderate load is under Mina.
Exception in thread "SocketIoProcessor"
java.nio.channels.CancelledKeyException
INFO | jvm 1 | 2005/11/03 08:13:37 | at
sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:59)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor. notifyWriteTimeoutSession(SocketIoProces
sor.java:381)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor.notifyIdleSession(SocketIoProcessor.java:358)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor.notifyIdleSessions(SocketIoProcessor.java:339)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor.access$5(SocketIoProcessor.java:320)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:548)
I dont know if this could happen, because i add some
para meters to configuring my server and clients, like
IdleTime and WriteTimeOut, and the time that the
IoThreadPoolFilter hold a thread live (keepTimeAlive).
When this happen (the error), i try to pass to a
stable version of mina (0.8), but a receive the same
error, with an intervale of time different (bigger).
Thank you very much,
Emir Rodriguez.
________________________________________
___________________
Do You Yahoo!?
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx
| |
| Trustin Lee 2005-11-04, 2:45 am |
| Hello Emir,
2005/11/4, Emir Rodriguez <emirrodriguex2-/E1597aS9LQGXtTpemXPTA@public.gmane.org>:
>
> Hello,
> I'm using mina 0.9 snapshot, and i have the same
> problem that was published by another person in the
> mailing list, respect to the exception that throw the
> SocketIoProcessor when a moderate load is under Mina.
I checked in the fix both to branches/0.8 and trunk. Please test again and
let me know if the problem persists.
Thanks for the heads up,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
|
|
|
|
|