Michael,

Are you running Inline::Java 0.49_92? There is a fix in there that solved
a bug with a socket that was not closed properly in SHARED_JVM mode.

That meant that after a certain number of connections (say around a few 
thousand), the JVM would run out of file descriptors and refuse all newer
connections. That looks a lot like what you describe.

I would recommend upgrading to 0.49_92 and see if that fixes your problem.
Here's a diff if you don't want to upgrade to a devel version (although I would 
recommend it since it's only bug fixes):

*** Java/sources/org/perl/inline/java/InlineJavaServerThread.java 30
Nov 2003 21:48:08 -0000      1.1
--- Java/sources/org/perl/inline/java/InlineJavaServerThread.java 17
Apr 2005 02:29:22 -0000
***************
*** 54,59 ****
--- 54,60 ----
                                       bw.flush() ;
                               }
                               else {
+                                       client.close() ;
                                       break ;
                               }
                       }




On 5/31/05, Michael Peters <[EMAIL PROTECTED]> wrote:
> Patrick LeBoutillier wrote:
> > On 5/31/05, Patrick LeBoutillier <[EMAIL PROTECTED]> wrote:
> 
> > and what platform/OS are you running on?
> 
> Linux RHEL 3.0
> 
> --
> Michael Peters
> Developer
> Plus Three, LP
> 
> 


-- 
=====================
Patrick LeBoutillier
Laval, Québec, Canada

Reply via email to