manticoresoftware / manticoresearch

Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon
https://manticoresearch.com
GNU General Public License v3.0
9.03k stars 506 forks source link

[BUDDY] Fatal error: Uncaught Manticoresearch\Buddy\Core\Error\ManticoreSearchClientError #2518

Closed cappadaan closed 1 week ago

cappadaan commented 2 months ago

Bug Description:

We see this shown in the logs every 5 minutes. I dont know what Buddy exactly is, we do not use it. Havent seen this before.

Manticore 6.3.6

[Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] Fatal error: Uncaught Manticoresearch\Buddy\Core\Error\ManticoreSearchClientError: Error while async request: 104: Connection reset by peer in /usr/share/manticore/modules/manticore-buddy/vendor/manticoresoftware/buddy-core/src/ManticoreSearch/Client.php:175 [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] Stack trace: [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] #0 /usr/share/manticore/modules/manticore-buddy/vendor/manticoresoftware/buddy-core/src/ManticoreSearch/Client.php(142): Manticoresearch\Buddy\Core\ManticoreSearch\Client->runAsyncRequest('sql?mode=raw', 'query=SHOW+STAT...', Array) [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] #1 /usr/share/manticore/modules/manticore-buddy/src/Lib/Metric.php(551): Manticoresearch\Buddy\Core\ManticoreSearch\Client->sendRequest('query=SHOW+STAT...') [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] #2 /usr/share/manticore/modules/manticore-buddy/src/Lib/Metric.php(311): Manticoresearch\Buddy\Base\Lib\Metric->sendManticoreRequest('SHOW STATUS') [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] #3 /usr/share/manticore/modules/manticore-buddy/src/Lib/Metric.php(148): Manticoresearch\Buddy\Base\Lib\Metric->getStatusMap() [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] #4 /usr/share/manticore/modules/manticore-buddy/src/Lib/Metric.php(221): Manticoresearch\Buddy\Base\Lib\Metric->getVersions() [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] #5 /usr/share/manticore/modules/manticore-buddy/src/Lib/Metric.php(245): Manticoresearch\Buddy\Base\Lib\Metric->loadPersistLabels() [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] #6 /usr/share/manticore/modules/manticore-buddy/src/Lib/Metric.php(203): Manticoresearch\Buddy\Base\Lib\Metric->snapshot() [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] #7 /usr/share/manticore/modules/manticore-buddy/src/Lib/MetricThread.php(103): Manticoresearch\Buddy\Base\Lib\Metric->checkAndSnapshot(300)

[Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] #9 {main} [Fri Aug 16 08:09:45.708 2024] [1090159] [BUDDY] thrown in /usr/share/manticore/modules/manticore-buddy/vendor/manticoresoftware/buddy-core/src/ManticoreSearch/Client.php on line 175 [Fri Aug 16 08:09:45.738 2024] [1090160] [BUDDY] [2024-08-16 08:09:45 $1090176.0] WARNING Server::check_worker_exit_status(): worker(pid=1179002, id=3) abnormal exit, status=255, signal=0 [Fri Aug 16 08:11:46.554 2024] [1090126] caught SIGHUP (seamless=1, in_rotate=0, need_rotate=0)

Manticore Search Version:

Manticore 6.3.6

Operating System Version:

Almalinux

Have you tried the latest development version?

None

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

- [x] Implementation completed - [ ] Tests developed - [ ] Documentation updated - [ ] Documentation reviewed - [ ] [Changelog](https://docs.google.com/spreadsheets/d/1mz_3dRWKs86FjRF7EIZUziUDK_2Hvhd97G0pLpxo05s/edit?pli=1&gid=1102439133) updated
donhardman commented 1 month ago

Hi.

We fixed the issue in the latest dev version.

You can try updating and check if it helps or not.

Also, as per this error you see, this is not critical for the server and should not affect anything (like queries and performance).

sanikolaev commented 1 week ago

Closing as done.