Skip to content.

plope

Personal tools
You are here: Home » Plope Software » Plope Software Collector » Lines emitted after a stop is sent are lost
 
 
Views
Issue 271 of Plope Software Collector [Plope]
Title: Lines emitted after a stop is sent are lost
Status: Pending Security related: No
Description: After sending a stop signal to a process of mine monitorized by the supervisor, this process is designed to capture the HUP signal and emit a couple o...
From: faltet on: Jun 11, 08 07:09
faltet Last update: ~
Topic/class: supervisor/bug Importance: medium
Version info: supervisord 3.0a6 python 2.5
Issue 271 Transcript
1 entry
= Request - Entry #1 by faltet on Jun 11, 2008 7:09 am

After sending a stop signal to a process of mine monitorized by the supervisor, this process is designed to capture the HUP signal and emit a couple of lines to the stdout. I've checked that this works as intended in standalone mode, but the supervisord logs doesn't register those lines.

FWIW, I'm using the signal.signal(signal.SIGTERM, handle_termination) in order to capture the HUP signal.

I think this could be a problem in SV breakening the stdout/stderr channels too early.