Closed Lot-Art closed 1 year ago
could you try package from the dev repository?
could you try package from the dev repository?
I think i did get the dev
(by simply following the official install doc today). My Manticore version is
Manticore 5.0.2 348514c86@220530 dev
could you try package from the dev repository?
Do you mean to build bleading edge 6.0.0.0 from source? this?
here is a doc description of the dev package https://manual.manticoresearch.com/Installation/Debian_and_Ubuntu#Development-packages
Great, it works! Thank you!
I got 5.0.3
from the dev package (i expected 6.0). As far as my 2 cents go: 5.0.3 could be placed into the official stable release package.
Describe the bug
RT index: searchd "stuck" forever when many documents are being inserted and RAMchunk gets full
To Reproduce
Install as in the docs
.conf: keep default, except listen on 0.0.0.0 instead of 127.0.0.1
Start manticore
Create 2 RT indexes
(where manticore_create_indexes.sql is the following)
The resulting directories are the following
We will fill the data with these 2 bash scripts
Here is a batch script that simulates my app. My php is complex, but it must insert documents one-by-one, to about 30 million documents, and it runs on 30 processes simultaneously (30 separate php cli processes running on 1 server).
fill_manti_starter.sh will start multiple other scripts in the background (their number is controlled by the parameter), and will ask them to insert a total of 30 million docs.
fill_manti.sh is the script that does the inserts. This simulates my php script. It creates a connection and inserts 100 documents (controlled by a parameter) one-by-one (not batched on purpose, to simulate my real php app).
Add your HOST on line 2 !
Start filling the indexes with data (
5
is the number of simultaneous processes that will be connecting to manticore, each insert data)Wait till searchd gets stuck
Fairly quickly we will see (in htop) that the script that should be inserting the data will eventually have CPU activity at 0% . Also the searchd server will have its CPUs at 0% .
Nothing errors, nothing responds, but everthing is running.
In the searchd.log and the directories
Those last 2 lines seems to me that it tries to write the things on the disk (and seems successful). The Directories now look like this:
Expected behavior
Continue adding the documents OR throw an error OR quit OR drop connections.
Describe the environment
Linux la8-search 5.10.0-19-cloud-amd64 <a href ="https://github.com/manticoresoftware/manticoresearch/issues/1">#1</a> SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
Messages from log files
In the searchd.log and the directories
Additional context
none