milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
30.37k stars 2.91k forks source link

[Bug]: In milvus-standalone docker container. Automaticly exits with code 134 after sometime. If no collection is loaded, no problem is caused #36041

Closed NamNX1409 closed 2 months ago

NamNX1409 commented 2 months ago

Is there an existing issue for this?

Environment

- Milvus version: 2.4.10
- Deployment mode(standalone or cluster): standalone
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2): pymilvus 2.4.6
- OS(Ubuntu or CentOS): Ubuntu 20.04
- CPU/Memory:
- GPU: 
- Others:

Current Behavior

container milvus-standalone automatically exits after I insert data to a collection.

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

milvus.log

Anything else?

No response

yanliang567 commented 2 months ago

@NamNX1409 how did you config/deploy your minio, it seems not working _2024-09-06 11:33:20 [2024/09/06 04:33:20.064 +00:00] [WARN] [retry/retry.go:46] ["retry func failed"] [retried=0] [error="failed to write files/insert_log/452337435696709883/452337435696709884/452337435696909953/102/452354935055712590: IO failed[key=files/insertlog/452337435696709883/452337435696709884/452337435696909953/102/452354935055712590]: Resource requested is unreadable, please reduce your request rate"]

/assign @NamNX1409 /unassign

NamNX1409 commented 2 months ago

Here is my docker-compose.yml file:

version: '3.5'

services: etcd: container_name: milvus-etcd image: quay.io/coreos/etcd:v3.5.5 environment:

networks: default: name: milvus

I just followed the instructions and didn't change anything.

NamNX1409 commented 2 months ago

/assign @yanliang567

jaime0815 commented 2 months ago

Hi, @NamNX1409. The minio service may be unhealthy. Please check the minio log, this issue is similar to https://github.com/minio/minio/discussions/16341.

NamNX1409 commented 2 months ago

Hi, @jaime0815. Thanks for the advice. When I check with docker compose ps -a, the status still shows as "healthy" (as seen in the picture below). However, when I check the MinIO log, it says: Waiting for all MinIO sub-systems to be initialized.. possible cause (Unable to initialize config system: migrateConfigToMinioSys: Storage resources are insufficient for the write operation .minio.sys/config/config.json). I also can't find the config.json file (to be exact, there's nothing in the config folder).

image

Here is my minio log: minio.log

jaime0815 commented 2 months ago

Is there enough disk space for MinIO?

yanliang567 commented 2 months ago

/assign @LoveEachDay any ideas?

xiaofan-luan commented 2 months ago

Storage resources are insufficient for the write operation

NamNX1409 commented 2 months ago

There was something wrong with my MinIO settings, but I’ve solved it. Thanks, everyone!