This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Nikhil Sagar
Ranch Hand
Posts: 216
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting this error
under linux. any idea why ??
 
Alex Belt
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!