imap close_wait socks.
I wrote a JSP Web Mail application that is hosted on Apache 1.3.14 and Tomcat 3.2.1. The server is RH 7.1 Linux. I am using JavaMail API to handle the email part of the system with IMAP server running with Postfix.
After sometime I notice, using netstat -a, that there are so many imap socks waiting in the close_wait state.
If I shut down Tomcat and start it again the socks go away.
I thought it was a Tomcat issue, so I asked on Jakarta dev. list, but was told it has to be a JavaMail/JSP issue, in other words my application. I posted the same question on JGuru and someone that one of you guys, the JavaMail Engineers might be able to find a solution.
Is there a solution? I hate to keep restarting the server, especially it is a production web server.
Thanks.
Please if you have an answer write to LuminousHeart@yahoo.com
I appreciate your help.

