| 1234567891011121314151617181920212223242526272829303132333435363738 |
- {
- "ceece3476a943b7562d144fce37b7e85fc67a44db36e633670b7ae2a089a6545": {
- "original": "2. Find symbols in `/usr/lib/debug/.build-id` like this:\n\nCODE_BLOCK_10\n\n### Uploading your data\n\n<!-- example s3 -->\nTo fix your bug, developers often need to reproduce it locally. To do this, they need your configuration file, table files, binlog (if present), and sometimes source data (such as data from external storages or XML/CSV files) and queries.\n\nAttach your data when you [create a ticket on Github](https://github.com/manticoresoftware/manticoresearch/issues/new). If the data is too large or sensitive, you can upload it to our write-only S3 storage at `s3://s3.manticoresearch.com/write-only/`.\n\nTo to that easily we provide an upload mechanism using a Docker image. This image is built from our open-source repository at [github.com/manticoresoftware/s3-upload](https://github.com/manticoresoftware/s3-upload) and helps you easily upload data to Manticore's write-only S3 storage. Here's how you can do it:\n1. Navigate to the directory containing the files you want to upload and run:\nCODE_BLOCK_11\n2. This will:\n - Ask you to enter the related issue URL/number\n - Upload **all files in the current directory** to our write-only S3 storage\n - At the end, you will see an upload path. Please share this path with the developers.\n\n<!-- intro -->\nExample:\n\n<!-- request Example -->\nCODE_BLOCK_12\n\n<!-- response Example -->\nCODE_BLOCK_13\n<!-- end -->\n\nAlternatively, you can use the S3 [Minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) or the Amazon [s3cmd](https://s3tools.org/s3cmd) tool to do the same, e.g.:\n\n1. Install the client https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc\nFor example on 64-bit Linux:\nCODE_BLOCK_14\n2. Add our s3 host (use full path to executable or change into its directory): `cd $HOME/minio-binaries` and then `./mc config host add manticore http://s3.manticoresearch.com:9000 manticore manticore`\n3. Copy your files (use full path to executable or change into its directory): `cd $HOME/minio-binaries` and then `./mc cp -r issue-1234/ manticore/write-only/issue-1234` . Make sure the folder name is unique and best if it corresponds to the issue on GitHub where you described the bug.\n\n### DEBUG\n\nCODE_BLOCK_15\n\nThe `DEBUG` statement is designed for developers and testers to call various internal or VIP commands. However, it is not intended for production use as the syntax of the `subcommand` component may change freely in any build.\n\nTo view a list of useful commands and `DEBUG` statement subcommands available in the current context, simply call `DEBUG` without any parameters.\n\nCODE_BLOCK_16\n\nSame from VIP connection:\nCODE_BLOCK_17\n\nAll `debug XXX` commands should be regarded as non-stable and subject to modification at any time, so don't be surprised if they change. This example output may not reflect the actual available commands, so try it on your system to see what is available on your instance. Additionally, there is no detailed documentation provided aside from this short 'meaning' column.\n\nAs a quick illustration, two commands available only to VIP clients are described below - shutdown and crash. Both require a token, which can be generated with the debug token subcommand, and added to the [shutdown_token](Server_settings/Searchd.md#shutdown_token) param in the searchd section of the config file. If no such section exists, or if the provided password hash does not match the token stored in the config, the subcommands will do nothing.\n\nCODE_BLOCK_18\n\nThe subcommand `shutdown` will send a TERM signal to the server, causing it to shut down. This can be dangerous, as nobody wants to accidentally stop a production service. Therefore, it requires a VIP connection and the password to be used.\n\nThe subcommand `crash` literally causes a crash. It may be used for testing purposes, such as to test how the system manager maintains the service's liveness or to test the feasibility of tracking coredumps.\n\nIf some commands are found to be useful in a more general context, they may be moved from the debug subcommands to a more stable and generic location (as exemplified by the `debug tasks` and `debug sched` in the table).\n\n<!-- proofread -->\n\n",
- "translations": {
- "chinese": "2. \u5728 `/usr/lib/debug/.build-id` \u4e2d\u67e5\u627e\u5982\u4e0b\u7b26\u53f7\uff1a\n\nCODE_BLOCK_10\n\n### \u4e0a\u4f20\u60a8\u7684\u6570\u636e\n\n<!-- example s3 -->\n\u4e3a\u4e86\u89e3\u51b3\u60a8\u7684 bug\uff0c\u5f00\u53d1\u4eba\u5458\u901a\u5e38\u9700\u8981\u5728\u672c\u5730\u91cd\u73b0\u95ee\u9898\u3002\u4e3a\u6b64\uff0c\u4ed6\u4eec\u9700\u8981\u60a8\u7684\u914d\u7f6e\u6587\u4ef6\u3001\u8868\u6587\u4ef6\u3001binlog\uff08\u5982\u679c\u5b58\u5728\uff09\uff0c\u6709\u65f6\u8fd8\u9700\u8981\u6e90\u6570\u636e\uff08\u4f8b\u5982\u6765\u81ea\u5916\u90e8\u5b58\u50a8\u6216 XML/CSV \u6587\u4ef6\u4e2d\u7684\u6570\u636e\uff09\u4ee5\u53ca\u67e5\u8be2\u3002\n\n\u5728\u60a8[\u5728 Github \u4e0a\u521b\u5efa\u5de5\u5355](https://github.com/manticoresoftware/manticoresearch/issues/new)\u65f6\uff0c\u8bf7\u9644\u4e0a\u60a8\u7684\u6570\u636e\u3002\u5982\u679c\u6570\u636e\u8fc7\u5927\u6216\u6d89\u53ca\u654f\u611f\u4fe1\u606f\uff0c\u60a8\u53ef\u4ee5\u4e0a\u4f20\u5230\u6211\u4eec\u7684\u53ea\u5199 S3 \u5b58\u50a8 `s3://s3.manticoresearch.com/write-only/`\u3002\n\n\u4e3a\u4e86\u65b9\u4fbf\u64cd\u4f5c\uff0c\u6211\u4eec\u63d0\u4f9b\u4e86\u4f7f\u7528 Docker \u955c\u50cf\u7684\u4e0a\u4f20\u673a\u5236\u3002\u8fd9\u4e2a\u955c\u50cf\u662f\u4ece\u6211\u4eec\u7684\u5f00\u6e90\u4ed3\u5e93 [github.com/manticoresoftware/s3-upload](https://github.com/manticoresoftware/s3-upload) \u6784\u5efa\u7684\uff0c\u53ef\u4ee5\u5e2e\u52a9\u60a8\u8f7b\u677e\u4e0a\u4f20\u6570\u636e\u5230 Manticore \u7684\u53ea\u5199 S3 \u5b58\u50a8\u3002\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\uff1a\n1. \u8fdb\u5165\u5305\u542b\u8981\u4e0a\u4f20\u6587\u4ef6\u7684\u76ee\u5f55\u5e76\u8fd0\u884c\uff1a\nCODE_BLOCK_11\n2. \u8fd9\u6837\u5c06\u4f1a\uff1a\n - \u8ba9\u60a8\u8f93\u5165\u76f8\u5173\u95ee\u9898\u7684 URL \u6216\u53f7\u7801\n - \u5c06**\u5f53\u524d\u76ee\u5f55\u4e2d\u7684\u6240\u6709\u6587\u4ef6**\u4e0a\u4f20\u5230\u6211\u4eec\u7684\u53ea\u5199 S3 \u5b58\u50a8\n - \u4e0a\u4f20\u7ed3\u675f\u540e\uff0c\u60a8\u5c06\u770b\u5230\u4e0a\u4f20\u8def\u5f84\u3002\u8bf7\u5c06\u6b64\u8def\u5f84\u5206\u4eab\u7ed9\u5f00\u53d1\u4eba\u5458\u3002\n\n<!-- intro -->\n\u793a\u4f8b\uff1a\n\n<!-- request Example -->\nCODE_BLOCK_12\n\n<!-- response Example -->\nCODE_BLOCK_13\n<!-- end -->\n\n\u53e6\u5916\uff0c\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528 S3 [Minio \u5ba2\u6237\u7aef](https://min.io/docs/minio/linux/reference/minio-mc.html)\u6216\u4e9a\u9a6c\u900a\u7684 [s3cmd](https://s3tools.org/s3cmd) \u5de5\u5177\u5b8c\u6210\u76f8\u540c\u64cd\u4f5c\uff0c\u4f8b\u5982\uff1a\n\n1. \u5b89\u88c5\u5ba2\u6237\u7aef https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc \n\u4ee5 64 \u4f4d Linux \u4e3a\u4f8b\uff1a\nCODE_BLOCK_14\n2. \u6dfb\u52a0\u6211\u4eec\u7684 s3 \u4e3b\u673a\uff08\u4f7f\u7528\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5b8c\u6574\u8def\u5f84\u6216\u5207\u6362\u5230\u5176\u76ee\u5f55\uff09\uff1a`cd $HOME/minio-binaries`\uff0c\u7136\u540e\u6267\u884c `./mc config host add manticore http://s3.manticoresearch.com:9000 manticore manticore`\n3. \u590d\u5236\u60a8\u7684\u6587\u4ef6\uff08\u540c\u6837\u4f7f\u7528\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5b8c\u6574\u8def\u5f84\u6216\u5207\u6362\u5230\u5176\u76ee\u5f55\uff09\uff1a`cd $HOME/minio-binaries`\uff0c\u7136\u540e\u6267\u884c `./mc cp -r issue-1234/ manticore/write-only/issue-1234` \u3002\u786e\u4fdd\u6587\u4ef6\u5939\u540d\u79f0\u552f\u4e00\uff0c\u6700\u597d\u5bf9\u5e94\u60a8\u5728 GitHub \u4e0a\u63cf\u8ff0\u6b64 bug \u7684\u5de5\u5355\u3002\n\n### DEBUG\n\nCODE_BLOCK_15\n\n`DEBUG` \u8bed\u53e5\u662f\u4e3a\u5f00\u53d1\u8005\u548c\u6d4b\u8bd5\u4eba\u5458\u8bbe\u8ba1\uff0c\u7528\u4e8e\u8c03\u7528\u5404\u79cd\u5185\u90e8\u6216 VIP \u547d\u4ee4\u3002\u7136\u800c\uff0c\u5b83\u4e0d\u9002\u7528\u4e8e\u751f\u4ea7\u73af\u5883\uff0c\u56e0\u4e3a `subcommand` \u7ec4\u4ef6\u7684\u8bed\u6cd5\u5728\u4efb\u4f55\u7248\u672c\u4e2d\u90fd\u53ef\u80fd\u81ea\u7531\u66f4\u6539\u3002\n\n\u8981\u67e5\u770b\u5f53\u524d\u73af\u5883\u4e0b\u53ef\u7528\u7684\u6709\u7528\u547d\u4ee4\u548c `DEBUG` \u8bed\u53e5\u5b50\u547d\u4ee4\u5217\u8868\uff0c\u53ea\u9700\u8c03\u7528\u4e0d\u5e26\u4efb\u4f55\u53c2\u6570\u7684 `DEBUG`\u3002\n\nCODE_BLOCK_16\n\nVIP \u8fde\u63a5\u4e0b\u540c\u6837\u9002\u7528\uff1a\nCODE_BLOCK_17\n\n\u6240\u6709 `debug XXX` \u547d\u4ee4\u5e94\u89c6\u4e3a\u4e0d\u7a33\u5b9a\u4e14\u968f\u65f6\u53ef\u80fd\u53d8\u66f4\uff0c\u56e0\u6b64\u5982\u679c\u5b83\u4eec\u6709\u6240\u6539\u53d8\uff0c\u8bf7\u4e0d\u8981\u611f\u5230\u60ca\u8bb6\u3002\u6b64\u4f8b\u5b50\u8f93\u51fa\u53ef\u80fd\u65e0\u6cd5\u53cd\u6620\u5b9e\u9645\u53ef\u7528\u547d\u4ee4\uff0c\u8bf7\u5728\u60a8\u7684\u7cfb\u7edf\u4e0a\u5c1d\u8bd5\u67e5\u770b\u5b9e\u4f8b\u4e2d\u53ef\u7528\u7684\u547d\u4ee4\u3002\u6b64\u5916\uff0c\u9664\u4e86\u7b80\u77ed\u7684\u201c\u542b\u4e49\u201d\u680f\u63cf\u8ff0\u5916\uff0c\u6ca1\u6709\u63d0\u4f9b\u8be6\u7ec6\u6587\u6863\u3002\n\n\u4f5c\u4e3a\u7b80\u8981\u8bf4\u660e\uff0c\u4e0b\u9762\u4ecb\u7ecd\u4e24\u4e2a\u4ec5\u5bf9 VIP \u5ba2\u6237\u7aef\u5f00\u653e\u7684\u547d\u4ee4\u2014\u2014shutdown \u548c crash\u3002\u4e24\u8005\u90fd\u9700\u8981\u4ee4\u724c\uff0c\u8be5\u4ee4\u724c\u53ef\u901a\u8fc7 debug token \u5b50\u547d\u4ee4\u751f\u6210\uff0c\u5e76\u6dfb\u52a0\u5230\u914d\u7f6e\u6587\u4ef6\u7684 searchd \u90e8\u5206\u7684 [shutdown_token](Server_settings/Searchd.md#shutdown_token) \u53c2\u6570\u4e2d\u3002\u5982\u679c\u4e0d\u5b58\u5728\u8be5\u914d\u7f6e\u6bb5\uff0c\u6216\u63d0\u4f9b\u7684\u5bc6\u7801\u54c8\u5e0c\u4e0e\u914d\u7f6e\u4e2d\u7684\u4ee4\u724c\u4e0d\u5339\u914d\uff0c\u5b50\u547d\u4ee4\u5c06\u4e0d\u4f1a\u6267\u884c\u4efb\u4f55\u64cd\u4f5c\u3002\n\nCODE_BLOCK_18\n\n`shutdown` \u5b50\u547d\u4ee4\u4f1a\u5411\u670d\u52a1\u5668\u53d1\u9001 TERM \u4fe1\u53f7\uff0c\u4f7f\u5176\u5173\u95ed\u3002\u8fd9\u662f\u5371\u9669\u64cd\u4f5c\uff0c\u56e0\u4e3a\u6ca1\u6709\u4eba\u5e0c\u671b\u610f\u5916\u505c\u6b62\u751f\u4ea7\u670d\u52a1\u3002\u56e0\u6b64\u5b83\u9700\u8981 VIP \u8fde\u63a5\u548c\u5bc6\u7801\u624d\u80fd\u4f7f\u7528\u3002\n\n`crash` \u5b50\u547d\u4ee4\u4f1a\u9020\u6210\u670d\u52a1\u5668\u5d29\u6e83\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u6d4b\u8bd5\u76ee\u7684\uff0c\u4f8b\u5982\u6d4b\u8bd5\u7cfb\u7edf\u7ba1\u7406\u5668\u5982\u4f55\u4fdd\u6301\u670d\u52a1\u6d3b\u8dc3\uff0c\u6216\u6d4b\u8bd5\u8ffd\u8e2a coredump \u7684\u53ef\u884c\u6027\u3002\n\n\u5982\u679c\u67d0\u4e9b\u547d\u4ee4\u5728\u66f4\u5e7f\u6cdb\u7684\u573a\u666f\u4e2d\u88ab\u8bc1\u660e\u6709\u7528\uff0c\u53ef\u80fd\u4f1a\u4ece debug \u5b50\u547d\u4ee4\u79fb\u5230\u66f4\u7a33\u5b9a\u3001\u66f4\u901a\u7528\u7684\u4f4d\u7f6e\uff08\u4f8b\u5982\u8868\u683c\u4e2d\u6240\u793a\u7684 `debug tasks` \u548c `debug sched` \u547d\u4ee4\uff09\u3002 \n\n<!-- proofread -->",
- "russian": "2. \u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 `/usr/lib/debug/.build-id`, \u043f\u043e\u0445\u043e\u0436\u0438\u0435 \u043d\u0430 \u044d\u0442\u0438:\n\nCODE_BLOCK_10\n\n### \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0432\u0430\u0448\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\n\n<!-- example s3 -->\n\u0414\u043b\u044f \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0430\u0448\u0435\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0447\u0430\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0435\u0451 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u043c \u043d\u0443\u0436\u0435\u043d \u0432\u0430\u0448 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b, \u0444\u0430\u0439\u043b\u044b \u0442\u0430\u0431\u043b\u0438\u0446, binlog (\u0435\u0441\u043b\u0438 \u043e\u043d \u0435\u0441\u0442\u044c), \u0430 \u0438\u043d\u043e\u0433\u0434\u0430 \u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u0438\u043b\u0438 XML/CSV \u0444\u0430\u0439\u043b\u044b) \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b.\n\n\u041f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u044f\u0439\u0442\u0435 \u0432\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438 [\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0442\u0438\u043a\u0435\u0442\u0430 \u043d\u0430 Github](https://github.com/manticoresoftware/manticoresearch/issues/new). \u0415\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0438\u043b\u0438 \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0438\u0445 \u0432 \u043d\u0430\u0448\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 S3 \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 `s3://s3.manticoresearch.com/write-only/`.\n\n\u0427\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u043e\u0449\u0435, \u043c\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Docker-\u043e\u0431\u0440\u0430\u0437\u0430. \u042d\u0442\u043e\u0442 \u043e\u0431\u0440\u0430\u0437 \u0441\u043e\u0431\u0440\u0430\u043d \u0438\u0437 \u043d\u0430\u0448\u0435\u0433\u043e open-source \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u043d\u0430 [github.com/manticoresoftware/s3-upload](https://github.com/manticoresoftware/s3-upload) \u0438 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0432\u0430\u043c \u043b\u0435\u0433\u043a\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 S3-\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 Manticore \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c. \u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:\n1. \u041f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435:\nCODE_BLOCK_11\n2. \u042d\u0442\u043e:\n - \u041f\u043e\u043f\u0440\u043e\u0441\u0438\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 URL/\u043d\u043e\u043c\u0435\u0440 \u0442\u0438\u043a\u0435\u0442\u0430\n - \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442 **\u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438** \u0432 \u043d\u0430\u0448\u0435 S3-\u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c\n - \u0412 \u043a\u043e\u043d\u0446\u0435 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u0443\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u0435\u0441\u044c \u044d\u0442\u0438\u043c \u043f\u0443\u0442\u0435\u043c \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438.\n\n<!-- intro -->\n\u041f\u0440\u0438\u043c\u0435\u0440:\n\n<!-- request Example -->\nCODE_BLOCK_12\n\n<!-- response Example -->\nCODE_BLOCK_13\n<!-- end -->\n\n\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c S3 [\u043a\u043b\u0438\u0435\u043d\u0442 Minio](https://min.io/docs/minio/linux/reference/minio-mc.html) \u0438\u043b\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 Amazon [s3cmd](https://s3tools.org/s3cmd) \u0434\u043b\u044f \u0442\u0435\u0445 \u0436\u0435 \u0446\u0435\u043b\u0435\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:\n\n1. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442 https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc\n\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f 64-\u0431\u0438\u0442\u043d\u043e\u0433\u043e Linux:\nCODE_BLOCK_14\n2. \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043d\u0430\u0448 s3-\u0445\u043e\u0441\u0442 (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u0435\u0433\u043e \u043f\u0430\u043f\u043a\u0443): `cd $HOME/minio-binaries` \u0438 \u0437\u0430\u0442\u0435\u043c `./mc config host add manticore http://s3.manticoresearch.com:9000 manticore manticore`\n3. \u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0430\u0448\u0438 \u0444\u0430\u0439\u043b\u044b (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u0435\u0433\u043e \u043f\u0430\u043f\u043a\u0443): `cd $HOME/minio-binaries` \u0438 \u0437\u0430\u0442\u0435\u043c `./mc cp -r issue-1234/ manticore/write-only/issue-1234`. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0438\u043c\u044f \u043f\u0430\u043f\u043a\u0438 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e, \u0438 \u043b\u0443\u0447\u0448\u0435, \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u043e\u043c\u0435\u0440\u0443 \u0442\u0438\u043a\u0435\u0442\u0430 \u043d\u0430 GitHub, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u044b \u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0443.\n\n### DEBUG\n\nCODE_BLOCK_15\n\n\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f `DEBUG` \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u0432 \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u0438\u043b\u0438 VIP-\u043a\u043e\u043c\u0430\u043d\u0434. \u041e\u0434\u043d\u0430\u043a\u043e \u043e\u043d\u0430 \u043d\u0435 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0430 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 `subcommand` \u043c\u043e\u0436\u0435\u0442 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0435.\n\n\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438 \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 `DEBUG`, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u043e\u0432\u0438\u0442\u0435 `DEBUG` \u0431\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432.\n\nCODE_BLOCK_16\n\n\u0422\u043e \u0436\u0435 \u0447\u0435\u0440\u0435\u0437 VIP-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435:\nCODE_BLOCK_17\n\n\u0412\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b `debug XXX` \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u0438 \u043f\u043e\u0434\u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e \u0432 \u043b\u044e\u0431\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0435 \u0443\u0434\u0438\u0432\u043b\u044f\u0439\u0442\u0435\u0441\u044c, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u0441\u044f. \u042d\u0442\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u043e\u0442\u0440\u0430\u0436\u0430\u0442\u044c \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043d\u0430 \u0432\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u043a\u0440\u043e\u043c\u0435 \u044d\u0442\u043e\u0439 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u00ab\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00bb, \u043d\u0435\u0442.\n\n\u0414\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u043d\u0438\u0436\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0434\u0432\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0442\u043e\u043b\u044c\u043a\u043e VIP-\u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c \u2014 shutdown \u0438 crash. \u041e\u0431\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0442\u043e\u043a\u0435\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434\u044b debug token \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 [shutdown_token](Server_settings/Searchd.md#shutdown_token) \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 searchd \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430. \u0415\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u043d\u0435\u0442, \u0438\u043b\u0438 \u0435\u0441\u043b\u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0445\u044d\u0448 \u043f\u0430\u0440\u043e\u043b\u044f \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u0442\u043e\u043a\u0435\u043d\u043e\u043c \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430, \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439.\n\nCODE_BLOCK_18\n\n\u041f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434\u0430 `shutdown` \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0441\u0438\u0433\u043d\u0430\u043b TERM, \u0432\u044b\u0437\u044b\u0432\u0430\u044f \u0435\u0433\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u043f\u0430\u0441\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0445\u043e\u0447\u0435\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0441\u0435\u0440\u0432\u0438\u0441. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 VIP-\u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438 \u043f\u0430\u0440\u043e\u043b\u044f \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.\n\n\u041f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434\u0430 `crash` \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435. \u0415\u0451 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u043a\u0430\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0436\u0438\u0437\u043d\u0435\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u0438\u043b\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043c\u043f\u043e\u0432 \u043f\u0430\u043c\u044f\u0442\u0438.\n\n\u0415\u0441\u043b\u0438 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043e\u043a\u0430\u0436\u0443\u0442\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b \u0432 \u0431\u043e\u043b\u0435\u0435 \u043e\u0431\u0449\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435, \u0438\u0445 \u043c\u043e\u0433\u0443\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0438\u0437 debug-\u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434 \u0432 \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u0438 \u043e\u0431\u0449\u0435\u0435 \u043c\u0435\u0441\u0442\u043e (\u043a\u0430\u043a \u044d\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 `debug tasks` \u0438 `debug sched` \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435).\n\n<!-- proofread -->"
- },
- "is_code_or_comment": false,
- "model": "openai:gpt-4.1-mini",
- "updated_at": 1766369483
- },
- "58d0de1f274cf0a9337879e07f742b9869160606bb64bfe39e17d4287ba30279": {
- "original": "# Reporting bugs\n\nUnfortunately, Manticore is not yet 100% bug-free, although the development team is working hard towards that goal. You may encounter some issues from time to time.\nIt is crucial to report as much information as possible about each bug to fix it effectively.\nTo fix a bug, either it needs to be reproduced and fixed or its cause needs to be deduced based on the information you provide. To help with this, please follow the instructions below.\n\n### Bug-tracker\nBugs and feature requests are tracked on [Github](https://github.com/manticoresoftware/manticore/issues). You are welcome to create a new ticket and describe your bug in detail to save time for both you and the developers.\n\n### Documentation updates\nUpdates to the documentation (what you are reading now) are also done on [Github](https://github.com/manticoresoftware/manticoresearch/tree/master/manual).\n\n### Crashes\n\nManticore Search is written in C++, which is a low-level programming language that allows for direct communication with the computer for faster performance. However, there is a drawback to this approach as in rare cases, it may not be possible to elegantly handle a bug by writing an error to a log and skipping the processing of the command that caused the problem. Instead, the program may crash, resulting in it stopping completely and needing to be restarted.\n\nWhen Manticore Search crashes, it is important to let the Manticore team know by [submitting a bug report](https://github.com/manticoresoftware/manticoresearch/issues/new?assignees=&labels=&template=bug_report.md&title=) on GitHub or through Manticore's professional services in your private helpdesk. The Manticore team requires the following information:\n\n1. The searchd log\n2. The coredump\n3. The query log\n\nAdditionally, it would be helpful if you could do the following:\n1. Run gdb to inspect the coredump:\nCODE_BLOCK_0\n2. Find the crashed thread ID in the coredump file name (make sure you have `%p` in /proc/sys/kernel/core_pattern), e.g. `core.work_6.29050.server_name.1637586599` means thread_id=29050\n3. In gdb run:\nCODE_BLOCK_1\n4. Provide the outputs\n\n### What do I do when Manticore Search hangs?\n\nIf Manticore Search hangs, you need to collect some information that may be useful in understanding the cause. Here's how you can do it:\n\n1. Run `show threads option format=all` trough a [VIP port](https://manual.manticoresearch.com/Connecting_to_the_server/HTTP#VIP-connection)\n2. collect the lsof output output, as hanging can be caused by too many connections or open file descriptors.\nCODE_BLOCK_2\n3. Dump the core:\nCODE_BLOCK_3\n(It will save the dump to the current directory.)\n\n4. Install and run gdb:\nCODE_BLOCK_4\nNote that this will halt your running searchd, but if it's already hanging, it shouldn't be a problem.\n5. In gdb run:\nCODE_BLOCK_5\n6. Collect all the outputs and files and provide them in a bug report.\n\nFor experts: the macros added in [this commit](https://github.com/manticoresoftware/manticoresearch/commit/e317f7aa30aad51cb19d34595458bb7c8811be21) can be helpful in debugging.\n\n### How to enable saving coredumps on crash?\n\n* make sure you run searchd with `--coredump`. To avoid modifying scripts, you can use the https://manual.manticoresearch.com/Starting_the_server/Linux#Custom-startup-flags-using-systemd , method. For example::\n\nCODE_BLOCK_6\n\n* Ensure that your operating system allows you to save core dumps by checking that: `/proc/sys/kernel/core_pattern` is not empty. This is the location where the core dumps will be saved. To save core dumps to a file such as `core.searchd.1773.centos-4gb-hel1-1.1636454937`, run the following command:\nCODE_BLOCK_7\n\n* searchd should be started with `ulimit -c unlimited`. If you start Manticore using systemctl, it will automatically set the limit to infinity as indicated by the following line in the manticore.service file:\nCODE_BLOCK_8\n\n### How do I install debug symbols?\n\nManticore Search and Manticore Columnar Library are written in C++, which results in compiled binary files that execute optimally on your operating system. However, when running a binary, your system does not have full access to the names of variables, functions, methods, and classes. This information is provided in separate \"debuginfo\" or \"symbol packages.\"\n\nDebug symbols are essential for troubleshooting and debugging, as they allow you to visualize the system state when it crashed, including the names of functions. Manticore Search provides a backtrace in the searchd log and generates a coredump if run with the --coredump flag. Without symbols, all you will see is internal offsets, making it difficult or impossible to decode the cause of the crash. If you need to make a bug report about a crash, the Manticore team will often require debug symbols to assist you.\n\nTo install Manticore Search/Manticore Columnar Library debug symbols, you will need to install the `*debuginfo*` package for CentOS, the `*dbgsym*` package for Ubuntu and Debian, or the `*dbgsymbols*` package for Windows and macOS. These packages should be the same version as the installed Manticore. For example, if you installed Manticore Search in Centos 8 from the package https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-4.0.2_210921.af497f245-1.el8.x86_64.rpm , the corresponding package with symbols would be https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-debuginfo-4.0.2_210921.af497f245-1.el8.x86_64.rpm\n\nNote that both packages have the same commit id `af497f245`, which corresponds to the commit that this version was built from.\n\nIf you have installed Manticore from a Manticore APT/YUM repository, you can use one of the following tools:\n* `debuginfo-install` in CentOS 7\n* `dnf debuginfo-install` CentOS 8\n* `find-dbgsym-packages` in Debian and Ubuntu\n\nto find a debug symbols package for you.\n\n### How to check the debug symbols exist?\n\n1. Find the build ID in the output of `file /usr/bin/searchd`:\n\nCODE_BLOCK_9\n\nIn this case, the build ID is 2c582e9f564ea1fbeb0c68406c271ba27034a6d3.",
- "translations": {
- "chinese": "# \u62a5\u544a\u9519\u8bef\n\n\u4e0d\u5e78\u7684\u662f\uff0cManticore \u8fd8\u6ca1\u6709\u8fbe\u5230100%\u65e0\u9519\u8bef\u7684\u72b6\u6001\uff0c\u5c3d\u7ba1\u5f00\u53d1\u56e2\u961f\u6b63\u5728\u4e3a\u6b64\u76ee\u6807\u52aa\u529b\u5de5\u4f5c\u3002\u60a8\u53ef\u80fd\u4f1a\u4e0d\u65f6\u9047\u5230\u4e00\u4e9b\u95ee\u9898\u3002\n\u62a5\u544a\u6bcf\u4e2a\u9519\u8bef\u65f6\u63d0\u4f9b\u5c3d\u53ef\u80fd\u591a\u7684\u4fe1\u606f\u5bf9\u4e8e\u6709\u6548\u4fee\u590d\u9519\u8bef\u81f3\u5173\u91cd\u8981\u3002\n\u8981\u4fee\u590d\u4e00\u4e2a\u9519\u8bef\uff0c\u8981\u4e48\u9700\u8981\u91cd\u73b0\u5e76\u4fee\u590d\u5b83\uff0c\u8981\u4e48\u9700\u8981\u6839\u636e\u60a8\u63d0\u4f9b\u7684\u4fe1\u606f\u63a8\u65ad\u51fa\u5176\u539f\u56e0\u3002\u4e3a\u6b64\uff0c\u8bf7\u9075\u5faa\u4ee5\u4e0b\u8bf4\u660e\u3002\n\n### Bug \u8ffd\u8e2a\u5668\n\u9519\u8bef\u548c\u529f\u80fd\u8bf7\u6c42\u90fd\u5728[Github](https://github.com/manticoresoftware/manticore/issues)\u4e0a\u8ddf\u8e2a\u3002\u6b22\u8fce\u60a8\u521b\u5efa\u65b0\u7684\u5de5\u5355\u5e76\u8be6\u7ec6\u63cf\u8ff0\u60a8\u7684\u9519\u8bef\uff0c\u4ee5\u8282\u7701\u60a8\u548c\u5f00\u53d1\u4eba\u5458\u7684\u65f6\u95f4\u3002\n\n### \u6587\u6863\u66f4\u65b0\n\u6587\u6863\u7684\u66f4\u65b0\uff08\u60a8\u6b63\u5728\u9605\u8bfb\u7684\u5185\u5bb9\uff09\u4e5f\u5728[Github](https://github.com/manticoresoftware/manticoresearch/tree/master/manual)\u4e2d\u8fdb\u884c\u3002\n\n### \u5d29\u6e83\n\nManticore Search \u662f\u7528 C++ \u7f16\u5199\u7684\uff0c\u8fd9\u662f\u4e00\u79cd\u4f4e\u7ea7\u7f16\u7a0b\u8bed\u8a00\uff0c\u53ef\u4ee5\u76f4\u63a5\u4e0e\u8ba1\u7b97\u673a\u901a\u4fe1\u4ee5\u63d0\u9ad8\u6027\u80fd\u3002\u7136\u800c\uff0c\u8fd9\u79cd\u65b9\u6cd5\u4e5f\u6709\u7f3a\u70b9\uff0c\u6781\u5c11\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u65e0\u6cd5\u901a\u8fc7\u5199\u9519\u8bef\u5230\u65e5\u5fd7\u5e76\u8df3\u8fc7\u5bfc\u81f4\u95ee\u9898\u7684\u547d\u4ee4\u6765\u4f18\u96c5\u5730\u5904\u7406\u9519\u8bef\u3002\u7a0b\u5e8f\u53ef\u80fd\u4f1a\u5d29\u6e83\uff0c\u5bfc\u81f4\u5b8c\u5168\u505c\u6b62\u5e76\u9700\u8981\u91cd\u542f\u3002\n\n\u5f53 Manticore Search \u5d29\u6e83\u65f6\uff0c\u91cd\u8981\u7684\u662f\u8ba9 Manticore \u56e2\u961f\u77e5\u9053\u8fd9\u4e00\u60c5\u51b5\uff0c\u53ef\u4ee5\u901a\u8fc7\u5728 GitHub \u4e0a[\u63d0\u4ea4\u9519\u8bef\u62a5\u544a](https://github.com/manticoresoftware/manticoresearch/issues/new?assignees=&labels=&template=bug_report.md&title=)\u6216\u901a\u8fc7\u60a8\u79c1\u4eba\u5e2e\u52a9\u53f0\u7684 Manticore \u4e13\u4e1a\u670d\u52a1\u5b8c\u6210\u3002Manticore \u56e2\u961f\u9700\u8981\u4ee5\u4e0b\u4fe1\u606f\uff1a\n\n1. searchd \u65e5\u5fd7\n2. coredump\n3. \u67e5\u8be2\u65e5\u5fd7\n\n\u6b64\u5916\uff0c\u5982\u679c\u60a8\u80fd\u505a\u5230\u4ee5\u4e0b\u51e0\u70b9\uff0c\u5c06\u975e\u5e38\u6709\u5e2e\u52a9\uff1a\n1. \u8fd0\u884c gdb \u68c0\u67e5 coredump\uff1a\nCODE_BLOCK_0\n2. \u5728 coredump \u6587\u4ef6\u540d\u4e2d\u627e\u5230\u5d29\u6e83\u7ebf\u7a0b ID\uff08\u786e\u4fdd /proc/sys/kernel/core_pattern \u5305\u542b `%p`\uff09\uff0c\u4f8b\u5982 `core.work_6.29050.server_name.1637586599` \u8868\u793a thread_id=29050\n3. \u5728 gdb \u4e2d\u8fd0\u884c\uff1a\nCODE_BLOCK_1\n4. \u63d0\u4f9b\u8f93\u51fa\u7ed3\u679c\n\n### \u5f53 Manticore Search \u5361\u6b7b\u65f6\u6211\u8be5\u600e\u4e48\u529e\uff1f\n\n\u5982\u679c Manticore Search \u5361\u6b7b\uff0c\u60a8\u9700\u8981\u6536\u96c6\u4e00\u4e9b\u53ef\u80fd\u6709\u52a9\u4e8e\u7406\u89e3\u539f\u56e0\u7684\u4fe1\u606f\u3002\u65b9\u6cd5\u5982\u4e0b\uff1a\n\n1. \u901a\u8fc7[VIP \u7aef\u53e3](https://manual.manticoresearch.com/Connecting_to_the_server/HTTP#VIP-connection)\u8fd0\u884c `show threads option format=all`\n2. \u6536\u96c6 lsof \u547d\u4ee4\u8f93\u51fa\uff0c\u56e0\u4e3a\u5361\u6b7b\u53ef\u80fd\u7531\u8fc7\u591a\u8fde\u63a5\u6216\u6253\u5f00\u7684\u6587\u4ef6\u63cf\u8ff0\u7b26\u5f15\u8d77\u3002\nCODE_BLOCK_2\n3. \u5bfc\u51fa core\uff1a\nCODE_BLOCK_3\n\uff08\u8fd9\u5c06\u5728\u5f53\u524d\u76ee\u5f55\u4fdd\u5b58\u8f6c\u50a8\u6587\u4ef6\u3002\uff09\n\n4. \u5b89\u88c5\u5e76\u8fd0\u884c gdb\uff1a\nCODE_BLOCK_4\n\u6ce8\u610f\uff0c\u8fd9\u4f1a\u505c\u6b62\u6b63\u5728\u8fd0\u884c\u7684 searchd\uff0c\u4f46\u5982\u679c\u5b83\u5df2\u7ecf\u5361\u6b7b\uff0c\u8fd9\u4e0d\u5e94\u8be5\u662f\u95ee\u9898\u3002\n5. \u5728 gdb \u4e2d\u8fd0\u884c\uff1a\nCODE_BLOCK_5\n6. \u6536\u96c6\u6240\u6709\u8f93\u51fa\u548c\u6587\u4ef6\uff0c\u5e76\u5728\u9519\u8bef\u62a5\u544a\u4e2d\u63d0\u4f9b\u3002\n\n\u4e13\u5bb6\u63d0\u793a\uff1a\u5728[\u6b64\u63d0\u4ea4](https://github.com/manticoresoftware/manticoresearch/commit/e317f7aa30aad51cb19d34595458bb7c8811be21)\u4e2d\u6dfb\u52a0\u7684\u5b8f\u5bf9\u8c03\u8bd5\u5f88\u6709\u5e2e\u52a9\u3002\n\n### \u5982\u4f55\u542f\u7528\u5d29\u6e83\u65f6\u4fdd\u5b58 coredump\uff1f\n\n* \u786e\u4fdd\u4ee5 `--coredump` \u53c2\u6570\u8fd0\u884c searchd\u3002\u4e3a\u4e86\u907f\u514d\u4fee\u6539\u811a\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528 https://manual.manticoresearch.com/Starting_the_server/Linux#Custom-startup-flags-using-systemd \u65b9\u6cd5\u3002\u4f8b\u5982::\n\nCODE_BLOCK_6\n\n* \u786e\u4fdd\u64cd\u4f5c\u7cfb\u7edf\u5141\u8bb8\u4fdd\u5b58 core dumps\uff0c\u68c0\u67e5 `/proc/sys/kernel/core_pattern` \u4e0d\u4e3a\u7a7a\u3002\u8fd9\u662f core dump \u7684\u4fdd\u5b58\u4f4d\u7f6e\u3002\u4e3a\u4e86\u5c06 core dumps \u4fdd\u5b58\u5230\u7c7b\u4f3c `core.searchd.1773.centos-4gb-hel1-1.1636454937` \u7684\u6587\u4ef6\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a\nCODE_BLOCK_7\n\n* searchd \u5e94\u4ee5 `ulimit -c unlimited` \u542f\u52a8\u3002\u5982\u679c\u60a8\u4f7f\u7528 systemctl \u542f\u52a8 Manticore\uff0cmanticore.service \u6587\u4ef6\u4e2d\u7684\u4ee5\u4e0b\u884c\u4f1a\u81ea\u52a8\u5c06\u9650\u5236\u8bbe\u7f6e\u4e3a\u65e0\u9650\u5236\uff1a\nCODE_BLOCK_8\n\n### \u5982\u4f55\u5b89\u88c5\u8c03\u8bd5\u7b26\u53f7\uff1f\n\nManticore Search \u548c Manticore Columnar Library \u662f\u7528 C++ \u7f16\u5199\u7684\uff0c\u751f\u6210\u9488\u5bf9\u64cd\u4f5c\u7cfb\u7edf\u4f18\u5316\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002\u4f46\u662f\u5728\u8fd0\u884c\u4e8c\u8fdb\u5236\u6587\u4ef6\u65f6\uff0c\u7cfb\u7edf\u65e0\u6cd5\u5b8c\u5168\u8bbf\u95ee\u53d8\u91cf\u3001\u51fd\u6570\u3001\u65b9\u6cd5\u548c\u7c7b\u7684\u540d\u79f0\u3002\u8fd9\u4e9b\u4fe1\u606f\u5305\u542b\u5728\u72ec\u7acb\u7684\u201c\u8c03\u8bd5\u4fe1\u606f\u201d\u6216\u201c\u7b26\u53f7\u5305\u201d\u4e2d\u3002\n\n\u8c03\u8bd5\u7b26\u53f7\u5bf9\u4e8e\u6545\u969c\u6392\u67e5\u548c\u8c03\u8bd5\u81f3\u5173\u91cd\u8981\uff0c\u56e0\u4e3a\u5b83\u4eec\u5141\u8bb8\u60a8\u67e5\u770b\u5d29\u6e83\u65f6\u7684\u7cfb\u7edf\u72b6\u6001\uff0c\u5305\u62ec\u51fd\u6570\u540d\u3002Manticore Search \u63d0\u4f9b\u4e86 searchd \u65e5\u5fd7\u4e2d\u7684\u56de\u6eaf\u4fe1\u606f\uff0c\u5982\u679c\u4f7f\u7528 --coredump \u8fd0\u884c\uff0c\u8fd8\u4f1a\u751f\u6210 coredump\u3002\u6ca1\u6709\u7b26\u53f7\u6587\u4ef6\uff0c\u60a8\u5c06\u53ea\u80fd\u770b\u5230\u5185\u90e8\u504f\u79fb\uff0c\u4f7f\u5f97\u89e3\u6790\u5d29\u6e83\u539f\u56e0\u56f0\u96be\u751a\u81f3\u4e0d\u53ef\u80fd\u3002\u5982\u679c\u9700\u8981\u5c31\u5d29\u6e83\u63d0\u4ea4\u9519\u8bef\u62a5\u544a\uff0cManticore \u56e2\u961f\u5e38\u5e38\u8981\u6c42\u63d0\u4f9b\u8c03\u8bd5\u7b26\u53f7\u4ee5\u534f\u52a9\u5904\u7406\u3002\n\n\u8981\u5b89\u88c5 Manticore Search/Manticore Columnar Library \u7684\u8c03\u8bd5\u7b26\u53f7\uff0c\u60a8\u9700\u5b89\u88c5\u76f8\u5e94\u7248\u672c\u7684 `*debuginfo*` \u5305\uff08CentOS\uff09\uff0c\u6216 `*dbgsym*` \u5305\uff08Ubuntu \u548c Debian\uff09\uff0c\u6216 `*dbgsymbols*` \u5305\uff08Windows \u548c macOS\uff09\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u5728 CentOS 8 \u4e0a\u5b89\u88c5\u4e86 Manticore Search \u5305 https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-4.0.2_210921.af497f245-1.el8.x86_64.rpm \uff0c\u76f8\u5e94\u7684\u5e26\u7b26\u53f7\u5305\u662f https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-debuginfo-4.0.2_210921.af497f245-1.el8.x86_64.rpm\n\n\u8bf7\u6ce8\u610f\uff0c\u8fd9\u4e24\u4e2a\u5305\u62e5\u6709\u76f8\u540c\u7684\u63d0\u4ea4 ID `af497f245`\uff0c\u5bf9\u5e94\u6784\u5efa\u6b64\u7248\u672c\u7684\u63d0\u4ea4\u3002\n\n\u5982\u679c\u60a8\u901a\u8fc7 Manticore APT/YUM \u4ed3\u5e93\u5b89\u88c5\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u5de5\u5177\u4e4b\u4e00\uff1a\n* CentOS 7 \u4e2d\u7684 `debuginfo-install`\n* CentOS 8 \u4e2d\u7684 `dnf debuginfo-install`\n* Debian \u548c Ubuntu \u4e2d\u7684 `find-dbgsym-packages`\n\n\u6765\u67e5\u627e\u8c03\u8bd5\u7b26\u53f7\u5305\u3002\n\n### \u5982\u4f55\u68c0\u67e5\u8c03\u8bd5\u7b26\u53f7\u662f\u5426\u5b58\u5728\uff1f\n\n1. \u5728 `file /usr/bin/searchd` \u7684\u8f93\u51fa\u4e2d\u627e\u5230\u6784\u5efa ID\uff1a\n\nCODE_BLOCK_9\n\n\u6b64\u4f8b\u4e2d\uff0c\u6784\u5efa ID \u4e3a 2c582e9f564ea1fbeb0c68406c271ba27034a6d3\u3002",
- "russian": "# \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445\n\n\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, Manticore \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430 100% \u0441\u0432\u043e\u0431\u043e\u0434\u0435\u043d \u043e\u0442 \u043e\u0448\u0438\u0431\u043e\u043a, \u0445\u043e\u0442\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0443\u0441\u0435\u0440\u0434\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430\u0434 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0435\u043c \u044d\u0442\u043e\u0439 \u0446\u0435\u043b\u0438. \u0421\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u043c\u0438.\n\u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e \u0441\u043e\u043e\u0431\u0449\u0430\u0442\u044c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043a\u0430\u0436\u0434\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0435, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0435\u0451 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e.\n\u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443, \u0435\u0451 \u043b\u0438\u0431\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043b\u0438\u0431\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043f\u0440\u0438\u0447\u0438\u043d\u0443 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0432\u0430\u043c\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u0414\u043b\u044f \u043f\u043e\u043c\u043e\u0449\u0438 \u0432 \u044d\u0442\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438.\n\n### \u0422\u0440\u0435\u043a\u0435\u0440 \u043e\u0448\u0438\u0431\u043e\u043a\n\u041e\u0448\u0438\u0431\u043a\u0438 \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u0430 [Github](https://github.com/manticoresoftware/manticore/issues). \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0430\u0448\u0443 \u043e\u0448\u0438\u0431\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u0438 \u0441\u0435\u0431\u0435, \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c.\n\n### \u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438\n\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 (\u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430), \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043d\u0430 [Github](https://github.com/manticoresoftware/manticoresearch/tree/master/manual).\n\n### \u0421\u0431\u043e\u0438\n\nManticore Search \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 C++, \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u043c \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u041e\u0434\u043d\u0430\u043a\u043e \u0443 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0435\u0441\u0442\u044c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a: \u0432 \u0440\u0435\u0434\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443, \u0437\u0430\u043f\u0438\u0441\u0430\u0432 \u0435\u0451 \u0432 \u043b\u043e\u0433 \u0438 \u043f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0443, \u0432\u044b\u0437\u0432\u0430\u0432\u0448\u0443\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043c\u043e\u0436\u0435\u0442 \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u0442 \u043a \u043f\u043e\u043b\u043d\u043e\u043c\u0443 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0443 \u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430.\n\n\u041f\u0440\u0438 \u0441\u0431\u043e\u0435 Manticore Search \u0432\u0430\u0436\u043d\u043e \u043e\u043f\u043e\u0432\u0435\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 Manticore, [\u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u043e\u0442\u0447\u0435\u0442 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435](https://github.com/manticoresoftware/manticoresearch/issues/new?assignees=&labels=&template=bug_report.md&title=) \u043d\u0430 GitHub \u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 Manticore \u0432 \u0432\u0430\u0448\u0435\u043c \u043b\u0438\u0447\u043d\u043e\u043c \u0445\u0435\u043b\u043f\u0434\u0435\u0441\u043a\u0435. \u041a\u043e\u043c\u0430\u043d\u0434\u0435 Manticore \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f:\n\n1. \u041b\u043e\u0433 searchd\n2. \u0424\u0430\u0439\u043b coredump\n3. \u041b\u043e\u0433 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432\n\n\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u0435\u0441\u043b\u0438 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:\n1. \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 gdb \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 coredump:\nCODE_BLOCK_0\n2. \u041d\u0430\u0439\u0434\u0438\u0442\u0435 ID \u0443\u043f\u0430\u0432\u0448\u0435\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u0438\u043c\u0435\u043d\u0438 \u0444\u0430\u0439\u043b\u0430 coredump (\u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c `%p` \u0432 /proc/sys/kernel/core_pattern), \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, `core.work_6.29050.server_name.1637586599` \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 thread_id=29050\n3. \u0412 gdb \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435:\nCODE_BLOCK_1\n4. \u041f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432\u044b\u0432\u043e\u0434\u044b\n\n### \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 Manticore Search \u0437\u0430\u0432\u0438\u0441?\n\n\u0415\u0441\u043b\u0438 Manticore Search \u0437\u0430\u0432\u0438\u0441, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u043f\u043e\u043d\u044f\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u0443. \u0412\u043e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:\n\n1. \u0412\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 `show threads option format=all` \u0447\u0435\u0440\u0435\u0437 [VIP \u043f\u043e\u0440\u0442](https://manual.manticoresearch.com/Connecting_to_the_server/HTTP#VIP-connection)\n2. \u0421\u043e\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u044b\u0432\u043e\u0434 lsof, \u0442\u0430\u043a \u043a\u0430\u043a \u0437\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u0437\u0432\u0430\u043d\u044b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 \u0438\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0445 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u043e\u0432 \u0444\u0430\u0439\u043b\u043e\u0432.\nCODE_BLOCK_2\n3. \u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0434\u0430\u043c\u043f \u043f\u0430\u043c\u044f\u0442\u0438 (core dump):\nCODE_BLOCK_3\n(\u041e\u043d \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d \u0432 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e.)\n\n4. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 gdb:\nCODE_BLOCK_4\n\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u044d\u0442\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0439 searchd, \u043d\u043e \u0435\u0441\u043b\u0438 \u043e\u043d \u0443\u0436\u0435 \u0437\u0430\u0432\u0438\u0441, \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430.\n5. \u0412 gdb \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435:\nCODE_BLOCK_5\n6. \u0421\u043e\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0441\u0435 \u0432\u044b\u0432\u043e\u0434\u044b \u0438 \u0444\u0430\u0439\u043b\u044b \u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0438\u0445 \u0432 \u043e\u0442\u0447\u0451\u0442\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435.\n\n\u0414\u043b\u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043e\u0432: \u043c\u0430\u043a\u0440\u043e\u0441\u044b, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 [\u044d\u0442\u043e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442](https://github.com/manticoresoftware/manticoresearch/commit/e317f7aa30aad51cb19d34595458bb7c8811be21), \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u044b \u043f\u0440\u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0435.\n\n### \u041a\u0430\u043a \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 coredump \u043f\u0440\u0438 \u0441\u0431\u043e\u0435?\n\n* \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0435 searchd \u0441 `--coredump`. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u043c\u0435\u043d\u044f\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 https://manual.manticoresearch.com/Starting_the_server/Linux#Custom-startup-flags-using-systemd. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440::\n\nCODE_BLOCK_6\n\n* \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0432\u0430\u0448\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0434\u0430\u043c\u043f\u044b \u043f\u0430\u043c\u044f\u0442\u0438, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0432, \u0447\u0442\u043e: `/proc/sys/kernel/core_pattern` \u043d\u0435 \u043f\u0443\u0441\u0442. \u042d\u0442\u043e \u043f\u0443\u0442\u044c, \u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c\u0441\u044f core dumps. \u0427\u0442\u043e\u0431\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0434\u0430\u043c\u043f\u044b \u043f\u0430\u043c\u044f\u0442\u0438 \u0432 \u0444\u0430\u0439\u043b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 `core.searchd.1773.centos-4gb-hel1-1.1636454937`, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:\nCODE_BLOCK_7\n\n* searchd \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f \u0441 `ulimit -c unlimited`. \u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0435 Manticore \u0447\u0435\u0440\u0435\u0437 systemctl, \u043b\u0438\u043c\u0438\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0432 manticore.service \u0441\u0442\u0440\u043e\u043a\u0435:\nCODE_BLOCK_8\n\n### \u041a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b?\n\nManticore Search \u0438 Manticore Columnar Library \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 C++, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0445 \u043d\u0430 \u0432\u0430\u0448\u0435\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0430 \u0432\u0430\u0448\u0430 \u041e\u0421 \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0438\u043c\u0435\u043d\u0430\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445, \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u043a\u043b\u0430\u0441\u0441\u043e\u0432. \u042d\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u0430\u0445 \"debuginfo\" \u0438\u043b\u0438 \"symbol\".\n\n\u041e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b \u0434\u043b\u044f \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043d\u0435\u0438\u0441\u043f\u0440\u0430\u0432\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0431\u043e\u044f, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0438\u043c\u0435\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439. Manticore Search \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u0432 \u043b\u043e\u0433\u0435 searchd \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 coredump, \u0435\u0441\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0444\u043b\u0430\u0433\u043e\u043c --coredump. \u0411\u0435\u0437 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f, \u0447\u0442\u043e \u0437\u0430\u0442\u0440\u0443\u0434\u043d\u0438\u0442 \u0438\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u044b \u0441\u0431\u043e\u044f. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0447\u0435\u0442 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0441\u0431\u043e\u044f, \u043a\u043e\u043c\u0430\u043d\u0434\u0430 Manticore \u0447\u0430\u0441\u0442\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0434\u043b\u044f \u043f\u043e\u043c\u043e\u0449\u0438.\n\n\u0427\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0434\u043b\u044f Manticore Search/Manticore Columnar Library, \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u043a\u0435\u0442 `*debuginfo*` \u0434\u043b\u044f CentOS, \u043f\u0430\u043a\u0435\u0442 `*dbgsym*` \u0434\u043b\u044f Ubuntu \u0438 Debian \u0438\u043b\u0438 \u043f\u0430\u043a\u0435\u0442 `*dbgsymbols*` \u0434\u043b\u044f Windows \u0438 macOS. \u042d\u0442\u0438 \u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e Manticore. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Manticore Search \u0432 CentOS 8 \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-4.0.2_210921.af497f245-1.el8.x86_64.rpm, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043f\u0430\u043a\u0435\u0442 \u0441 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 \u0431\u0443\u0434\u0435\u0442 https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-debuginfo-4.0.2_210921.af497f245-1.el8.x86_64.rpm\n\n\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043e\u0431\u0430 \u043f\u0430\u043a\u0435\u0442\u0430 \u0438\u043c\u0435\u044e\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 commit id `af497f245`, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u043c\u043c\u0438\u0442\u0443, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u044b\u043b\u0430 \u0441\u043e\u0431\u0440\u0430\u043d\u0430 \u044d\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f.\n\n\u0415\u0441\u043b\u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Manticore \u0438\u0437 APT/YUM \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432:\n* `debuginfo-install` \u0432 CentOS 7\n* `dnf debuginfo-install` \u0432 CentOS 8\n* `find-dbgsym-packages` \u0432 Debian \u0438 Ubuntu\n\n\u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u043f\u0430\u043a\u0435\u0442 \u0441 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u043c\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438.\n\n### \u041a\u0430\u043a \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b?\n\n1. \u041d\u0430\u0439\u0434\u0438\u0442\u0435 build ID \u0432 \u0432\u044b\u0432\u043e\u0434\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b `file /usr/bin/searchd`:\n\nCODE_BLOCK_9\n\n\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 build ID \u2014 2c582e9f564ea1fbeb0c68406c271ba27034a6d3."
- },
- "is_code_or_comment": false,
- "model": "openai:gpt-4.1-mini",
- "updated_at": 1766369489
- },
- "__meta": {
- "source_text": "# Reporting bugs\n\nUnfortunately, Manticore is not yet 100% bug-free, although the development team is working hard towards that goal. You may encounter some issues from time to time.\nIt is crucial to report as much information as possible about each bug to fix it effectively.\nTo fix a bug, either it needs to be reproduced and fixed or its cause needs to be deduced based on the information you provide. To help with this, please follow the instructions below.\n\n### Bug-tracker\nBugs and feature requests are tracked on [Github](https://github.com/manticoresoftware/manticore/issues). You are welcome to create a new ticket and describe your bug in detail to save time for both you and the developers.\n\n### Documentation updates\nUpdates to the documentation (what you are reading now) are also done on [Github](https://github.com/manticoresoftware/manticoresearch/tree/master/manual).\n\n### Crashes\n\nManticore Search is written in C++, which is a low-level programming language that allows for direct communication with the computer for faster performance. However, there is a drawback to this approach as in rare cases, it may not be possible to elegantly handle a bug by writing an error to a log and skipping the processing of the command that caused the problem. Instead, the program may crash, resulting in it stopping completely and needing to be restarted.\n\nWhen Manticore Search crashes, it is important to let the Manticore team know by [submitting a bug report](https://github.com/manticoresoftware/manticoresearch/issues/new?assignees=&labels=&template=bug_report.md&title=) on GitHub or through Manticore's professional services in your private helpdesk. The Manticore team requires the following information:\n\n1. The searchd log\n2. The coredump\n3. The query log\n\nAdditionally, it would be helpful if you could do the following:\n1. Run gdb to inspect the coredump:\n```\ngdb /usr/bin/searchd </path/to/coredump>\n```\n2. Find the crashed thread ID in the coredump file name (make sure you have `%p` in /proc/sys/kernel/core_pattern), e.g. `core.work_6.29050.server_name.1637586599` means thread_id=29050\n3. In gdb run:\n```\nset pagination off\ninfo threads\n# find thread number by it's id (e.g. for `LWP 29050` it will be thread number 8\nthread apply all bt\nthread <thread number>\nbt full\ninfo locals\nquit\n```\n4. Provide the outputs\n\n### What do I do when Manticore Search hangs?\n\nIf Manticore Search hangs, you need to collect some information that may be useful in understanding the cause. Here's how you can do it:\n\n1. Run `show threads option format=all` trough a [VIP port](https://manual.manticoresearch.com/Connecting_to_the_server/HTTP#VIP-connection)\n2. collect the lsof output output, as hanging can be caused by too many connections or open file descriptors.\n```\nlsof -p `cat /run/manticore/searchd.pid`\n```\n3. Dump the core:\n```\ngcore `cat /run/manticore/searchd.pid`\n```\n(It will save the dump to the current directory.)\n\n4. Install and run gdb:\n```\ngdb /usr/bin/searchd `cat /run/manticore/searchd.pid`\n```\nNote that this will halt your running searchd, but if it's already hanging, it shouldn't be a problem.\n5. In gdb run:\n```\nset pagination off\ninfo threads\nthread apply all bt\nquit\n```\n6. Collect all the outputs and files and provide them in a bug report.\n\nFor experts: the macros added in [this commit](https://github.com/manticoresoftware/manticoresearch/commit/e317f7aa30aad51cb19d34595458bb7c8811be21) can be helpful in debugging.\n\n### How to enable saving coredumps on crash?\n\n* make sure you run searchd with `--coredump`. To avoid modifying scripts, you can use the https://manual.manticoresearch.com/Starting_the_server/Linux#Custom-startup-flags-using-systemd , method. For example::\n\n```\n[root@srv lib]# systemctl set-environment _ADDITIONAL_SEARCHD_PARAMS='--coredump'\n[root@srv lib]# systemctl restart manticore\n[root@srv lib]# ps aux|grep searchd\nmantico+ 1955 0.0 0.0 61964 1580 ? S 11:02 0:00 /usr/bin/searchd --config /etc/manticoresearch/manticore.conf --coredump\nmantico+ 1956 0.6 0.0 392744 2664 ? Sl 11:02 0:00 /usr/bin/searchd --config /etc/manticoresearch/manticore.conf --coredump\n```\n\n* Ensure that your operating system allows you to save core dumps by checking that: `/proc/sys/kernel/core_pattern` is not empty. This is the location where the core dumps will be saved. To save core dumps to a file such as `core.searchd.1773.centos-4gb-hel1-1.1636454937`, run the following command:\n```\necho \"/cores/core.%e.%p.%h.%t\" > /proc/sys/kernel/core_pattern\n```\n\n* searchd should be started with `ulimit -c unlimited`. If you start Manticore using systemctl, it will automatically set the limit to infinity as indicated by the following line in the manticore.service file:\n```\n[root@srv lib]# grep CORE /lib/systemd/system/manticore.service\nLimitCORE=infinity\n```\n\n### How do I install debug symbols?\n\nManticore Search and Manticore Columnar Library are written in C++, which results in compiled binary files that execute optimally on your operating system. However, when running a binary, your system does not have full access to the names of variables, functions, methods, and classes. This information is provided in separate \"debuginfo\" or \"symbol packages.\"\n\nDebug symbols are essential for troubleshooting and debugging, as they allow you to visualize the system state when it crashed, including the names of functions. Manticore Search provides a backtrace in the searchd log and generates a coredump if run with the --coredump flag. Without symbols, all you will see is internal offsets, making it difficult or impossible to decode the cause of the crash. If you need to make a bug report about a crash, the Manticore team will often require debug symbols to assist you.\n\nTo install Manticore Search/Manticore Columnar Library debug symbols, you will need to install the `*debuginfo*` package for CentOS, the `*dbgsym*` package for Ubuntu and Debian, or the `*dbgsymbols*` package for Windows and macOS. These packages should be the same version as the installed Manticore. For example, if you installed Manticore Search in Centos 8 from the package https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-4.0.2_210921.af497f245-1.el8.x86_64.rpm , the corresponding package with symbols would be https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-debuginfo-4.0.2_210921.af497f245-1.el8.x86_64.rpm\n\nNote that both packages have the same commit id `af497f245`, which corresponds to the commit that this version was built from.\n\nIf you have installed Manticore from a Manticore APT/YUM repository, you can use one of the following tools:\n* `debuginfo-install` in CentOS 7\n* `dnf debuginfo-install` CentOS 8\n* `find-dbgsym-packages` in Debian and Ubuntu\n\nto find a debug symbols package for you.\n\n### How to check the debug symbols exist?\n\n1. Find the build ID in the output of `file /usr/bin/searchd`:\n\n```\n[root@srv lib]# file /usr/bin/searchd\n/usr/bin/searchd: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=2c582e9f564ea1fbeb0c68406c271ba27034a6d3, stripped\n```\n\nIn this case, the build ID is 2c582e9f564ea1fbeb0c68406c271ba27034a6d3.\n\n2. Find symbols in `/usr/lib/debug/.build-id` like this:\n\n```\n[root@srv ~]# ls -la /usr/lib/debug/.build-id/2c/582e9f564ea1fbeb0c68406c271ba27034a6d3*\nlrwxrwxrwx. 1 root root 23 Nov 9 10:42 /usr/lib/debug/.build-id/2c/582e9f564ea1fbeb0c68406c271ba27034a6d3 -> ../../../../bin/searchd\nlrwxrwxrwx. 1 root root 27 Nov 9 10:42 /usr/lib/debug/.build-id/2c/582e9f564ea1fbeb0c68406c271ba27034a6d3.debug -> ../../usr/bin/searchd.debug\n```\n\n### Uploading your data\n\n<!-- example s3 -->\nTo fix your bug, developers often need to reproduce it locally. To do this, they need your configuration file, table files, binlog (if present), and sometimes source data (such as data from external storages or XML/CSV files) and queries.\n\nAttach your data when you [create a ticket on Github](https://github.com/manticoresoftware/manticoresearch/issues/new). If the data is too large or sensitive, you can upload it to our write-only S3 storage at `s3://s3.manticoresearch.com/write-only/`.\n\n\nTo do that easily we provide an upload mechanism using a Docker image. This image is built from our open-source repository at [github.com/manticoresoftware/s3-upload](https://github.com/manticoresoftware/s3-upload) and helps you easily upload data to Manticore's write-only S3 storage. Here's how you can do it:\n1. Navigate to the directory containing the files you want to upload and run:\n ```bash\n docker run -it --rm -v $(pwd):/upload manticoresearch/upload\n ```\n2. This will:\n - Ask you to enter the related issue URL/number\n - Upload **all files in the current directory** to our write-only S3 storage\n - At the end, you will see an upload path. Please share this path with the developers.\n\n<!-- intro -->\nExample:\n\n<!-- request Example -->\n```bash\ndocker run -it --rm -v $(pwd):/upload manticoresearch/upload\n```\n\n<!-- response Example -->\n```bash\n\ud83d\ude80 Welcome to Manticore Search Upload Tool! \ud83d\ude80\n\n\ud83d\udcc2 Files to be uploaded:\n tt (800)\n\n\ud83d\udd17 Please enter the related issue URL/number\n(e.g., https://github.com/manticoresoftware/manticoresearch/issues/123 or just 123):\n123\n\n\ud83d\udce4 Starting upload process...\nINFO: Cache file not found or empty, creating/populating it.\nINFO: Compiling list of local files...\nINFO: Running stat() and reading/calculating MD5 values on 23 files, this may take some time...\nINFO: Summary: 23 local files to upload\nupload: './tt/tt.0.spa' -> 's3://write-only/issue-20250219-123/tt/tt.0.spa' [1 of 23]\n 40 of 40 100% in 2s 15.03 B/s done\nupload: './tt/tt.0.spd' -> 's3://write-only/issue-20250219-123/tt/tt.0.spd' [2 of 23]\n 1 of 1 100% in 0s 1.99 B/s done\nupload: './tt/tt.0.spe' -> 's3://write-only/issue-20250219-123/tt/tt.0.spe' [3 of 23]\n 1 of 1 100% in 0s 2.02 B/s done\nupload: './tt/tt.0.sph' -> 's3://write-only/issue-20250219-123/tt/tt.0.sph' [4 of 23]\n 420 of 420 100% in 0s 895.32 B/s done\nupload: './tt/tt.0.sphi' -> 's3://write-only/issue-20250219-123/tt/tt.0.sphi' [5 of 23]\n 66 of 66 100% in 0s 142.67 B/s done\nupload: './tt/tt.0.spi' -> 's3://write-only/issue-20250219-123/tt/tt.0.spi' [6 of 23]\n 18 of 18 100% in 0s 39.13 B/s done\nupload: './tt/tt.0.spidx' -> 's3://write-only/issue-20250219-123/tt/tt.0.spidx' [7 of 23]\n 145 of 145 100% in 0s 313.38 B/s done\nupload: './tt/tt.0.spm' -> 's3://write-only/issue-20250219-123/tt/tt.0.spm' [8 of 23]\n 4 of 4 100% in 0s 8.36 B/s done\nupload: './tt/tt.0.spp' -> 's3://write-only/issue-20250219-123/tt/tt.0.spp' [9 of 23]\n 1 of 1 100% in 0s 2.15 B/s done\nupload: './tt/tt.0.spt' -> 's3://write-only/issue-20250219-123/tt/tt.0.spt' [10 of 23]\n 36 of 36 100% in 0s 78.35 B/s done\nupload: './tt/tt.1.spa' -> 's3://write-only/issue-20250219-123/tt/tt.1.spa' [11 of 23]\n 48 of 48 100% in 0s 81.35 B/s done\nupload: './tt/tt.1.spd' -> 's3://write-only/issue-20250219-123/tt/tt.1.spd' [12 of 23]\n 1 of 1 100% in 0s 1.65 B/s done\nupload: './tt/tt.1.spe' -> 's3://write-only/issue-20250219-123/tt/tt.1.spe' [13 of 23]\n 1 of 1 100% in 0s 1.95 B/s done\nupload: './tt/tt.1.sph' -> 's3://write-only/issue-20250219-123/tt/tt.1.sph' [14 of 23]\n 420 of 420 100% in 0s 891.58 B/s done\nupload: './tt/tt.1.sphi' -> 's3://write-only/issue-20250219-123/tt/tt.1.sphi' [15 of 23]\n 82 of 82 100% in 0s 166.42 B/s done\nupload: './tt/tt.1.spi' -> 's3://write-only/issue-20250219-123/tt/tt.1.spi' [16 of 23]\n 18 of 18 100% in 0s 39.46 B/s done\nupload: './tt/tt.1.spidx' -> 's3://write-only/issue-20250219-123/tt/tt.1.spidx' [17 of 23]\n 183 of 183 100% in 0s 374.04 B/s done\nupload: './tt/tt.1.spm' -> 's3://write-only/issue-20250219-123/tt/tt.1.spm' [18 of 23]\n 4 of 4 100% in 0s 8.42 B/s done\nupload: './tt/tt.1.spp' -> 's3://write-only/issue-20250219-123/tt/tt.1.spp' [19 of 23]\n 1 of 1 100% in 0s 1.28 B/s done\nupload: './tt/tt.1.spt' -> 's3://write-only/issue-20250219-123/tt/tt.1.spt' [20 of 23]\n 50 of 50 100% in 1s 34.60 B/s done\nupload: './tt/tt.lock' -> 's3://write-only/issue-20250219-123/tt/tt.lock' [21 of 23]\n 0 of 0 0% in 0s 0.00 B/s done\nupload: './tt/tt.meta' -> 's3://write-only/issue-20250219-123/tt/tt.meta' [22 of 23]\n 456 of 456 100% in 0s 923.34 B/s done\nupload: './tt/tt.settings' -> 's3://write-only/issue-20250219-123/tt/tt.settings' [23 of 23]\n 3 of 3 100% in 0s 6.41 B/s done\n\n\u2705 Upload complete!\n\ud83d\udccb Please share this path with the developers:\nissue-20250219-123\n\n\ud83d\udca1 Tip: Make sure to include this path when communicating with the Manticore team\n```\n<!-- end -->\n\nAlternatively, you can use the S3 [Minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) or the Amazon [s3cmd](https://s3tools.org/s3cmd) tool to do the same, e.g.:\n\n1. Install the client https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc\nFor example on 64-bit Linux:\n ```\n curl https://dl.min.io/client/mc/release/linux-amd64/mc \\\n --create-dirs \\\n -o $HOME/minio-binaries/mc\n chmod +x $HOME/minio-binaries/mc\n export PATH=$PATH:$HOME/minio-binaries/\n ```\n2. Add our s3 host (use full path to executable or change into its directory): `cd $HOME/minio-binaries` and then `./mc alias set manticore http://s3.manticoresearch.com:9000 manticore manticore`\n3. Copy your files (use full path to executable or change into its directory): `cd $HOME/minio-binaries` and then `./mc cp -r issue-1234/ manticore/write-only/issue-1234` . Make sure the folder name is unique and best if it corresponds to the issue on GitHub where you described the bug.\n\n### DEBUG\n\n```sql\nDEBUG [ subcommand ]\n```\n\nThe `DEBUG` statement is designed for developers and testers to call various internal or VIP commands. However, it is not intended for production use as the syntax of the `subcommand` component may change freely in any build.\n\nTo view a list of useful commands and `DEBUG` statement subcommands available in the current context, simply call `DEBUG` without any parameters.\n\n```sql\nmysql> debug;\n+-------------------------------------------------------------------------+----------------------------------------------------------------------------------------+\n| command | meaning |\n+-------------------------------------------------------------------------+----------------------------------------------------------------------------------------+\n| flush logs | emulate USR1 signal |\n| reload indexes | emulate HUP signal |\n| debug token <password> | calculate token for password |\n| debug malloc_stats | perform 'malloc_stats', result in searchd.log |\n| debug malloc_trim | pefrorm 'malloc_trim' call |\n| debug sleep <N> | sleep for <N> seconds |\n| debug tasks | display global tasks stat (use select from @@system.tasks instead) |\n| debug sched | display task manager schedule (use select from @@system.sched instead) |\n| debug merge <TBL> [chunk] <X> [into] [chunk] <Y> [option sync=1,byid=0] | For RT table <TBL> merge disk chunk X into disk chunk Y |\n| debug drop [chunk] <X> [from] <TBL> [option sync=1] | For RT table <TBL> drop disk chunk X |\n| debug files <TBL> [option format=all|external] | list files belonging to <TBL>. 'all' - including external (wordforms, stopwords, etc.) |\n| debug close | ask server to close connection from it's side |\n| debug compress <TBL> [chunk] <X> [option sync=1] | Compress disk chunk X of RT table <TBL> (wipe out deleted documents) |\n| debug split <TBL> [chunk] <X> on @<uservar> [option sync=1] | Split disk chunk X of RT table <TBL> using set of DocIDs from @uservar |\n| debug wait <cluster> [like 'xx'] [option timeout=3] | wait <cluster> ready, but no more than 3 secs. |\n| debug wait <cluster> status <N> [like 'xx'] [option timeout=13] | wait <cluster> commit achieve <N>, but no more than 13 secs |\n| debug meta | Show max_matches/pseudo_shards. Needs set profiling=1 |\n| debug trace OFF|'path/to/file' [<N>] | trace flow to file until N bytes written, or 'trace OFF' |\n| debug curl <URL> | request given url via libcurl |\n+-------------------------------------------------------------------------+----------------------------------------------------------------------------------------+\n19 rows in set (0.00 sec)\n```\n\nSame from VIP connection:\n```sql\nmysql> debug;\n+-------------------------------------------------------------------------+----------------------------------------------------------------------------------------+\n| command | meaning |\n+-------------------------------------------------------------------------+----------------------------------------------------------------------------------------+\n| flush logs | emulate USR1 signal |\n| reload indexes | emulate HUP signal |\n| debug shutdown <password> | emulate TERM signal |\n| debug crash <password> | crash daemon (make SIGSEGV action) |\n| debug token <password> | calculate token for password |\n| debug malloc_stats | perform 'malloc_stats', result in searchd.log |\n| debug malloc_trim | pefrorm 'malloc_trim' call |\n| debug procdump | ask watchdog to dump us |\n| debug setgdb on|off | enable or disable potentially dangerous crash dumping with gdb |\n| debug setgdb status | show current mode of gdb dumping |\n| debug sleep <N> | sleep for <N> seconds |\n| debug tasks | display global tasks stat (use select from @@system.tasks instead) |\n| debug sched | display task manager schedule (use select from @@system.sched instead) |\n| debug merge <TBL> [chunk] <X> [into] [chunk] <Y> [option sync=1,byid=0] | For RT table <TBL> merge disk chunk X into disk chunk Y |\n| debug drop [chunk] <X> [from] <TBL> [option sync=1] | For RT table <TBL> drop disk chunk X |\n| debug files <TBL> [option format=all|external] | list files belonging to <TBL>. 'all' - including external (wordforms, stopwords, etc.) |\n| debug close | ask server to close connection from it's side |\n| debug compress <TBL> [chunk] <X> [option sync=1] | Compress disk chunk X of RT table <TBL> (wipe out deleted documents) |\n| debug split <TBL> [chunk] <X> on @<uservar> [option sync=1] | Split disk chunk X of RT table <TBL> using set of DocIDs from @uservar |\n| debug wait <cluster> [like 'xx'] [option timeout=3] | wait <cluster> ready, but no more than 3 secs. |\n| debug wait <cluster> status <N> [like 'xx'] [option timeout=13] | wait <cluster> commit achieve <N>, but no more than 13 secs |\n| debug meta | Show max_matches/pseudo_shards. Needs set profiling=1 |\n| debug trace OFF|'path/to/file' [<N>] | trace flow to file until N bytes written, or 'trace OFF' |\n| debug curl <URL> | request given url via libcurl |\n+-------------------------------------------------------------------------+----------------------------------------------------------------------------------------+\n24 rows in set (0.00 sec)\n```\n\nAll `debug XXX` commands should be regarded as non-stable and subject to modification at any time, so don't be surprised if they change. This example output may not reflect the actual available commands, so try it on your system to see what is available on your instance. Additionally, there is no detailed documentation provided aside from this short 'meaning' column.\n\nAs a quick illustration, two commands available only to VIP clients are described below - shutdown and crash. Both require a token, which can be generated with the debug token subcommand, and added to the [shutdown_token](Server_settings/Searchd.md#shutdown_token) param in the searchd section of the config file. If no such section exists, or if the provided password hash does not match the token stored in the config, the subcommands will do nothing.\n\n```sql\nmysql> debug token hello;\n+-------------+------------------------------------------+\n| command | result |\n+-------------+------------------------------------------+\n| debug token | aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d |\n+-------------+------------------------------------------+\n1 row in set (0,00 sec)\n```\n\nThe subcommand `shutdown` will send a TERM signal to the server, causing it to shut down. This can be dangerous, as nobody wants to accidentally stop a production service. Therefore, it requires a VIP connection and the password to be used.\n\nThe subcommand `crash` literally causes a crash. It may be used for testing purposes, such as to test how the system manager maintains the service's liveness or to test the feasibility of tracking coredumps.\n\nIf some commands are found to be useful in a more general context, they may be moved from the debug subcommands to a more stable and generic location (as exemplified by the `debug tasks` and `debug sched` in the table).\n\n<!-- proofread -->\n\n",
- "updated_at": 1768901647,
- "source_md5": "62370a645e5bb3637c8a11f3c332bf00",
- "source_snapshot": "/private/var/folders/19/fcmvcvj57qg026vpv2z93rg80000gn/T/translator-source-7phjf0hc22rp5t4cDQk"
- },
- "03d0986836c008b8e6119c658faf5c2c348b91a6e235a7b2be5b5836ceb4b2c4": {
- "original": "2. Find symbols in `/usr/lib/debug/.build-id` like this:\n\nCODE_BLOCK_10\n\n### Uploading your data\n\n<!-- example s3 -->\nTo fix your bug, developers often need to reproduce it locally. To do this, they need your configuration file, table files, binlog (if present), and sometimes source data (such as data from external storages or XML/CSV files) and queries.\n\nAttach your data when you [create a ticket on Github](https://github.com/manticoresoftware/manticoresearch/issues/new). If the data is too large or sensitive, you can upload it to our write-only S3 storage at `s3://s3.manticoresearch.com/write-only/`.\n\nTo do that easily we provide an upload mechanism using a Docker image. This image is built from our open-source repository at [github.com/manticoresoftware/s3-upload](https://github.com/manticoresoftware/s3-upload) and helps you easily upload data to Manticore's write-only S3 storage. Here's how you can do it:\n1. Navigate to the directory containing the files you want to upload and run:\nCODE_BLOCK_11\n2. This will:\n - Ask you to enter the related issue URL/number\n - Upload **all files in the current directory** to our write-only S3 storage\n - At the end, you will see an upload path. Please share this path with the developers.\n\n<!-- intro -->\nExample:\n\n<!-- request Example -->\nCODE_BLOCK_12\n\n<!-- response Example -->\nCODE_BLOCK_13\n<!-- end -->\n\nAlternatively, you can use the S3 [Minio client](https://min.io/docs/minio/linux/reference/minio-mc.html) or the Amazon [s3cmd](https://s3tools.org/s3cmd) tool to do the same, e.g.:\n\n1. Install the client https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc\nFor example on 64-bit Linux:\nCODE_BLOCK_14\n2. Add our s3 host (use full path to executable or change into its directory): `cd $HOME/minio-binaries` and then `./mc alias set manticore http://s3.manticoresearch.com:9000 manticore manticore`\n3. Copy your files (use full path to executable or change into its directory): `cd $HOME/minio-binaries` and then `./mc cp -r issue-1234/ manticore/write-only/issue-1234` . Make sure the folder name is unique and best if it corresponds to the issue on GitHub where you described the bug.\n\n### DEBUG\n\nCODE_BLOCK_15\n\nThe `DEBUG` statement is designed for developers and testers to call various internal or VIP commands. However, it is not intended for production use as the syntax of the `subcommand` component may change freely in any build.\n\nTo view a list of useful commands and `DEBUG` statement subcommands available in the current context, simply call `DEBUG` without any parameters.\n\nCODE_BLOCK_16\n\nSame from VIP connection:\nCODE_BLOCK_17\n\nAll `debug XXX` commands should be regarded as non-stable and subject to modification at any time, so don't be surprised if they change. This example output may not reflect the actual available commands, so try it on your system to see what is available on your instance. Additionally, there is no detailed documentation provided aside from this short 'meaning' column.\n\nAs a quick illustration, two commands available only to VIP clients are described below - shutdown and crash. Both require a token, which can be generated with the debug token subcommand, and added to the [shutdown_token](Server_settings/Searchd.md#shutdown_token) param in the searchd section of the config file. If no such section exists, or if the provided password hash does not match the token stored in the config, the subcommands will do nothing.\n\nCODE_BLOCK_18\n\nThe subcommand `shutdown` will send a TERM signal to the server, causing it to shut down. This can be dangerous, as nobody wants to accidentally stop a production service. Therefore, it requires a VIP connection and the password to be used.\n\nThe subcommand `crash` literally causes a crash. It may be used for testing purposes, such as to test how the system manager maintains the service's liveness or to test the feasibility of tracking coredumps.\n\nIf some commands are found to be useful in a more general context, they may be moved from the debug subcommands to a more stable and generic location (as exemplified by the `debug tasks` and `debug sched` in the table).\n\n<!-- proofread -->\n\n",
- "translations": {
- "chinese": "2. \u5728 `/usr/lib/debug/.build-id` \u4e2d\u67e5\u627e\u7b26\u53f7\uff0c\u65b9\u6cd5\u5982\u4e0b\uff1a\n\nCODE_BLOCK_10\n\n### \u4e0a\u4f20\u60a8\u7684\u6570\u636e\n\n<!-- example s3 -->\n\u4e3a\u4e86\u89e3\u51b3\u60a8\u7684\u9519\u8bef\uff0c\u5f00\u53d1\u4eba\u5458\u901a\u5e38\u9700\u8981\u5728\u672c\u5730\u91cd\u73b0\u5b83\u3002\u4e3a\u6b64\uff0c\u4ed6\u4eec\u9700\u8981\u60a8\u7684\u914d\u7f6e\u6587\u4ef6\u3001\u8868\u6587\u4ef6\u3001binlog\uff08\u5982\u679c\u5b58\u5728\uff09\uff0c\u6709\u65f6\u8fd8\u9700\u8981\u6e90\u6570\u636e\uff08\u5982\u6765\u81ea\u5916\u90e8\u5b58\u50a8\u6216 XML/CSV \u6587\u4ef6\u7684\u6570\u636e\uff09\u548c\u67e5\u8be2\u3002\n\n\u5f53\u60a8 [\u5728 GitHub \u4e0a\u521b\u5efa\u5de5\u5355](https://github.com/manticoresoftware/manticoresearch/issues/new) \u65f6\uff0c\u8bf7\u9644\u4e0a\u60a8\u7684\u6570\u636e\u3002\u5982\u679c\u6570\u636e\u592a\u5927\u6216\u654f\u611f\uff0c\u60a8\u53ef\u4ee5\u5c06\u5176\u4e0a\u4f20\u5230\u6211\u4eec\u7684\u53ea\u5199 S3 \u5b58\u50a8\u4e2d\uff1a`s3://s3.manticoresearch.com/write-only/`\u3002\n\n\u4e3a\u4e86\u65b9\u4fbf\u60a8\u4e0a\u4f20\uff0c\u6211\u4eec\u63d0\u4f9b\u4e86\u4e00\u4e2a\u4f7f\u7528 Docker \u955c\u50cf\u7684\u4e0a\u4f20\u673a\u5236\u3002\u8be5\u955c\u50cf\u4ece\u6211\u4eec\u7684\u5f00\u6e90\u4ed3\u5e93 [github.com/manticoresoftware/s3-upload](https://github.com/manticoresoftware/s3-upload) \u6784\u5efa\uff0c\u53ef\u5e2e\u52a9\u60a8\u8f7b\u677e\u5c06\u6570\u636e\u4e0a\u4f20\u5230 Manticore \u7684\u53ea\u5199 S3 \u5b58\u50a8\u3002\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\uff1a\n1. \u5bfc\u822a\u5230\u5305\u542b\u60a8\u8981\u4e0a\u4f20\u6587\u4ef6\u7684\u76ee\u5f55\u5e76\u8fd0\u884c\uff1a\nCODE_BLOCK_11\n2. \u8fd9\u5c06\uff1a\n - \u63d0\u793a\u60a8\u8f93\u5165\u76f8\u5173\u95ee\u9898\u7684 URL/\u7f16\u53f7\n - \u5c06**\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6240\u6709\u6587\u4ef6**\u4e0a\u4f20\u5230\u6211\u4eec\u7684\u53ea\u5199 S3 \u5b58\u50a8\n - \u6700\u540e\uff0c\u60a8\u5c06\u770b\u5230\u4e00\u4e2a\u4e0a\u4f20\u8def\u5f84\u3002\u8bf7\u5c06\u6b64\u8def\u5f84\u4e0e\u5f00\u53d1\u4eba\u5458\u5206\u4eab\u3002\n\n<!-- intro -->\n\u793a\u4f8b\uff1a\n\n<!-- request Example -->\nCODE_BLOCK_12\n\n<!-- response Example -->\nCODE_BLOCK_13\n<!-- end -->\n\n\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 S3 [Minio \u5ba2\u6237\u7aef](https://min.io/docs/minio/linux/reference/minio-mc.html) \u6216 Amazon [s3cmd](https://s3tools.org/s3cmd) \u5de5\u5177\u5b8c\u6210\u76f8\u540c\u64cd\u4f5c\uff0c\u4f8b\u5982\uff1a\n\n1. \u5b89\u88c5\u5ba2\u6237\u7aef https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc\n\u4f8b\u5982\u5728 64 \u4f4d Linux \u4e0a\uff1a\nCODE_BLOCK_14\n2. \u6dfb\u52a0\u6211\u4eec\u7684 s3 \u4e3b\u673a\uff08\u4f7f\u7528\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5b8c\u6574\u8def\u5f84\u6216\u5207\u6362\u5230\u5176\u76ee\u5f55\uff09\uff1a`cd $HOME/minio-binaries` \u7136\u540e `./mc alias set manticore http://s3.manticoresearch.com:9000 manticore manticore`\n3. \u590d\u5236\u60a8\u7684\u6587\u4ef6\uff08\u4f7f\u7528\u53ef\u6267\u884c\u6587\u4ef6\u7684\u5b8c\u6574\u8def\u5f84\u6216\u5207\u6362\u5230\u5176\u76ee\u5f55\uff09\uff1a`cd $HOME/minio-binaries` \u7136\u540e `./mc cp -r issue-1234/ manticore/write-only/issue-1234` \u3002\u786e\u4fdd\u6587\u4ef6\u5939\u540d\u79f0\u662f\u552f\u4e00\u7684\uff0c\u5e76\u4e14\u6700\u597d\u4e0e\u60a8\u5728 GitHub \u4e0a\u63cf\u8ff0\u9519\u8bef\u7684\u95ee\u9898\u7f16\u53f7\u5bf9\u5e94\u3002\n\n### DEBUG\n\nCODE_BLOCK_15\n\n`DEBUG` \u8bed\u53e5\u662f\u4e3a\u5f00\u53d1\u4eba\u5458\u548c\u6d4b\u8bd5\u4eba\u5458\u8bbe\u8ba1\u7684\uff0c\u7528\u4e8e\u8c03\u7528\u5404\u79cd\u5185\u90e8\u6216 VIP \u547d\u4ee4\u3002\u4f46\u6b64\u8bed\u53e5\u4e0d\u9002\u7528\u4e8e\u751f\u4ea7\u73af\u5883\uff0c\u56e0\u4e3a `subcommand` \u7ec4\u4ef6\u7684\u8bed\u6cd5\u53ef\u80fd\u5728\u4efb\u4f55\u6784\u5efa\u4e2d\u81ea\u7531\u66f4\u6539\u3002\n\n\u8981\u67e5\u770b\u5f53\u524d\u4e0a\u4e0b\u6587\u4e2d\u53ef\u7528\u7684\u6709\u7528\u547d\u4ee4\u548c `DEBUG` \u8bed\u53e5\u7684\u5b50\u547d\u4ee4\u5217\u8868\uff0c\u53ea\u9700\u8c03\u7528 `DEBUG` \u800c\u4e0d\u5e26\u4efb\u4f55\u53c2\u6570\u3002\n\nCODE_BLOCK_16\n\n\u540c\u6837\u6765\u81ea VIP \u8fde\u63a5\uff1a\nCODE_BLOCK_17\n\n\u6240\u6709 `debug XXX` \u547d\u4ee4\u90fd\u5e94\u88ab\u89c6\u4e3a\u975e\u7a33\u5b9a\u72b6\u6001\uff0c\u968f\u65f6\u53ef\u80fd\u4fee\u6539\uff0c\u56e0\u6b64\u5982\u679c\u5b83\u4eec\u53d1\u751f\u53d8\u5316\u8bf7\u4e0d\u8981\u611f\u5230\u60ca\u8bb6\u3002\u6b64\u793a\u4f8b\u8f93\u51fa\u53ef\u80fd\u4e0d\u53cd\u6620\u5b9e\u9645\u53ef\u7528\u7684\u547d\u4ee4\uff0c\u56e0\u6b64\u8bf7\u5728\u60a8\u7684\u7cfb\u7edf\u4e0a\u5c1d\u8bd5\u4ee5\u67e5\u770b\u60a8\u7684\u5b9e\u4f8b\u4e0a\u6709\u54ea\u4e9b\u53ef\u7528\u547d\u4ee4\u3002\u6b64\u5916\uff0c\u9664\u4e86\u8fd9\u4e2a\u7b80\u77ed\u7684\u201c\u542b\u4e49\u201d\u5217\u5916\uff0c\u6ca1\u6709\u63d0\u4f9b\u8be6\u7ec6\u7684\u6587\u6863\u3002\n\n\u4f5c\u4e3a\u5feb\u901f\u8bf4\u660e\uff0c\u4e0b\u9762\u63cf\u8ff0\u4e86\u4ec5\u5bf9 VIP \u5ba2\u6237\u7aef\u53ef\u7528\u7684\u4e24\u4e2a\u547d\u4ee4\u2014\u2014shutdown \u548c crash\u3002\u4e24\u8005\u90fd\u9700\u8981\u4e00\u4e2a\u4ee4\u724c\uff0c\u8be5\u4ee4\u724c\u53ef\u4ee5\u901a\u8fc7 debug token \u5b50\u547d\u4ee4\u751f\u6210\uff0c\u5e76\u6dfb\u52a0\u5230\u914d\u7f6e\u6587\u4ef6\u4e2d searchd \u90e8\u5206\u7684 [shutdown_token](Server_settings/Searchd.md#shutdown_token) \u53c2\u6570\u4e2d\u3002\u5982\u679c\u4e0d\u5b58\u5728\u6b64\u7c7b\u90e8\u5206\uff0c\u6216\u8005\u63d0\u4f9b\u7684\u5bc6\u7801\u54c8\u5e0c\u4e0e\u914d\u7f6e\u4e2d\u5b58\u50a8\u7684\u4ee4\u724c\u4e0d\u5339\u914d\uff0c\u5b50\u547d\u4ee4\u5c06\u4e0d\u4f1a\u6267\u884c\u4efb\u4f55\u64cd\u4f5c\u3002\n\nCODE_BLOCK_18\n\n\u5b50\u547d\u4ee4 `shutdown` \u4f1a\u5411\u670d\u52a1\u5668\u53d1\u9001 TERM \u4fe1\u53f7\uff0c\u5bfc\u81f4\u5176\u5173\u95ed\u3002\u8fd9\u53ef\u80fd\u5f88\u5371\u9669\uff0c\u56e0\u4e3a\u6ca1\u6709\u4eba\u5e0c\u671b\u610f\u5916\u505c\u6b62\u751f\u4ea7\u670d\u52a1\u3002\u56e0\u6b64\uff0c\u5b83\u9700\u8981 VIP \u8fde\u63a5\u548c\u5bc6\u7801\u3002\n\n\u5b50\u547d\u4ee4 `crash` \u4f1a\u5b9e\u9645\u5bfc\u81f4\u5d29\u6e83\u3002\u5b83\u53ef\u80fd\u7528\u4e8e\u6d4b\u8bd5\u76ee\u7684\uff0c\u4f8b\u5982\u6d4b\u8bd5\u7cfb\u7edf\u7ba1\u7406\u5668\u5982\u4f55\u7ef4\u62a4\u670d\u52a1\u7684\u6d3b\u8dc3\u6027\uff0c\u6216\u6d4b\u8bd5\u8ddf\u8e2a\u6838\u5fc3\u8f6c\u50a8\u7684\u53ef\u884c\u6027\u3002\n\n\u5982\u679c\u67d0\u4e9b\u547d\u4ee4\u88ab\u53d1\u73b0\u5728\u66f4\u901a\u7528\u7684\u4e0a\u4e0b\u6587\u4e2d\u5f88\u6709\u7528\uff0c\u5b83\u4eec\u53ef\u80fd\u4f1a\u4ece debug \u5b50\u547d\u4ee4\u79fb\u52a8\u5230\u66f4\u7a33\u5b9a\u548c\u901a\u7528\u7684\u4f4d\u7f6e\uff08\u5982\u8868\u4e2d\u6240\u793a\u7684 `debug tasks` \u548c `debug sched`\uff09\u3002\n\n<!-- proofread -->\n\n",
- "russian": "2. \u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0432 `/usr/lib/debug/.build-id` \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:\n\nCODE_BLOCK_10\n\n### \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0432\u0430\u0448\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\n\n<!-- example s3 -->\n\u0427\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0447\u0430\u0441\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0435\u0451 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u043c \u043d\u0443\u0436\u043d\u044b \u0432\u0430\u0448 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b, \u0444\u0430\u0439\u043b\u044b \u0442\u0430\u0431\u043b\u0438\u0446, \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043b\u043e\u0433 (\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c), \u0430 \u0438\u043d\u043e\u0433\u0434\u0430 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449 \u0438\u043b\u0438 XML/CSV \u0444\u0430\u0439\u043b\u044b) \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b.\n\n\u041f\u0440\u0438\u043b\u043e\u0436\u0438\u0442\u0435 \u0432\u0430\u0448\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438 [\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0442\u0438\u043a\u0435\u0442\u0430 \u043d\u0430 Github](https://github.com/manticoresoftware/manticoresearch/issues/new). \u0415\u0441\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0438\u043b\u0438 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0438\u0445 \u0432 \u043d\u0430\u0448\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 S3 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 `s3://s3.manticoresearch.com/write-only/`.\n\n\u0427\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043b\u0435\u0433\u043a\u043e, \u043c\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c Docker-\u043e\u0431\u0440\u0430\u0437\u0430. \u042d\u0442\u043e\u0442 \u043e\u0431\u0440\u0430\u0437 \u0441\u043e\u0437\u0434\u0430\u043d \u0438\u0437 \u043d\u0430\u0448\u0435\u0433\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u043d\u0430 [github.com/manticoresoftware/s3-upload](https://github.com/manticoresoftware/s3-upload) \u0438 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0432\u0430\u043c \u043b\u0435\u0433\u043a\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 S3 Manticore \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438. \u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:\n1. \u041f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435:\nCODE_BLOCK_11\n2. \u042d\u0442\u043e:\n - \u041f\u043e\u043f\u0440\u043e\u0441\u0438\u0442 \u0432\u0430\u0441 \u0432\u0432\u0435\u0441\u0442\u0438 URL/\u043d\u043e\u043c\u0435\u0440 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0433\u043e issue\n - \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442 **\u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435** \u0432 \u043d\u0430\u0448\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 S3 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438\n - \u0412 \u043a\u043e\u043d\u0446\u0435 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u0443\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u0435\u0441\u044c \u044d\u0442\u0438\u043c \u043f\u0443\u0442\u0435\u043c \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438.\n\n<!-- intro -->\n\u041f\u0440\u0438\u043c\u0435\u0440:\n\n<!-- request Example -->\nCODE_BLOCK_12\n\n<!-- response Example -->\nCODE_BLOCK_13\n<!-- end -->\n\n\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c S3 [\u043a\u043b\u0438\u0435\u043d\u0442 Minio](https://min.io/docs/minio/linux/reference/minio-mc.html) \u0438\u043b\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 Amazon [s3cmd](https://s3tools.org/s3cmd) \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0433\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:\n\n1. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u043a\u043b\u0438\u0435\u043d\u0442 https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc\n\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430 64-\u0431\u0438\u0442\u043d\u043e\u043c Linux:\nCODE_BLOCK_14\n2. \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043d\u0430\u0448 \u0445\u043e\u0441\u0442 s3 (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433): `cd $HOME/minio-binaries` \u0438 \u0437\u0430\u0442\u0435\u043c `./mc alias set manticore http://s3.manticoresearch.com:9000 manticore manticore`\n3. \u0421\u043a\u043e\u043f\u0438\u0440\u0443\u0439\u0442\u0435 \u0432\u0430\u0448\u0438 \u0444\u0430\u0439\u043b\u044b (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0443 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 \u0435\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433): `cd $HOME/minio-binaries` \u0438 \u0437\u0430\u0442\u0435\u043c `./mc cp -r issue-1234/ manticore/write-only/issue-1234`. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0438\u043c\u044f \u043f\u0430\u043f\u043a\u0438 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e, \u0438 \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e, \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 issue \u043d\u0430 GitHub, \u0433\u0434\u0435 \u0432\u044b \u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0443.\n\n### DEBUG\n\nCODE_BLOCK_15\n\n\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 `DEBUG` \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u0432 \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u0438\u043b\u0438 VIP-\u043a\u043e\u043c\u0430\u043d\u0434. \u041e\u0434\u043d\u0430\u043a\u043e \u043e\u043d \u043d\u0435 \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0441\u0440\u0435\u0434\u0435, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430 `subcommand` \u043c\u043e\u0436\u0435\u0442 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0435.\n\n\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438 \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 `DEBUG`, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u043e\u0432\u0438\u0442\u0435 `DEBUG` \u0431\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432.\n\nCODE_BLOCK_16\n\n\u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0438\u0437 VIP-\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f:\nCODE_BLOCK_17\n\n\u0412\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b `debug XXX` \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u0438 \u043f\u043e\u0434\u0432\u0435\u0440\u0436\u0435\u043d\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c \u0432 \u043b\u044e\u0431\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0435 \u0443\u0434\u0438\u0432\u043b\u044f\u0439\u0442\u0435\u0441\u044c, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u0441\u044f. \u042d\u0442\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0432\u044b\u0432\u043e\u0434\u0430 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u043e\u0442\u0440\u0430\u0436\u0430\u0442\u044c \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u044d\u0442\u043e \u043d\u0430 \u0441\u0432\u043e\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f, \u043f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0439 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 'meaning', \u043d\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f.\n\n\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u0440\u0430\u0442\u043a\u043e\u0439 \u0438\u043b\u043b\u044e\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u0438\u0436\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0434\u0432\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0442\u043e\u043b\u044c\u043a\u043e VIP-\u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c \u2014 shutdown \u0438 crash. \u041e\u0431\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0442\u043e\u043a\u0435\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434\u044b debug token, \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 [shutdown_token](Server_settings/Searchd.md#shutdown_token) \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 searchd \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430. \u0415\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 \u0441\u0435\u043a\u0446\u0438\u0438 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0438\u043b\u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0445\u0435\u0448 \u043f\u0430\u0440\u043e\u043b\u044f \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u0442\u043e\u043a\u0435\u043d\u043e\u043c, \u0445\u0440\u0430\u043d\u044f\u0449\u0438\u043c\u0441\u044f \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435, \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u044e\u0442.\n\nCODE_BLOCK_18\n\n\u041f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434\u0430 `shutdown` \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u0441\u0438\u0433\u043d\u0430\u043b TERM \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u0432\u044b\u0437\u044b\u0432\u0430\u044f \u0435\u0433\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u043f\u0430\u0441\u043d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0445\u043e\u0447\u0435\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u0441\u043b\u0443\u0436\u0431\u0443. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 VIP-\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438 \u043f\u0430\u0440\u043e\u043b\u044f \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.\n\n\u041f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434\u0430 `crash` \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u0440\u0430\u0445. \u041e\u043d\u0430 \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0446\u0435\u043b\u0435\u0439 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u043a\u0430\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0436\u0438\u0437\u043d\u0435\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u044b, \u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043c\u043f\u043e\u0432 \u043f\u0430\u043c\u044f\u0442\u0438.\n\n\u0415\u0441\u043b\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043e\u043a\u0430\u0436\u0443\u0442\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0432 \u0431\u043e\u043b\u0435\u0435 \u043e\u0431\u0449\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435, \u043e\u043d\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u044b \u0438\u0437 \u043f\u043e\u0434\u043a\u043e\u043c\u0430\u043d\u0434 debug \u0432 \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u0438 \u043e\u0431\u0449\u0435\u0435 \u043c\u0435\u0441\u0442\u043e (\u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 `debug tasks` \u0438 `debug sched` \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435).\n\n<!-- proofread -->\n\n"
- },
- "is_code_or_comment": false,
- "model": "deepseek/deepseek-v3.2",
- "updated_at": 1768901647
- }
- }
|