What is the best way to stop a Unicorn Server process from running?

Have a look at the Unicorn SIGNALS page. If the master is behaving correctly and you just want to turn it off, you should send a QUIT signal:

kill -QUIT 1234     # where 1234 is the real process id, of course

That gracefully stops all the workers, letting them finish any requests that they’re in the middle of serving.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)