Open koudelka opened 12 years ago
I'm seeing this also. The net effect is that the pid files either don't exist or the pids are wrong. Either way, this bug breaks the cli functionality.
I wouldn't be surprised if it were becoming defunct given the latest API. http://nodejs.org/docs/latest/api/cluster.html
Previously, if workers came online before mkdir callbacks fired, their corresponding worker-started callbacks would never run. (no pidfiles or no log files).
I've made the mkdir call synchronous, which shouldn't be a problem as it's called during startup.