andrewrk / andrewrk/naught

Naught causing too man fork()'s for Upstart to track

オープン
#50 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
794
フォーク
68
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

I'm consistently seeing Naught run with a PID higher than the one Upstart is trying to track. I have tried both `expect fork` and `expect daemon` and I am seeing Upstart report `start/running, process 3005` but then seeing `start_daemon.js` running with a process ID 2 or 3 higher (in this particular case 3007 with expect fork being used).

I'm using Upstart to start my node app with naught when the system boots. I can post my full upstart conf file if it would help.

If I remove the `start on` from the conf and therefor have to start the service manually it works the first time but then if I do a `service app restart` (or a stop and then a start as separate commands) I end up back on the above pattern.

I appreciate you might not want to get into the vagaries of Upstart but if you have any ideas of what might be causing the behaviour I'm seeing and you can give me a jumping off point I'm happy to do some digging and leg work.

Many thanks for any help or ideas you may have.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。