[infinispan-dev] Classloader leaks?

Dan Berindei dan.berindei at gmail.com
Wed Feb 22 15:09:12 EST 2017


I've been running with an limit of 10240 file descriptors for a while
now, and I've never had problems (unless you count the time I upgraded
gnome-terminal and it started ignoring my /etc/security/limits.conf).

The CI agents also run the full build with a 9999 file descriptors limit.

Dan

On Wed, Feb 22, 2017 at 9:25 PM, Sanne Grinovero <sanne at infinispan.org> wrote:
> Hi all,
>
> our documentation suggest to raise the file limits to about 16K:
> http://infinispan.org/docs/stable/contributing/contributing.html#running_and_writing_tests
>
> I already have this setup since years, yet I've been noticing errors such as:
>
> "Caused by: java.io.IOException: Too many open files"
>
> Today I decided to finally have a look, and I see that while running
> the testsuite, my system's consumption of file descriptor raises
> continuously, up to more than 2 millions.
> (When not running the suite, I'm consuming 200K - that's including
> IDEs and other FD hungry systems like Chrome)
>
> Trying to get some samples of these file descriptors, it looks like
> it's really about open files. Jar files to be more precise.
>
> What puzzles me is that taking just one jar - jgroups for example - I
> can count 7852 open instances of it, but distributed among a handful
> of processes only.
>
> My guess is classloaders aren't being closed?
>
> Also: why did nobody else notice problems? Do you all have
> reconfigured your system for unlimited FDs?
>
> Thanks,
> Sanne
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


More information about the infinispan-dev mailing list