Is there a way to find out which application in glassfish is creating more file descriptors ?

Hi All


We are using glassfish (build 5) to deploy 7 or 8 applications. In one such deployment we are seeing high number of file descriptors for glassfish. This number is between 5k to 10k. Once the file descriptor count reaches this count, the count will not come down. To see what exactly these file descriptors are pointing to, we took pfiles output of glassfish pid. What we saw are many number of extent files in glassfish transaction directory. i.e /opt/glassfish3/glassfish/domains/domain1/logs/server/tx/.

Now, we know about default value of keypoint-interval being 65536 [ This should have been 2048 ] in glassfish 3 and its effect on number of extent files.

What we want to know is :

Can we enable some sort of logging in glassfish and find out who is creating more number of transactions and indirectly these extent files ?

Happens Intermittently.


Environment Details

  • GlassFish Version (and build number): GlassFish Server Open Source Edition (build 5)
  • JDK version:

java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode)

  • OS: Oracle Solaris 11.3 X86
  • Database: NA




Suresh Amoghavarsha

Phone: +91 7406577007


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
This email has been scanned by the Symantec Email service.
For more information please visit