users@glassfish.java.net

Re: Glassfish hangs after a few days

From: <glassfish_at_javadesktop.org>
Date: Fri, 23 Jul 2010 07:43:02 PDT

We have the same kind of problem. After some time, netstat on our server shows a lot of sockets in CLOSE_WAIT state, and they never go away. All have a non-empty Recv-Q. After a while, the server webapp hangs completely; no more sockets, I guess.

We run Glassfish v2.1 on Linux. The webapp uses HTTPS.
The connection is not terribly fast, and the clients upload images and other data.

Any ideas on how to tackle this?
[Message sent by forum member 'tmpsa']

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