Skip to content

Commit 3d8519c

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 3f70e5a commit 3d8519c

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
@@ -522,7 +522,6 @@ vector --config /etc/vector/vector.yaml
522522
// Ref: https://github.com/Kong/kong/issues/3974#issuecomment-482105126
523523
"KONG_NGINX_PROXY_PROXY_BUFFER_SIZE=160k",
524524
"KONG_NGINX_PROXY_PROXY_BUFFERS=64 160k",
525-
"KONG_NGINX_WORKER_PROCESSES=1",
526525
// Use modern TLS certificate
527526
"KONG_SSL_CERT=/home/kong/localhost.crt",
528527
"KONG_SSL_CERT_KEY=/home/kong/localhost.key",

0 commit comments

Comments
 (0)