Too many open files error with Netty

Trustin Lee (이희승) trustin at gmail.com
Tue Oct 27 06:20:20 EDT 2009


2009/10/27 Albert Strasheim <fullung at gmail.com>:
> Hey Trustin
>
> On Tue, Oct 27, 2009 at 11:37 AM, Trustin Lee (이희승) <trustin at gmail.com> wrote:
>> FYI, you can get the snapshot here -
>> http://hudson.jboss.org/hudson/job/netty/324/
>
> Thanks. Very useful. :-)
>
>> On Tue, Oct 27, 2009 at 6:30 PM, Trustin Lee (이희승) <trustin at gmail.com> wrote:
>>> Could you try r1846?
>
> The ConcurrentModificationException seems to be fixed, but if I run
> TooManyFiles with -Xmx256m -Xms256m, it gets to about 38000
> connections and then the garbage collector starts thrashing.

Sounds like you are not getting the 'too many open files' error
anymore.  Could you confirm it?

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.

Thanks

-- Trustin Lee, http://gleamynode.net/



More information about the netty-users mailing list