users@glassfish.java.net

Re: Application using HTTPS hang periodically

From: <glassfish_at_javadesktop.org>
Date: Tue, 04 Mar 2008 08:00:50 PST

Ok, I shall send it when it will appear.

We have added following JVM options while resolving these problems:

<!-- this is to prevent the java.lang.OutOfMemoryError: PermGen space during deployment-->
<jvm-options>-XX:MaxPermSize=256m</jvm-options>
<!-- -->
<!-- additional jvm options to fix file descriptor leak due to sockets not being closed (bug#:6321777) -->
<jvm-options>-server</jvm-options>
<jvm-options>-Dcom.sun.enterprise.web.connector.grizzly.useKeepAliveAlgorithm=true</jvm-options>
<jvm-options>-Dcom.sun.enterprise.web.connector.grizzly.socketSoTimeout=30000</jvm-options>
<jvm-options>-Dcom.sun.enterprise.web.connector.grizzly.maxKeepAliveRequests=250</jvm-options>
<jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>
<!-- end of additional jvm options -->
[Message sent by forum member 'mikamj' (mikamj)]

http://forums.java.net/jive/thread.jspa?messageID=262204