Stop Sphinx server

2

1

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

Posted 2012-02-14T09:48:15.613

Reputation: 133

on CentOS 7 killall searchd if it's started as a process, not as a service – Alex Pandrea – 2019-06-14T11:42:57.337

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

Valera Leontyev

Posted 2012-02-14T09:48:15.613

Reputation: 136

Thank you. I'm not using it anymore but hope that helps somebody else. – RocketR – 2012-12-15T20:59:18.453

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

Posted 2012-02-14T09:48:15.613

Reputation: 101

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

Posted 2012-02-14T09:48:15.613

Reputation: 131