You are suffering from errors like 'too many open files' from time to time? You are using sockets all over the place in your enterprise java application? Then this might be an interessting read if you are running on linux.
Why do we get this error?
This is quite simple, you are using more file resources aka descriptors as the operating system is willing to offer for one process. Suppose you are running your enterprise application inside tomcat, then all applications inside this server can use only some amount of descriptors. I give you an idea what is using a file descriptor in the java server world: each jar file you or the server loads, each socket connection you need, each file you read or write, each font you or the JRE loads, each logfile you need, each shared object the JRE needs. Even without user apps, there is some significant amount of file descriptors open. If you have a high transaction application where each user uses sockets and have some problems with leaking, its just a matter of hours or days when your application breaks and with break i really mean break (mostly its in fact a halt of your app)
- Javalobby - Java J2EE Programming Forums - Coldtags suite 2.1: 210+ custom JSP tags
- SOA: Refactoring Mainframe Applications into Dynamic Web Applications (Part 1)
- as400 Iseries Tips
- Journaling for Performance
- Is it the end for the current crop of web frameworks?
- AS400 APIs
- Wordpress games Google by hosting LinkFarm
- What is QZHQSSRV job?
- Common Gateway Interface (CGI) on the as400 / iSeries
- Trying to find out as400 library size