blockform icon indicating copy to clipboard operation
blockform copied to clipboard

Increase max number of connections to the proxy

Open kivutar opened this issue 7 years ago • 3 comments

kivutar avatar Dec 10 '18 03:12 kivutar

why do we need this pam_limits.so? I don't understand this use case. Please elaborate

sihoang avatar Jan 02 '19 21:01 sihoang

I'm not really sure about this PR. I've just read some optimization for nginx there and there on the web. But so far, we don't really need it.

It's only needed when you want to support bursts with thouthands of requests per seconds.

kivutar avatar Jan 03 '19 09:01 kivutar

I see. I think it's fine to pump the worker_connections to 10k in the nginx.conf but I would not touch the pam module though.

sihoang avatar Jan 03 '19 23:01 sihoang