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)
Friday, February 03, 2006
Subscribe to:
Post Comments (Atom)
Popular Posts
- Linux Forum: Apache, Webmin and Mandrake - Linux Operating System Help
- Yahoo! Mail: Revenge of the Oddpost
- Free AS400 & iSeries Software Tools & Utilities Downloads
- Recover or reset QSECOFR passwords
- Creating an as400 Query
- UDATE and *DATE in AS400 RPG
- Basic Requirements of a JavaServer Faces Application
- iReport - OpenSource Java Reporting Tool
- Fast-track your Web apps with Ruby on Rails
- IBM eServer iSeries - The Laughing Boardroom
No comments:
Post a Comment