Too many open files error with Netty

Albert Strasheim fullung at gmail.com
Tue Oct 27 06:37:47 EDT 2009


Hello,

2009/10/27 Trustin Lee (이희승) <trustin at gmail.com>:
> Sounds like you are not getting the 'too many open files' error
> anymore.  Could you confirm it?

That is correct.

> Do you get OutOfMemoryError in the end or is it just working fine?  I
> do see saw-toothed patterns in the memory graph, but I never got an
> exception so far.  If the connection rate is high, GC will be busy,
> but I'm not sure it will slow down the application seriously.
> Additional information is appreciated.

When the maximum number of 10000 connections is active, about a
hundred sessions are completing per second. But when it reaches about
25000 connections in total, I don't get OutOfMemoryError, but the
application basically stops and just spends all its time GCing.

Regards,

Albert



More information about the netty-users mailing list