unintentionally starting extra processes
$ initctl --version
initctl (upstart 0.6.5)
I have this config placed in /etc/init/god.conf
start on runlevel [2345]
stop on runlevel [06]
exec /usr/bin/god -c /etc/god/god.conf
respawn
After rebooting there's always several god processes started:
$ ps aux|grep god
root 2700 0.0 7.5 78472 19076 ? S 05:40 0:00 /usr/bin/ruby /usr/bin/god -c /etc/god/god.conf
root 2723 0.0 7.4 78464 18808 ? S 05:40 0:01 /usr/bin/ruby /usr/bin/god -c /etc/god/god.conf
root 2729 0.0 0.0 0 0 ? D 05:40 0:00 [god]
root 2776 0.0 7.4 78468 18812 ? S 05:40 0:01 /usr/bin/ruby /usr/bin/god -c /etc/god/god.conf
root 2791 0.0 0.0 0 0 ? D 05:40 0:00 [god]
rails 2916 0.0 0.2 6152 664 pts/0 S+ 06:00 0:00 grep --color=auto god
If I kill them all off and run 'start god' upstart will start 5-6 processes initially and if I check a few moments later it'll be down to two, occasionally 1. Either way it's starting way too many processes.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- upstart Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: