Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

whippet-server ignores signals #34

Open
mallorydxw opened this issue Oct 9, 2014 · 1 comment
Open

whippet-server ignores signals #34

mallorydxw opened this issue Oct 9, 2014 · 1 comment
Labels

Comments

@mallorydxw
Copy link
Contributor

Run whippet-server. Get the PID of the main process (the /usr/bin/php .../whippet.php one).

Then try this:

kill $PID
kill -2 $PID

Neither of those do anything. But pressing ^C works.

This makes it difficult to kill whippet-server after running tests.

@mallorydxw mallorydxw added the bug label Oct 9, 2014
@Stretch96
Copy link
Member

It can be killed if you use the PID of (/usr/bin/php5 ... whippet-server/lib/router.php). It seems like there are actually 3 processes that spawn when whippet-server is ran, due to one process calling another to get it fully running. It may be possible to rejig things so that there is only one process ...

In the mean time, an easier way to get the PID of what you need to kill, is use sudo lsof -i :8000

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants