start searchd error

Issue #1199 closed
潘建州 created an issue

Hi, I got below warning message today when I restart searchd?

Does anyone know how to fix?

root@mp3:~# /etc/init.d/rc.searchd restart
stopping searchd
starting searchd . . .
Sphinx 3.3.1 (commit b72d67b)
Copyright (c) 2001-2020, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com))

using config file '/usr/local/etc/piler/sphinx.conf'...
listening on 127.0.0.1:9312
listening on 127.0.0.1:9306
precaching index 'main1'
precaching index 'main2'
precaching index 'main3'
precaching index 'main4'
precaching index 'dailydelta1'
precaching index 'delta1'
precaching index 'tag1'
precaching index 'note1'
WARNING: index 'main1': prealloc: dictionary checkpoints corrupted: term length 1969778547 at checkpoint 0 of 30073 overflows 948980 byte arena; NOT SERVING
precached 8 indexes using 8 threads in 0.0 sec

piler version : 1.3.12

sphinx version: 3.3.1

OS version: Ubuntu 21.04

Comments (3)

  1. Janos SUTO repo owner

    I’ve just checked the sphinx forum, and found nothing related such an issue. However, feel free to visit http://sphinxsearch.com/forum/ and ask for comments on the matter.

    Anyway, provided that you won’t get something useful from the sphinx forum, your best bet is to get the backups, and restore main1.* index files from a known good state, then reindex everything since then. If you have no backups of sphinx db files, then remove the main1.* files only, recreate them using

    indexer main1 --config /usr/local/etc/piler/sphinx.conf
    

    and then reindex everything using

     reindex -a
    

    Then be sure to start backing up the main[1-9].* index files every day.

  2. Log in to comment