File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes org.apache.tomcat.jni.Error: 24: Too many open files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "org.apache.tomcat.jni.Error: 24: Too many open files" Watch "org.apache.tomcat.jni.Error: 24: Too many open files" New topic
Author

org.apache.tomcat.jni.Error: 24: Too many open files

Nikhil Sagar
Ranch Hand

Joined: Apr 21, 2012
Posts: 216

i am getting this error
under linux. any idea why ??


OCPJP 6 86%
Alex Belt
Ranch Hand

Joined: Jul 12, 2001
Posts: 57
This is actually an operating system issue. Linux treats everything as a file - if there are too many connections open on the machine, you'll get that message. Have your sys admin look at the max number of open file handles on the system to make sure it isn't set too low. Also, make sure you aren't opening system resources like Sockets and the such and failing to close them - poor programming practices can cause that error as well.

HTH,
Alex
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.apache.tomcat.jni.Error: 24: Too many open files
 
Similar Threads
Java.io.IOException too many open files
opening a file for relatively long time
java IOEXCEPTION:too many open files
java.net.SocketException: Too many open files
Too many open files error