Hi, folks, I got this error often when my Mina-based proxy server is under get lots of requests from clients. And the service my Mina proxy forwards the client to becomes very slow. So I added probes in Mina code and saw this queue.size() grew significantly to > 200K. BTW I use SocketSessionImpl.writeRequestQueue.size() to get the queue size.
Add more computing power solves this problem but something it is not within my control. In general, this kind of problem should happen when the other side Mina is talking to is either too slow or too fast, either the input queue or output queue piles up, right? On the reading side, I put some read throttle filter and it works just fine. On the writing side, I'm trying to do something similar. Not sure if you experienced such issues ever and how you dealt w/ them. Thanks for comments Paul