Hi Vinod,

On 4/25/07, Vinod Panicker <[EMAIL PROTECTED]> wrote:
Hi,

I think we've already got a lot of issues on the list regarding OOM
errors.  In reality, every server needs to be able to manage I/O
efficiently to avoid high memory utilization, which ultimately results
in an OOM.

What can be done?  MINA Connectors and Acceptors need to have the Read
and Write throttle filters by default.  Once the specified buffer size
per session / overall has been exhausted, MINA needs to shift into
blocking mode to avoid an OOM on the server.

Very true.  I agree with you absolutely.  I think we need to
incorporate this feature into the Acceptor / Connector
implementations.  We could add some hook methods to
AbstractIoFilterChain, but I didn't try it yet.  (probably after honey
moon ;)

BTW, the WriteThrottleFilter contributed in DIRMINA-132 has some
issues, which we have fixed and will be contributing soon.

Great!

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to