Hmmm. So the first thing I did is added the --logdebug
switch. I tried to stop the searchd
process manually with --stopwait
but this didn’t appear to work - so I used kill
which did work, eventually. It might just have been --stopwait
was running slowly.
I started with systemctl start
again. This time it worked, and returned fine. The logs in searchd.log
weren’t very verbose, and I realised I forgot to daemon-reload
after editing the unit file.
So I systemctl stop
-ped Manticore, which worked, reloaded, and started again.
Now it’s hanging again.
searchd.log
is actually empty for the current systemctl start
- it ends with logs from the last stop. It doesn’t appear Manticore is even being started.
I tried restarting manually and it worked. Then I decided to see if I could get logs when starting manually, so I sent --stopwait
. This took quite a long time to stop (a few minutes).
Restarting searchd
manually shows this on stdout/stderr:
# /usr/bin/searchd --config /etc/manticoresearch/manticore.conf --logdebug
Manticore 3.6.0 96d61d8bf@210504 release
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-2021, Manticore Software LTD (https://manticoresearch.com)
[17:11.002] [2596992] using config file '/etc/manticoresearch/manticore.conf' (2622 chars)...
[17:11.004] [2596992] DEBUG: 'read_timeout' - nothing specified, using default value 5000000
[17:11.004] [2596992] DEBUG: 'network_timeout' - nothing specified, using default value 5000000
[17:11.004] [2596992] DEBUG: 'sphinxql_timeout' - nothing specified, using default value 900000000
[17:11.004] [2596992] DEBUG: 'client_timeout' - nothing specified, using default value 300000000
[17:11.004] [2596992] DEBUG: SetMaxChildrenThreads to 4
[17:11.004] [2596992] DEBUG: 'read_unhinted' - nothing specified, using default value 32768
[17:11.004] [2596992] DEBUG: 'read_buffer' - nothing specified, using default value 262144
[17:11.004] [2596992] DEBUG: 'read_buffer_docs' - nothing specified, using default value 262144
[17:11.004] [2596992] DEBUG: 'read_buffer_hits' - nothing specified, using default value 262144
[17:11.004] [2596992] DEBUG: 'attr_flush_period' - nothing specified, using default value 0
[17:11.004] [2596992] DEBUG: 'max_packet_size' - nothing specified, using default value 8388608
[17:11.004] [2596992] DEBUG: 'rt_merge_maxiosize' - nothing specified, using default value 0
[17:11.004] [2596992] DEBUG: 'ha_ping_interval' - nothing specified, using default value 1000000
[17:11.004] [2596992] DEBUG: 'ha_period_karma' - nothing specified, using default value 60000000
[17:11.004] [2596992] DEBUG: 'query_log_min_msec' - nothing specified, using default value 0
[17:11.004] [2596992] DEBUG: 'agent_connect_timeout' - nothing specified, using default value 1000000
[17:11.004] [2596992] DEBUG: 'agent_query_timeout' - nothing specified, using default value 3000000
[17:11.004] [2596992] DEBUG: 'agent_retry_delay' - nothing specified, using default value 500000
[17:11.004] [2596992] DEBUG: 'docstore_cache_size' - nothing specified, using default value 16777216
[17:11.004] [2596992] DEBUG: 'qcache_max_bytes' - nothing specified, using default value 16777216
[17:11.004] [2596992] DEBUG: 'qcache_thresh_msec' - nothing specified, using default value 3000000
[17:11.004] [2596992] DEBUG: 'qcache_ttl_sec' - nothing specified, using default value 60000000
DEBUG: StartGlobalWorkpool
starting daemon version '3.6.0 96d61d8bf@210504 release' ...
listening on 127.0.0.1:9312 for sphinx and http(s)
listening on 127.0.0.1:9306 for mysql
listening on 10.0.0.3:9306 for mysql
DEBUG: 'rt_flush_period' - nothing specified, using default value 36000000000
precaching index 'library'
DEBUG: Locking the index via file /mnt/HC_Volume_10495637/manticore/data/library.spl
DEBUG: lock /mnt/HC_Volume_10495637/manticore/data/library.spl success
precached 1 indexes in 0.552 sec
DEBUG: expression stack for creation 16
DEBUG: expression stack for eval/deletion 48
DEBUG: filter stack delta 144
In searchd.log
:
[Mon Oct 2 10:17:11.006 2023] [2596994] watchdog: main process 2596995 forked ok
[Mon Oct 2 10:17:11.006 2023] [2596995] DEBUG: StartGlobalWorkpool
[Mon Oct 2 10:17:11.006 2023] [2596995] starting daemon version '3.6.0 96d61d8bf@210504 release' ...
[Mon Oct 2 10:17:11.007 2023] [2596995] listening on 127.0.0.1:9312 for sphinx and http(s)
[Mon Oct 2 10:17:11.007 2023] [2596995] listening on 127.0.0.1:9306 for mysql
[Mon Oct 2 10:17:11.007 2023] [2596995] listening on 10.0.0.3:9306 for mysql
[Mon Oct 2 10:17:11.007 2023] [2596995] DEBUG: 'rt_flush_period' - nothing specified, using default value 36000000000
[Mon Oct 2 10:17:11.019 2023] [2596996] DEBUG: Locking the index via file /mnt/HC_Volume_10495637/manticore/data/library.spl
[Mon Oct 2 10:17:11.019 2023] [2596996] DEBUG: lock /mnt/HC_Volume_10495637/manticore/data/library.spl success
[Mon Oct 2 10:17:11.562 2023] [2596995] DEBUG: expression stack for creation 16
[Mon Oct 2 10:17:11.563 2023] [2596995] DEBUG: expression stack for eval/deletion 48
[Mon Oct 2 10:17:11.565 2023] [2596995] DEBUG: filter stack delta 144
[Mon Oct 2 10:17:11.566 2023] [2596995] DEBUG: 'binlog_max_log_size' - nothing specified, using default value 268435456
[Mon Oct 2 10:17:11.567 2023] [2596995] DEBUG: MAC address 96:00:00:a8:97:0a for uuid-short server_id
[Mon Oct 2 10:17:11.567 2023] [2596995] DEBUG: uid-short server_id 113, started 139573031, seed 8144849773174718464
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: replaying log /mnt/HC_Volume_10495637/manticore/data/binlog.001
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: replay stats: 0 rows in 0 commits; 0 updates, 0 reconfigure; 0 pq-add; 0 pq-delete; 0 indexes
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: finished replaying /mnt/HC_Volume_10495637/manticore/data/binlog.001; 0.0 MB in 0.000 sec
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: replaying log /mnt/HC_Volume_10495637/manticore/data/binlog.001
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: replay stats: 0 rows in 0 commits; 0 updates, 0 reconfigure; 0 pq-add; 0 pq-delete; 0 indexes
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: finished replaying /mnt/HC_Volume_10495637/manticore/data/binlog.001; 0.0 MB in 0.000 sec
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: replaying log /mnt/HC_Volume_10495637/manticore/data/binlog.001
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: replay stats: 0 rows in 0 commits; 0 updates, 0 reconfigure; 0 pq-add; 0 pq-delete; 0 indexes
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: finished replaying /mnt/HC_Volume_10495637/manticore/data/binlog.001; 0.0 MB in 0.000 sec
[Mon Oct 2 10:17:11.568 2023] [2596995] binlog: finished replaying total 3 in 0.000 sec
[Mon Oct 2 10:17:11.568 2023] [2596995] DEBUG: SaveMeta: Done.
[Mon Oct 2 10:17:11.569 2023] [2596999] prereading 1 indexes
[Mon Oct 2 10:17:11.569 2023] [2596995] accepting connections
[Mon Oct 2 10:17:11.569 2023] [2596999] DEBUG: prereading index 'library'
[Mon Oct 2 10:17:11.569 2023] [2596999] DEBUG: CSphIndex_VLN::Preread invoked 'library'(/mnt/HC_Volume_10495637/manticore/data/library)