Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

--kill doesn't work #11

Open
vpuzzella opened this Issue · 1 comment

2 participants

@vpuzzella

Using 2.0.11 (but likely existed earlier). spark2 --kill does not kill the process.

Trying to manually kill the process, only a -9 (SIGKILL) works..

--respawn also does nothing.

vagrant@vagrantup:/vagrant/public/javascripts/AjaxIM/server$ spark2 &
[1] 2605
vagrant@vagrantup:/vagrant/public/javascripts/AjaxIM/server$ ps awlx|grep spark2
0  1000  2605  2199  20   0  44536  8432 ep_pol Sl   pts/0      0:00 node /usr/local/bin/spark2
0  1000  2606  2605  20   0  46244 11172 ep_pol S    pts/0      0:00 node /usr/local/bin/spark2 --child
0  1000  2610  2199  20   0   3320   816 pipe_w S+   pts/0      0:00 grep --color=auto spark2 
vagrant@vagrantup:/vagrant/public/javascripts/AjaxIM/server$ spark2 --kill
vagrant@vagrantup:/vagrant/public/javascripts/AjaxIM/server$ ps awlx|grep spark2
0  1000  2605  2199  20   0  44548  7612 ep_pol Sl   pts/0      0:00 node /usr/local/bin/spark2
0  1000  2606  2605  20   0  46020  9136 ep_pol S    pts/0      0:00 node /usr/local/bin/spark2 --child
0  1000  2614  2199  20   0   3320   816 pipe_w S+   pts/0      0:00 grep --color=auto spark2
@kaero

I'm have same problem on ArchLinux with node 2.0.11, connect 1.4.0 and spark2 2.0.12 (installed from npm repo). --kill and --respawn does nothing, with option --status spark2 starts, but output nothing. Also no output when start spark2 with application, but application works fine.

Output of spark2 --status --verbose

[kaero@54221-2 twifi.ru]$ spark2 --status --verbose
... starting
... detected config.js
... loading config `/var/www/server/./config.js'
...   --env 'production'
...   --port 9080
...   --host '127.0.0.1'
...   --no-color
...   --watch
... detected server.js
... starting with (1) workers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.