BBlack has submitted this change and it was merged.
Change subject: tlsproxy: set files ulimit at 2x conns
......................................................................
tlsproxy: set files ulimit at 2x conns
Change-Id: I9f09a7f807a90eaba74349dcf5e928a0524bfda1
---
M modules/tlsproxy/templates/nginx.conf.erb
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
BBlack: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/tlsproxy/templates/nginx.conf.erb
b/modules/tlsproxy/templates/nginx.conf.erb
index 6daf258..4db5ea5 100644
--- a/modules/tlsproxy/templates/nginx.conf.erb
+++ b/modules/tlsproxy/templates/nginx.conf.erb
@@ -32,14 +32,14 @@
end
-%>
worker_cpu_affinity <%= affinity_mask.join(" ") %>;
-worker_rlimit_nofile 30000;
+worker_rlimit_nofile <%= @nginx_worker_connections.to_i * 2 %>;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
events {
- worker_connections <%= @nginx_worker_connections %>;
+ worker_connections <%= @nginx_worker_connections %>;
multi_accept off; # accept 1 conn per epoll hit, basically
accept_mutex off; # better latencies at high connection rates
}
--
To view, visit https://gerrit.wikimedia.org/r/271423
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9f09a7f807a90eaba74349dcf5e928a0524bfda1
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits