daltonmatos/wsgid — Issue #22: Wait some time before respawning more wsgid instances
Author: daltonmatos
Created: 2011-11-04 13:38:33+00:00
State: open
Labels: bug

If a new instance of wsgid returns immediatelly after being started, the master process will immediately start a new instance, and this infinite loop will continue eating all CPU available.

The ideia is to wait some time before starting a new instance. The ideal situation would be where wsgid "knows" when an instance exited "too fast". Maybe 10 seconds?

Wsgid must save the datetime of each instance start time and calculate for how long it was running when this instance exited.