envato / event_sourcery

A library for building event sourced applications in Ruby
MIT License
84 stars 10 forks source link

Signaltrap forked subprocess #76

Closed mjward closed 8 years ago

mjward commented 8 years ago

Payables was getting zombie processes when killing the main processes. This keeps track of the forked process pids and traps SIGTERM, and explicitly sends a SIGTERM down to the child process.

Tested locally with OSX and on AWS with Ubuntu.

jiexinhuang commented 8 years ago

👍

mjward commented 8 years ago

@createdbypete had planned to :)