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,233 times
2
Sathyajith Bhat
- 61,504
- 38
- 179
- 264
RocketR
- 133
- 6
-
on CentOS 7 `killall searchd` if it's started as a process, not as a service – Alex P. Jun 14 '19 at 11:42
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
- 146
- 5
-
Thank you. I'm not using it anymore but hope that helps somebody else. – RocketR Dec 15 '12 at 20:59
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
- 2
- 3