zilliztech / VectorDBBench

A Benchmark Tool for VectorDB
MIT License
522 stars 133 forks source link

Cleanup after failed runs #227

Open pauldintel opened 11 months ago

pauldintel commented 11 months ago

if init_runs failed with abrupt run what is the way to clean this ?

I inspect and below process shows up : and I ran $sudo init_run &

ubuntu 154341 149419 0 18:23 pts/2 00:00:00 /home/ubuntu/venv/bin/python3 /home/ubuntu/venv/bin/init_bench ubuntu 154342 154341 0 18:23 pts/2 00:00:18 /home/ubuntu/venv/bin/python3 /home/ubuntu/venv/bin/streamlit run /home/ubuntu/venv/lib/python3.11/site-packages/vectordb_bench/frontend/vdb_benchmark.py --logger.level info --theme.base light --theme.primaryColor #3670F2 --theme.secondaryBackgroundColor #F0F2F6 ubuntu 154875 154342 0 18:25 pts/2 00:00:00 /home/ubuntu/venv/bin/python3 -c from multiprocessing.resource_tracker import main;main(34)

Obviously I can kill them but can we know the cleanups steps or any script to kill them automatically ?

thanks

liliu-z commented 11 months ago

/assign @liliu-z @XuanYang-cn