-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading preview image causes server crash #7897
Comments
Why do you think the server may crash because of high CPU usage? |
More probably you run out of system memory and processes start using swap memory. |
Try to run |
Not really. You do not have enough hardware resources on your server to run CVAT and other servers (mongo db? something else?) I would say the minimum is 8 Gb of RAM is necessary only for a CVAT server with low load (for system itself, docker, postgres, redis, keydb, clickhouse, nginx, and python processes). |
The second image above is the htop of the CVAT query thumbnail, which has already consumed the remaining resources. Running all docker image Memory usage 6.xGB. |
Actions before raising this issue
Steps to Reproduce
/api/jobs/20/preview?org=CDJLR
/api/tasks/20/preview?org=CDJLR
Expected Behavior
Loading preview images consumes too much CPU resources. If the preview images do not have cache resources and there are a large number of preview image requests, it can cause the server to crash instantly.
Server version: 2.13.0
Core version: 15.0.5
Canvas version: 2.20.1
UI version: 1.63.10
Possible Solution
If the data is being annotated and there are a large number of preview image requests, it is very likely that the annotation cannot be saved and lost. Suggested repair.
Context
Environment
The text was updated successfully, but these errors were encountered: