Too many open files error with Netty

Albert Strasheim fullung at gmail.com
Tue Oct 27 08:11:16 EDT 2009


Hello Trustin

2009/10/27 Trustin Lee (이희승) <trustin at gmail.com>:
> To reduce overall memory consumption, I decreased the write buffer water marks:
>        clientBootstrap.setOption("writeBufferHighWaterMark", 4096);
>        clientBootstrap.setOption("writeBufferLowWaterMark", 1024);
> The defaults are 64K and 16K respectively, which is too much in this case.
> After reconfiguration, memory utilization looks much better - no more thrashing.

Thanks very much! It looks like all our problems have been resolved.

Cheers

Albert



More information about the netty-users mailing list