0

Recently , I upgraded my JBOSS from version 6 to 8.2.0 (Wildfly). After the upgrade , I can see the following logs in server startup :

WARN [org.jboss.as.warn.fd-limit] (main) JBAS015972: The operating system has limited the number of open files to 1024 for this process; a value of at least 4096 is recommended

If I understand correctly, Wildfly Jboss recommends the number of open file count to be set to 4096. Does this also indirectly mean Wildfly Jboss will be opening up more files than the earlier versions?

Dalu
  • 172
  • 3
  • 18

1 Answers1

1

File descriptors are also used for sockets. While you might think 1024 is a lot of files if you consider all the open sockets, all the JAR's the JVM has open, all JAR's WildFly has to open, etc. you can see where it would add up fairly quickly.

James R. Perkins
  • 16,800
  • 44
  • 60
  • I can see open file issues after Jboss upgrade sometimes, so was looking out for some pointers on whether Jboss really is opening up more files ? – Dalu Sep 05 '16 at 06:03
  • Itis actually opening less than AS6 did. But warning was added as general guideline – Tomaz Cerar Sep 05 '16 at 09:35
  • It's not opening that many files. On a default install of WildFly 10 I've got it using 801 file descriptors. You can use `ps -a -p ` to see all the files and sockets that are open. – James R. Perkins Sep 06 '16 at 15:26