add searchd section example

This commit is contained in:
ghost 2023-09-13 19:23:27 +03:00
parent 7254a4ae50
commit cb98bbf683

View File

@ -54,3 +54,18 @@ indexer
{
mem_limit = 256M
}
searchd
{
listen = 127.0.0.1:9306:mysql41
log = /var/log/sphinxsearch/searchd.log
query_log = /var/log/sphinxsearch/query.log
pid_file = /run/sphinxsearch/searchd.pid
binlog_path = /var/lib/sphinxsearch/data
read_timeout = 5
max_children = 30
seamless_rotate = 1
preopen_indexes = 1
unlink_old = 1
workers = threads # for RT to work
}