Muehlenhoff has submitted this change and it was merged.

Change subject: Bump connection limit to 8192
......................................................................


Bump connection limit to 8192

After merging 2e851a77a09a9fb042f88f5beb87fb2dd1b04127, the labs instances
now again primarily connect to seaborgium: It is listed first in ldap.conf
and nscld.conf and both NSS and nslcd primarily use the first server and only
fall back to the second if the first isn't reachable.

Before that patch, the server-side idle timeout kicked in and a client which
was e.g. connected to seaborgium reconnected to serpens. As such labs instances
essentially connected to serpens and seaborgium round-robin every ten minutes.
Grafana showed approx 1.2k connections each.

Now seaborgium handles about 2.5k connections and serpens only a few hundred.
This only leaves about 1.5k connections until slapd reaches the fd limit again,
so bump the connection limit to 8192 to add more margin for possible connection
spikes.

Change-Id: Ib21f32721687c8328406dca90fb2b94a59bf6dc4
---
M modules/openldap/templates/default.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Andrew Bogott: Looks good to me, but someone else must approve
  Muehlenhoff: Verified; Looks good to me, approved
  Alexandros Kosiaris: Looks good to me, but someone else must approve



diff --git a/modules/openldap/templates/default.erb 
b/modules/openldap/templates/default.erb
index 41493b7..ec6e8d4 100644
--- a/modules/openldap/templates/default.erb
+++ b/modules/openldap/templates/default.erb
@@ -4,7 +4,7 @@
 ###################################################################
 
 # Bump the fd limit, otherwise we max out LDAP connections at around 1000
-ulimit -n 4096
+ulimit -n 8192
 
 # Default location of the slapd.conf file or slapd.d cn=config directory. If
 # empty, use the compiled-in default (/etc/ldap/slapd.d with a fallback to

-- 
To view, visit https://gerrit.wikimedia.org/r/259534
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib21f32721687c8328406dca90fb2b94a59bf6dc4
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Muehlenhoff <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Chasemp <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Muehlenhoff <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to