Skip to main content

Glassfish Hang

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
5 replies [Last post]
kbsangha
Offline
Joined: 2008-10-15

Hi - We have had this issue of GF hanging after a few days and it becomes compltetely unresponsive. We don't see any memory buildup/leak and have verified the heap dumps. Fortunately,we were able to get a thread dump this time and any pointers are appreciated.

JVM version - 1.6_0.16
Platform - CentsOS, 32 Bit
GF version -
Version = Sun GlassFish Enterprise Server v2.1.1 Patch19
Command version executed successfully.

Thread dump is attached.

Thanks,
Kanwar Sangha

AttachmentSize
vtcdecms.txt95.86 KB

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
amsash
Offline
Joined: 2013-04-16

Hi,

Please check the below points when GF is hanging and respond the questions.

1)Check the total connections for the port 8080.
2)Once GF goes to hanging state, are u restarting the GF?
3)During hang state. is the server log rolling?
4)Are u running GF in VM. If VM pls share the config.

kbsangha
Offline
Joined: 2008-10-15

1)Check the total connections for the port 8080.
[Around 140]. We had upgraded to a new grizzly version (grizzly-framework-http-1.0.45.jar) after finding a bug in grizzly for http conn hang.

2)Once GF goes to hanging state, are u restarting the GF?
[Yes}

3)During hang state. is the server log rolling?
[No] , no logs , nothing. it stops writing any logs.

4)Are u running GF in VM. If VM pls share the config.
[No VM].

amsash
Offline
Joined: 2013-04-16

1)what is your physical RAM size
2)what is your PermSize and MaxPermSize (RAM dedicated for GF)
3)how many apps have u deployed.
4)before hang state do u get msg like "Long running process detected please wait"

kbsangha
Offline
Joined: 2008-10-15

1)what is your physical RAM size
[32 GB]
2)what is your PermSize and MaxPermSize (RAM dedicated for GF)
[1024 GB]
3)how many apps have u deployed.
[One]
4)before hang state do u get msg like "Long running process detected please wait"
[No]

kbsangha
Offline
Joined: 2008-10-15

anyone ???