Sphinx 2013 Lost connection to MySQL server как решить?
SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query
The SQL being executed was:
Поиск по фразе из 2-ухслов. Падает ошибка.
Весь лог длинный код ошибки CRASH EXIT (exit code 2) и потом перезапуск:
Something wrong with thread stack, manual backtrace may be incorrect (fp=0x6)
Wrong stack limit or frame pointer, manual backtrace failed (fp=0x6, stack=0x7fc46da40000, stacksize=0x100000)
Trying system backtrace:
begin of system symbols:
searchd[0x58e5d0]
searchd[0x410e3d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7fc473c28340]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39)[0x7fc472384cc9]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7fc4723880d8]
/lib/x86_64-linux-gnu/libc.so.6(+0x73394)[0x7fc4723c1394]
/lib/x86_64-linux-gnu/libc.so.6(+0x7f66e)[0x7fc4723cd66e]
searchd[0x67cb30]
searchd[0x67cf54]
searchd[0x4d3536]
searchd[0x4eba9f]
searchd[0x4d7586]
searchd[0x44dc8b]
searchd[0x455d48]
searchd[0x456d08]
searchd[0x45742d]
searchd[0x47ff12]
searchd[0x45a7f6]
searchd[0x45d458]
searchd[0x408e3f]
searchd[0x59607d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182)[0x7fc473c20182]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fc47244847d]
-------------- backtrace ends here ---------------
Please, create a bug report in our bug tracker (sphinxsearch.com/bugs) and attach there:
a) searchd log, b) searchd binary, c) searchd symbols.
Look into the chapter 'Reporting bugs' in the documentation
(/usr/share/doc/sphinx/sphinx.txt or sphinxsearch.com/docs/current.html#reporting-bugs)
--- BT to source lines (depth 23): ---
--- BT to source lines finished ---
--- 1 active threads ---
thd 0, proto sphinxql, state query, command select
------- CRASH DUMP END -------
[Mon Nov 28 10:54:26.987 2016] [31893] watchdog: main process 18061 crashed via CRASH_EXIT (exit code 2), will be restarted
Пума Тайланд: SELECT *, WEIGHT() AS myweight,SNIPPET(title, 'все буквы из азбуки') as _spn,SNIPPET(answe_text, 'все буквы из азбуки') as _spntxt FROM testindex
WHERE MATCH('"все буквы из азбуки"/1')
GROUP BY title
Наверное уже не актуально, но в моем случае, без возможности трогать конфигурацию mysql вопрос решился уменьшением значения mem_limit в конфигурации сфинкса.