-
1. Re: "Too many open files"- when under the heavy load of depl
qwang Jul 16, 2002 8:02 AM (in response to qwang)We used Windows Performance Monitor (perfmon command) to monitor the handle counter of the Java process of JBoss. It shows that we deploying and undeploying an EAR file, JBoss does not release all file handles that should be released. When we are repeating deploy-undeploy process on the same EAR file, the handle counter increased steadily until no more file handles left for JBoss to use. At that time, JBoss throws java.io.FileNotFoundException.
I guess that JBoss does not clean out the reference to certain JAR files held after undeployed an EAR file.
This problem could cause live systems to fail frequently.
Any solutions?
We used Windows Performance Monitor (perfmon command) to monitor the handle counter of the Java process of JBoss. It shows that we deploying and undeploying an EAR file, JBoss does not release all file handles that should be released. When we are repeating deploy-undeploy process on the same EAR file, the handle counter increased steadily until no more file handles left for JBoss to use. At that time, JBoss throws java.io.FileNotFoundException.
I guess that JBoss does not clean out the reference to certain JAR files held after undeployed an EAR file.
This problem can cause a system to fail periodically.
Any solutions?
Qingxian