#4 Server subprocess hanging when server killed manually

Server (62)

In JPPF 0.11.0, the server is created as a subprocess
of a server launcher. When I kill the launcher, by any
mean other than the JPPF API (i.e. by sending a
shutdown request or using the monitoring/admin GUI),
the server subprocess keeps running. For example: when
I run the server from Eclipse and decide to kill from
the IDE.

The impact is that the TCP ports it is bound to are not
freed, and restarting the server does not work anymore.


  • Laurent Cohen

    Laurent Cohen - 2006-02-22

    Logged In: YES

    The issue seems to be solved by having the driver listening
    to a socket connection opened by the launcher.
    When the launcher dies, the connection is broken. The driver
    then catches the resulting exception and exits properly.

    I'll do some more testing, to confirm this issue is
    resolved, before closing it.

  • Laurent Cohen

    Laurent Cohen - 2006-02-22
    • assigned_to: nobody --> lolocohen
    • status: open --> pending
  • Laurent Cohen

    Laurent Cohen - 2006-02-23

    Logged In: YES

    After more testing, I have confirmation the fix is now
    working: whenever the launcher dies unexpectedly, the driver
    subprocess is killed in its wake.
    This includes when the launcher is terminated through
    Eclipse, Ctrl-C, the task manager on Windows, or a kill
    <pid> on Linux
    Will be available in release 0.11.1

  • Laurent Cohen

    Laurent Cohen - 2006-02-23
    • status: pending --> closed-fixed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks