2

I'm using Sphinx search server(version 'Sphinx 2.0.3-id64-release (r3043)' from http://sphinxsearch.com/) in my Rails app with thinking_sphinx gem. Sphinx starts automatically when I reboot and I can't stop it. I tried sudo searchd --stop but the process just respawns itself.

RocketR
  • 133

3 Answers3

2

Stop (as manual start too) requires --config parameter.

If you start sphinx with command searchd --config=file, you can stop it with searchd --config=file --stop. Try to determine your start command argument.

P.S. Better late than never :)

You can also send a signal kill -9

Moosh
  • 133
  • 5
0

searchd expects signal TERM to be stopped. searchd --config /path/to/config --stop just sends TERM to the pid specified in 'pidfile' in the config. 'kill ' or 'killall searchd' will work as well.

0

Currently to stop Sphinx in Debian:

sudo service sphinxsearch stop

To verify status:

sudo service sphinxsearch status

To start:

sudo service sphinxsearch start