Habib Ullah Bahar
Habib Ullah Bahar

Reputation: 221

Gunicorn is creating workers in every second

I am running Django using Gunicorn behind Nginx. In one of my installation, when I run the gunicorn process, I keep getting debug output, it's like workers are being created in every second (I assume this because django is loading very slow and note the message "[20205] [DEBUG] 3 workers"). You can check the detail output at this gist In similar setup, I am running 3 more installations without any such issues and respective site loads almost instantly. Any idea why this is happening? Thanks.

Upvotes: 7

Views: 642

Answers (1)

Conrado
Conrado

Reputation: 1412

The polling of the workers every second on --log-level debug was introduced in gunicorn==19.2.

Change the log level to info.

Upvotes: 5

Related Questions