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
- Get FileNotFoundException in EAR on Glassfish
- JBoss 4.x to Glassfish 2022 and Java 6 to Java 8 causes 1 non-XA Resource Exception
- Not able to change the logging level log4j on Payara server
- GlassFish Server, deploy, null, false build-impl.xml:1072: The module has not been deployed. See the server log for details
- Glassfish 7.0.12 adds question mark to URL when running JAVA EE Application
- ModelValidationException in JAVA Jersey
- I'm not able to start jetty server
- Automating Glassfish Server during Apache Netbeans installation
- GLASSFISH CONNECTION TO DATABASE
- Glassfish JDBC Connection Pool: don't connect to MySQL
- Jaxb2RootElementHttpMessageConverter throws jakarta.xml.bind.MarshalException: null at org.glassfish.jaxb.runtime.v2.runtime.MarshallerImpl.write
- Glassfish6 WAR Module Doesn't Boot as ejb,web,webservice despite having @WebService Annotation
- What could be causing an invalid URLPatternSpec exception on glassfish 7 and how do I fix it?
- Monitoring HTTP Listeners in Glassfish 4 via JMX
- GlassFish deleted Documents
Related Questions in JAVA-METRO-FRAMEWORK
- javax.xml.ws.WebServiceException: Provider com.sun.xml.internal.ws.spi.ProviderImpl not found (ZULU 11)
- Looking for an example @WebService that exclusively jakarta.*
- Springboot 3.1.0 support for Metro JAX-WS framework
- java.lang.IllegalStateException: Cannot create communicator instance: JAXB context has not been set
- How to swith a SOAP web service from JDK-based jax-ws implementation to the Metro?
- Why only part Metro Framework packages / artifacts renamed to jakarta and most stay in com.sun.xml?
- METRO SOAP web services not working with Tomcat 9 and Java 11
- JAX-WS in Java 11 and missing class WebParam$Mode
- Can you change the SecurityTokenService's AlgorithmSuite programmatically?
- Add external file to payara micro application classpath
- Illegal reflective access by Metro jar
- Out of memory react native metro bundler
- Tomcat occasionally returns a response without HTTP headers
- Where is wsimport after Java 11
- Metro UI C#: How do you make a form within a form?
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?
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)