rotating indices

Issue #15 resolved
János Csárdi-Braunstein created an issue

Yesterday i give this error:

{{{ ~ # indexer delta1 --rotate Sphinx 2.0.4-release (r3135) Copyright (c) 2001-2012, Andrew Aksyonoff Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/etc/sphinx/sphinx.conf'... indexing index 'delta1'... collected 1693 docs, 2.7 MB sorted 0.5 Mhits, 100.0% done total 1693 docs, 2650540 bytes total 0.440 sec, 6012558 bytes/sec, 3840.44 docs/sec total 3 reads, 0.002 sec, 596.8 kb/call avg, 0.9 msec/call avg total 10 writes, 0.004 sec, 368.0 kb/call avg, 0.4 msec/call avg rotating indices: succesfully sent SIGHUP to searchd (pid=10528). }}}

I try to reindex every mail, but the "rotating indices" isn't gone.

I don't see anything in syslog.

And this is the output for indexer --merge main1 delta1 command: {{{ ~ # indexer --merge main1 delta1

Sphinx 2.0.4-release (r3135) Copyright (c) 2001-2012, Andrew Aksyonoff Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/etc/sphinx/sphinx.conf'... merging index 'delta1' into index 'main1'... ERROR: index 'delta1' is already locked; lock: failed to lock /var/piler/sphinx/delta1.spl: Resource temporarily unavailable total 0 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg total 0 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg }}}

Comments (7)

  1. Janos SUTO repo owner

    The "indexer delta1 --rotate" output messages seem to be normal.

    Could you please try running the "indexer --merge main1 delta1" command by adding the --rotate cmdline option?

  2. János Csárdi-Braunstein reporter
    ~ # indexer --merge main1 delta1 --rotate
    Sphinx 2.0.4-release (r3135)
    Copyright (c) 2001-2012, Andrew Aksyonoff
    Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
    
    using config file '/etc/sphinx/sphinx.conf'...
    merging index 'delta1' into index 'main1'...
    read 0.0 of 0.0 MB, 100.0% done
    merged 13.8 Kwords
    merged in 0.085 sec
    total 523 reads, 0.002 sec, 4.0 kb/call avg, 0.0 msec/call avg
    total 11 writes, 0.002 sec, 171.7 kb/call avg, 0.1 msec/call avg
    rotating indices: succesfully sent SIGHUP to searchd (pid=19314).
    
    
  3. János Csárdi-Braunstein reporter
    • changed status to new
    rotating indices: succesfully sent SIGHUP to searchd (pid=19314).
    

    this is fine?

  4. Janos SUTO repo owner

    yes, it is. It's not an error, not a warning, just a notification. That's why I recommend the --quiet option in the documentation, too.

  5. Log in to comment