dev@glassfish.java.net

File Descriptor leak?

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Thu, 17 Aug 2006 10:23:58 -0700

There's a thread on serverside,
http://www.theserverside.com/news/thread.tss?m=c.reply&thread_id=41748#215840

where a user says:

Are they using it on Linux server ? SJAS is not "rocket solid" at all,
it's leaking file descriptors as a sieve. All versions 8.x are affected.
We tried Glassfish as well, but it had the same problem. It's very easy
to reproduce it - just install SJAS or Glassfish and open admin console.
Every time a page is accessed the number of open file descriptors are
increased. In production after some time the server drains all file
descriptors and it fails with IO exception "too many file descriptors".


I just got done talking with Greg Murray, he says he's seeing this too
on his web-facing app.

Could someone check this out? Sounds like a serious bug... (Note that
other folks have also replied saying they haven't seen it... So may be a
specific configuration issue)

Jim