-
Notifications
You must be signed in to change notification settings - Fork 178
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
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1' #235
Comments
This simply means waitress has more requests waiting to be processed than threads. You can up the threads by changing the variable in your configuration or what is passed to waitress. See https://docs.pylonsproject.org/projects/waitress/en/stable/arguments.html specifically the "threads" argument. It is a simple warning, and something you can safely ignore, waitress will get to the request asap, you may also disable the warning entirely by changing your logger to not log for
What does "loading well" mean? This provides no information on what may potentially going wrong, or where to start debugging. Thread count won't help with static files that are not "loading well". All requests will get processed. I don't know how Django's |
Would you mind providing more information about how to "disable the warning entirely by changing your logger to not log for waitress.queue"? Thanks very much. |
I imagine you can do it like so: https://stackoverflow.com/a/11029841/196870 but changing 'requests' to 'waitress.queue' |
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1' Pylons/waitress#235
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1' Pylons/waitress#235
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1' Pylons/waitress#235
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1' Pylons/waitress#235
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1' Pylons/waitress#235
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1' Pylons/waitress#235
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1' Pylons/waitress#235
Repeatedly getting this warning 'WARNING:waitress.queue:Task queue depth is 1' Pylons/waitress#235
You can pass in the
|
That If you don't want Python logging it is a better idea to setup the Python loggers yourself, in which case the call to |
Hi guys. I have this problem and I am a noob, I don't know how to run the command to change the threads of Waitress. I tried every variation. Can someone tell me exactly what to write so I can increase threads? Thank you so much. |
@PhantomMenace222 for general support please send an email to our mailing list: https://pylonsproject.org/community-support.html Thank you! |
Hi Bert
Thanks for your messages and information.
I've tried to find a way to post to your google group but I can't see it.
Can in ask you for help with my problem?
We are running nginx in front of waitress but at about 150rps we are getting a waitress serve queue which eventually goes up to 100 and crashes our app. Do you know what setting we need to change so this does not happen? Its a windows server.
Thanks so much. Best, Jason
…-------- Original Message --------
On Jun 2, 2022, 5:27 PM, Bert JW Regeer wrote:
***@***.***(https://github.com/PhantomMenace222) for general support please send an email to our mailing list: https://pylonsproject.org/community-support.html
Thank you!
—
Reply to this email directly, [view it on GitHub](#235 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AXMJROFLS7TMP2RR5327TQLVNDOFJANCNFSM4HAJIK7Q).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I'm repeatedly getting this warning
WARNING:waitress.queue:Task queue depth is 1
while testing my site in development using waitress server, furthermore some static files are loading well and some are not whereas everything works fine when django's defaultmanage.py runserver
command is used. Is there any way to increase the thread count? Dunno maybe that might fix this issue?The text was updated successfully, but these errors were encountered: