We are running a glassfish server with around 20 jax-ws metro web services. The server specs are Core2Duo with 8GB RAM. We are using a single http listener for all the web services. Development is set to True. Request Thread Count is 2 and Acceptor Count is 1. The Minimum and Maximum Heap Sizes are 1GB and the Perm Gen is set to 512MB. The services access an Oracle database via a Hibernate layer and there are many interservice calls between the services. The front end is ASP.Net. Our problem is that when 4-5 users try to access the application simultaneously for some time (1 hour) the glassfish server hangs with the CPU going to 100% but the memory utilization is around 10-11%. We are not able to find any pointers as to how to debug this problem. On some instances the log file gives java.lang.OutofMemory Exception : PermGenSpace. But this is also not everytime, i.e. on many occassions the log file does not give any error on hanging. Also the glass fish server does not start if we try to increase the Perm Gen Space. We need some direction on how to diagnose and move towards the solution to this problem. The Glass Fish Version we are using is v2.1. We have the following observations: 1. Adding more http listeners (1 listener per 4-5 services) does prolong the failing time but not with much effect. 2. When calling some of the heavy services (one by one operation) with SOAP-UI we also get the hang problem when running many threads simultaneously. (e.g. 8-10 threads) 3. We have observed that when calling with SOAP-UI a service operation (which does not call any other services) rarely hangs while a service calling other services hangs much frequently.
Help analyzing glassfish server hang problem
1.4k views Asked by user398039 At
0
There are 0 answers
Related Questions in GLASSFISH
- Simple JavaEE HTML GET/POST application
- Access roles from multiple applications
- GlassFish sometimes doesn't load my web apps
- How to configure custom access-log format for Glassfish-4.1 (worked in v3.1.2.2, ignored in v4.1)
- File upload via h:inputfile (prettyfaces) does not work
- java 8 with Glassfish 4.1 Artifact HelloWorld:war exploded: Server is not connected. Deploy is not available
- Why won't my JSF app deploy to GlassFish?
- Best way redirect REST service request on glassfish + JAX-RS to https URL?
- JCA Glassfish to JBoss/Wildfly
- Ajax h:link doesn't call listener function
Related Questions in JAVA-METRO-FRAMEWORK
- How to create Metro Soap Client Service in Spring
- Change the STS server programmatically in a METRO SOAP Client
- SOAP Exception while invoking the service through proxy
- Visual Studio cannot consume Web Service containing UsernameToken policy
- How Do I Disable Metro On Glassfish?
- spring / metro / webservice problem
- Using WS-Security with JAX-WS
- JAXB in java 1.6_03 vs java 1.6.0_13 and above
- Why does JAXB 2 RI's XJC simple mode change collection names?
- Help analyzing glassfish server hang problem
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)