meilisearch/MeiliSearch

Meilisearch service is unavailable three or four times a day

Open

#5,236 创建于 2025年1月14日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Rust (20,887 star) (733 fork)batch import
help wantedwindows

描述

Describe the bug Meilisearch service is deployed on my windows server. In the last half month, there will be three or four jams every day, each lasting several to ten minutes. During this period, the service is unavailable and no interface can be accessed, and then it will return to normal.

I created seven indexes on meilisearch, each with hundreds to hundreds of thousands of documents. I imported 30 million documents into one of the indexes half a month ago, and then this problem appeared, so I suspect that this problem is related to the amount of data.

To Reproduce After I imported 30 million documents, this problem will occur in the process of normal search using meilisearch.

My analysis In order to judge whether it is the server or the meilisearch service, I deployed another meilisearch service whit 7701 port on the server.Then I create a index and import twenty documents into it.

configuration:

  • My windows server: 64 cores 128G memory.
  • default meilisearch service: max_indexing_threads max_indexing_memory with deafult config.
  • 7701 meilisearch service: max_indexing_threads: 2; max_indexing_memory: 4 Gib.

Then I use jmeter to call their index interfaces twice a second. When the default meilisearch service is unavailable, the meilisearch service of 7701 is completely normal, and the cpu and memory of the server did not soar.

Expected behavior Don't be unavailable for a long time

Meilisearch version v1.11.0

贡献者指南