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.
Asked
Active
Viewed 2,455 times
2
Sathyajith Bhat
- 62,374
RocketR
- 133
3 Answers
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
Valera Leontyev
- 156
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.
Manticore Search
- 101
- 1
0
Currently to stop Sphinx in Debian:
sudo service sphinxsearch stop
To verify status:
sudo service sphinxsearch status
To start:
sudo service sphinxsearch start
João Martins
- 141