Skip to content

Commit bbe7012

Browse files
committed
fix: kong stops responding
kong easily gets overwhelmed when receiving many requests, resulting in an error complaining about not having enough workers. This was due to KONG_NGINX_WORKER_PROCESSES=1 being set. Kong automatically determins the right number of worker processes when this is not specified, which resolves the issue.
1 parent 49c1f7c commit bbe7012

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/start/start.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,6 @@ EOF
502502
// Ref: https://github.com/Kong/kong/issues/3974#issuecomment-482105126
503503
"KONG_NGINX_PROXY_PROXY_BUFFER_SIZE=160k",
504504
"KONG_NGINX_PROXY_PROXY_BUFFERS=64 160k",
505-
"KONG_NGINX_WORKER_PROCESSES=1",
506505
// Use modern TLS certificate
507506
"KONG_SSL_CERT=/home/kong/localhost.crt",
508507
"KONG_SSL_CERT_KEY=/home/kong/localhost.key",

0 commit comments

Comments
 (0)