Ema has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/349961 )
Change subject: varnish: set LimitRTPRIO=infinity in systemd unit file ...................................................................... varnish: set LimitRTPRIO=infinity in systemd unit file systemd sets LimitRTPRIO=0 by default (systemctl show varnish | grep LimitRTPRIO), which makes calls to pthread_setschedparam fail. Set it to infinity to allow changing varnishd mailbox expiry thread priority. Bug: T145661 Change-Id: I2c67f3d2372df1f3acbbb5b99c6e9f9157b104f1 --- M modules/varnish/templates/initscripts/varnish.systemd.erb 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Ema: Verified; Looks good to me, approved BBlack: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/modules/varnish/templates/initscripts/varnish.systemd.erb b/modules/varnish/templates/initscripts/varnish.systemd.erb index 07368bc..fda8d40 100644 --- a/modules/varnish/templates/initscripts/varnish.systemd.erb +++ b/modules/varnish/templates/initscripts/varnish.systemd.erb @@ -5,6 +5,7 @@ Type=forking LimitNOFILE=500000 LimitMEMLOCK=90000 +LimitRTPRIO=infinity PIDFile=%t/%p.pid Restart=on-failure KillMode=process -- To view, visit https://gerrit.wikimedia.org/r/349961 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2c67f3d2372df1f3acbbb5b99c6e9f9157b104f1 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Ema <[email protected]> Gerrit-Reviewer: BBlack <[email protected]> Gerrit-Reviewer: Ema <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
