Skip to content

Supervisor spontaneously shuts down workers #136

Description

@danielwhite

I'm running a loopback application using strong-supervisor under the following conditions:

  • strong-supervisor: 2.0.0
  • Node: 0.10.36
  • CentOS 6
  • ESX Virtual Machine

The supervisor is being started through an init script that starts it with the following line:

start() {
  ... check for already running process ...

  daemon --check "$NAME" --user $USER --pidfile $PIDFILE "DEBUG=${DEBUG} sl-run --detach --cluster cpu --pid $PIDFILE  --log $LOGFILE --control $CTLFILE $APPLICATION_START"
}

Everything runs as expected, but after a few days I'm seeing the supervisor shut down without any operator initiating it (as far as my other logs go):

2015-06-09T08:25:41.152Z pid:28720 worker:0 INFO supervisor size set to 0
2015-06-09T08:25:43.080Z pid:28720 worker:0 INFO supervisor stopped worker 2 (pid 28732)
2015-06-09T08:25:43.089Z pid:28720 worker:0 ERROR supervisor worker id 2 (pid 28732) expected exit with 2
2015-06-09T08:25:44.079Z pid:28720 worker:0 INFO supervisor stopped worker 1 (pid 28730)
2015-06-09T08:25:44.083Z pid:28720 worker:0 INFO supervisor resized to 0
2015-06-09T08:25:44.105Z pid:28720 worker:0 ERROR supervisor worker id 1 (pid 28730) expected exit with 2

At this point, I'm running it with debug logging enabled, hoping it happens again.

In the meantime, any ideas what might be the culprit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions