/srv/irclogs.ubuntu.com/2025/02/20/#ubuntu-server.txt

=== Wyly0 is now known as Wyly
manis05Hello, is there any logging that helps us know if we're hitting gunicorn worker limits inside docker? I read that [error] Worker timeout is usually an indicator of that. Aside from that, is there anything else?08:11
patdkhmm, that has nothing to do with docker08:29
patdkwhat exactly is a worker limit inside docker though08:30
patdkyou start gunicorn with x workers, and that is how many it uses08:30
patdkif you made too many workers, or your cpu/disk/... isn't fast enough, you get a timeout08:31
patdkhttps://stackoverflow.com/questions/10855197/gunicorn-how-to-resolve-worker-timeout08:31
manis05patdk thank you for responding. Yeah, we're running a python app through gunicorn inside docker. I think to state my question better - How can we determine if we have enough gunicorn workers to handle incoming requests? Is it logged somewhere?08:36
patdkno, and there is no way it would know that information08:37
patdkif your running a reverse proxy/loadbalancer infront of it (apache/nginx/...)08:37
patdkthen you would look for errors from them, saying your backend (gunicorn) is not responding to requests08:38
patdklooking at 5xx errors08:38
manis05patdk Nice, this is exactly what I'm looking for. Thanks again, I really appreciate it.08:40
=== ajfriesen164 is now known as ajfriesen16

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!