Nailgun server sometimes refuses to exit or release resources
-------------------------------------------------------------

                 Key: JRUBY-3983
                 URL: http://jira.codehaus.org/browse/JRUBY-3983
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
         Environment: WinXP with JVM 1.6, Leopard on PPC with JVM 1.5
            Reporter: Ian Dees
            Assignee: Thomas E Enebo
            Priority: Minor
             Fix For: JRuby 1.4


Pressing {{Ctrl-C}} to interrupt a Nailgun client running a Cucumber test or 
Sinatra app will exit the client and return to the shell, but the {{jruby 
--ng-server}} instance does not seem to "get the message."  With Cucumber, the 
test keeps right on running.  With Sinatra, the "ended his set" message prints 
in both the client and server terminals, but the app does not actually exit: it 
still has the TCP port tied up, and still responds to HTTP requests.  Perhaps 
there's an app hook like {{at_exit}} or a signal catcher that has weird 
semantics under Nailgun.

In what seems to be a related issue, a {{jruby --ng-server}} instance will 
sometimes refuse to respond to {{Ctrl-C}}, even when there are no clients 
connected.  The process has to be manually killed through the OS.

-- 
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