Remote stop and abort

Neptune allows you to send a Remote stop or Remote abort request an active run. To do that simply click on the status icon next to a run you want to send the signal to.

The signal will be sent to all processes that have an active connection to the run. The exact behavior depends on whether the psutil library is installed on the machine running the process.

  • If psutil is installed, the current process and its children are aborted by sending SIGTERM, if, after the grace period, processes are not terminated, SIGKILL is sent.

  • If psuitl is not installed we make the best effort to stop the process (invoking os.exit() etc.), but it's not guaranteed to work in every environment.

In the case of Remote abort in addition to the signal being sent, the Failed status of the run is set to True.

Remote stop and Remote abort require Neptune client library to be at least version 0.9.7. If you plan on using this functionality make sure to upgrade the library before starting the run. Simply run in your environmentpip install --upgrade neptune-client.

‚Äč