Open
Description
Describe the bug
Observed the crash consistently for ann-benchmarks ran with gist-960 dataset on redisearch. During the index loading it crashes as "Killed" and then logs # Child failed reporting info to parent, exiting. Broken pipe
To Reproduce
Steps to reproduce the behavior:
- Start the server on a vm as process
./redis-server ./test.conf --loadmodule ./redisearch.so
- From other machine start ann-benchmarks as follows
python3 -B run.py --algorithm redisearch --local --dataset gist-960-euclidean
- After sometime you observe the script fails as follows "ConnectionResetError: [Errno 104] Connection reset by peer"
- from the server we can see Killed logs as below.
707739:C 16 Apr 2025 21:40:54.523 * Fork CoW for RDB: current 3647 MB, peak 3647 MB, average 2732 MB
1707587:M 16 Apr 2025 21:40:58.465 * Background saving terminated with success
1707587:M 16 Apr 2025 21:43:38.868 * 10000 changes in 60 seconds. Saving...
1707587:M 16 Apr 2025 21:43:39.136 * Background saving started by pid 1707741
Killed
$ 1707741:C 16 Apr 2025 21:44:10.703 # Child failed reporting info to parent, exiting. Broken pipe
Expected behavior
SCript would able to load all the indexe and successfully run the queries.
logs
server logs attached as redisearch-crash-logs.txt
script logs: ann-benchmarks-logs-redisearch-crash.txt
Environment:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
machine is 8 cpu, 16gb RAM
redis core unstable commit=e2a3f309,
redisearch commit is f966d37f
I am using very basic config as follows.
bind <ip>
port 6379
protected-mode no
Can some please look at this and help me to fix the issue.