Glassfish Hang - Daily
We develop a Hospital Information System that manage patient registration, appoinment and billing. Currently we have deploy our system in 3 hospital and we got problem where we have to restart glassfish server on daily basis to avoid glassfish from getting hang.
Below is some information about our configuration and server :
OS : Red Hat Enterprise Linux 5.3 kernel 22.214.171.124.el5
Apps Server : Sun Glassfish Enterprise Server v2.1
RAM : 16GB
JVM Setting :
I also attach some snapshot from the server itself during hang happen. In the early stage of system going live we already come across this problem plus outofmemory error and already report it to local sun support and I also asked opinion from some java expert in my office. What they suggest just to increase the -Xms and -Xmx from 2G to 8G plus some other changes to jvm setting.
For me this is not a good suggestion and it will help us for temporary only. As I told you this thing already happen again. What I suspect is some serious memory leaks from the application itself (you can see in the attach files). I think the -Xms and -Xmx already high enough.
Additional info :
Our system run on office hour basis 9am to 6pm only. The screenshot is from 2 different sites.
My question :
1. Is the 8GB setting for jvm is normal for java application? (8GB for 1 site, another 2 site is using 12GB ; other setting would be the same)
2. What your opinion/suggestion for our problem.
3. If you think it is memory leaks, how can I proof it to the development team?