Hi Janos,

I went to perform a search the other day I noticed no results were returned. 
Looking further into this it appears that the index has not be working for the 
last few weeks.

I have manually run the following as the piler user:

-sh-3.2$ /usr/bin/indexer --quiet delta1 --rotate && sleep 2 && 
/usr/bin/indexer --quiet --merge main1 delta1 --merge-dst-range deleted 0 0 
-rotate

*** Oops, indexer crashed! Please send the following report to developers.
Sphinx 2.0.4-release (r3135)
-------------- report begins here ---------------
Current document: docid=0, hits=0
Current batch: minid=0, maxid=0
Hit pool start: docid=0, hit=0
-------------- backtrace begins here ---------------
Program compiled with gcc 4.1.2
Host OS is Linux localhost.localdomain 2.6.18-274.7.1.el5 #1 SMP Thu Oct 20 
16:21:01 EDT 2011 i686 i686 i386 GNU/Linux
Stack bottom = 0x0, thread stack size = 0x14000
begin of system backtrace:
begin of system symbols:
/usr/bin/indexer(_Z12sphBacktraceib+0x262)[0x81719f2]
/usr/bin/indexer(_Z7sigsegvi+0x104)[0x8090634]
[0x78e420]
/lib/libc.so.6(cfree+0x34)[0x965454]
/usr/bin/indexer(_ZN22DiskIndexQwordTraits_cD2Ev+0x46)[0x8109ba6]
/usr/bin/indexer(_ZN13CSphIndex_VLN10MergeWordsI16DiskIndexQword_cILb1ELb0ELb1EES2_EEbPS_P10ISphFilter+0x1f36)[0x811ab86]
/usr/bin/indexer(_ZN13CSphIndex_VLN5MergeEP9CSphIndexR10CSphVectorI18CSphFilterSettings16CSphVectorPolicyIS3_EEb+0x2b29)[0x80f8999]
/usr/bin/indexer(_Z7DoMergeRK17CSphConfigSectionPKcS1_S3_R10CSphVectorI18CSphFilterSettings16CSphVectorPolicyIS5_EEbb+0x5c6)[0x8091e76]
/usr/bin/indexer(main+0x11db)[0x809b6cb]
/lib/libc.so.6(__libc_start_main+0xdc)[0x912e9c]
/usr/bin/indexer(__gxx_personality_v0+0x225)[0x808ff01]
Backtrace looks OK. Now you have to do following steps:
  1. Run the command over the crashed binary (for example, 'indexer'):
     nm -n indexer > indexer.sym
  2. Attach the binary, generated .sym and the text of backtrace (see above) to 
the bug report.
Also you can read the section about resolving backtraces in the documentation.
-------------- backtrace ends here ---------------



I then followed the steps here: http://www.mailpiler.org/en/reindex.html

-sh-3.2$ /usr/bin/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 98 docs, 0.4 MB
sorted 0.1 Mhits, 100.0% done
total 98 docs, 397895 bytes
total 0.077 sec, 5140895 bytes/sec, 1266.18 docs/sec
total 3 reads, 0.001 sec, 67.6 kb/call avg, 0.4 msec/call avg
total 9 writes, 0.001 sec, 49.9 kb/call avg, 0.1 msec/call avg
rotating indices: succesfully sent SIGHUP to searchd (pid=19305).


sh-3.2$ /usr/bin/indexer --merge main1 delta1 --merge-dst-range deleted 0 0 
--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 12.8 of 12.8 MB, 100.0% done
*** Oops, indexer crashed! Please send the following report to developers.
Sphinx 2.0.4-release (r3135)
-------------- report begins here ---------------
Current document: docid=0, hits=0
Current batch: minid=0, maxid=0
Hit pool start: docid=0, hit=0
-------------- backtrace begins here ---------------
Program compiled with gcc 4.1.2
Host OS is Linux localhost.localdomain 2.6.18-274.7.1.el5 #1 SMP Thu Oct 20 
16:21:01 EDT 2011 i686 i686 i386 GNU/Linux
Stack bottom = 0x0, thread stack size = 0x14000
begin of system backtrace:
begin of system symbols:
/usr/bin/indexer(_Z12sphBacktraceib+0x262)[0x81719f2]
/usr/bin/indexer(_Z7sigsegvi+0x104)[0x8090634]
[0xce8420]
/lib/libc.so.6(cfree+0x34)[0x965454]
/usr/bin/indexer(_ZN22DiskIndexQwordTraits_cD2Ev+0x46)[0x8109ba6]
/usr/bin/indexer(_ZN13CSphIndex_VLN10MergeWordsI16DiskIndexQword_cILb1ELb0ELb1EES2_EEbPS_P10ISphFilter+0x1f36)[0x811ab86]
/usr/bin/indexer(_ZN13CSphIndex_VLN5MergeEP9CSphIndexR10CSphVectorI18CSphFilterSettings16CSphVectorPolicyIS3_EEb+0x2b29)[0x80f8999]
/usr/bin/indexer(_Z7DoMergeRK17CSphConfigSectionPKcS1_S3_R10CSphVectorI18CSphFilterSettings16CSphVectorPolicyIS5_EEbb+0x5c6)[0x8091e76]
/usr/bin/indexer(main+0x11db)[0x809b6cb]
/lib/libc.so.6(__libc_start_main+0xdc)[0x912e9c]
/usr/bin/indexer(__gxx_personality_v0+0x225)[0x808ff01]
Backtrace looks OK. Now you have to do following steps:
  1. Run the command over the crashed binary (for example, 'indexer'):
     nm -n indexer > indexer.sym
  2. Attach the binary, generated .sym and the text of backtrace (see above) to 
the bug report.
Also you can read the section about resolving backtraces in the documentation.
-------------- backtrace ends here ---------------

Any ideas?

Cheers, John

Reply via email to