Leaking file handles/sockets on http calls
------------------------------------------

                 Key: JRUBY-5770
                 URL: http://jira.codehaus.org/browse/JRUBY-5770
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6.1
         Environment: observed on MacOS, Ubuntu and CentOS with JRuby 1.5.6 and 
1.6.1
            Reporter: Puneet Goyal
            Assignee: Thomas E Enebo
         Attachments: jruby_failing_test.rb, ruby_passing_test.rb

*Short version*

It seems to be a reoccurrence of http://jira.codehaus.org/browse/JRUBY-4767

*Longer Version*

We are developing a JRuby 1.6.1 app, which gets warified and deployed on 
tomcats running on CentOS boxes. We are observing that the container process 
for jruby runs out of file descriptors every once in a while. It holds onto to 
several descriptors such as - 

??java    5699 tomcat  159r  0000               0,11        0 44508054 
eventpoll??
??java    5699 tomcat  160r  FIFO                0,6          44701801 pipe??
??java    5699 tomcat  161r  FIFO                0,6          44519395 pipe??

We are able to recreate the problem using just a simple HTTP GET using JRuby 
(jruby_failing_test.rb). The same when done using MRI works without any problem 
(ruby_passing_test.rb).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to