Skip to content
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

Worker timeout on web UI for certain operations #17

Open
kjallen opened this issue Apr 10, 2024 · 1 comment
Open

Worker timeout on web UI for certain operations #17

kjallen opened this issue Apr 10, 2024 · 1 comment

Comments

@kjallen
Copy link

kjallen commented Apr 10, 2024

If I try certain operations via the web UI, for example regenerate spritesheet, with a set of images greater than 500 or so, I will get a timeout on the worker threads:

vikusdocker-1 | [...] [1] [CRITICAL] WORKER TIMEOUT (pid:10)
vikusdocker-1 | [...] [1] [ERROR] Worker (pid:10) was sent SIGABRT!
vikusdocker-1 | [...] [219] [INFO] Booting worker with pid: 219

The job will restart a 2nd time, starting with the same set of images and eventually find the same fate after about 60 seconds.

If I run via the cli tool, the same operation is able to complete, which leads me to believe something with the websocket/request layer.

I've tweaked the uvicorn (timeout_keep_alive) and FastAPI settings (timeout) and still see the same behavior.

Any suggestions on settings or changes to make to address?

@cpietsch
Copy link
Owner

cpietsch commented Apr 12, 2024

Hey @kjallen, thanks for reporting the issue.
Can you run the dev docker via docker-compose.dev.yml and run the server with log_level="debug" (python main.py) ?
You should get more debug information - please post your logs here again.
Can you also provide the Collection URL you are having problems with ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants