I still dont know why our glassfish application is so slow after a period of time. Maybe its about java garbage collector or something. I’m using glassfish server 3.1 for my Doc doku PLM Application. In case your glassfish application is slowing down, try to restart glassfish domain:
Go to your glassfish bin path (your path maybe different), run asadmin in console.
# /home/user/glassfish/glassfish/bin/asadmin
Type in asadmin console command, replace domain1 with your application domain_name
asadmin> stop-domain domain1
asadmin> start-domain domain1
Or you can restart the domain
asadmin> restart-domain domain1
Waiting for the domain to restart ...........
Command restart-domain executed successfully.
As an alternative you can also restart the domain via glassfish admin console with web browser
http://yourserverip:4848/__asadmin/restart-domain
Hopes you solve your server sluggish performance, I’ll try to troubleshoot the log what the cause of this problem was..
dattebayo..