Tim Starling has submitted this change and it was merged.

Change subject: Reduce non-video job queue size from 320 to 144
......................................................................


Reduce non-video job queue size from 320 to 144

Shortly the number of processes per server was increased from 5 to 12
(Ifc00708b8d), Asher, unaware of the reasons for a sudden increase in DB
problems caused by the job queue, introduced a limit in MySQL wikiadmin
connections of 80, to cause the job runners to fail if work is
concentrated on a single master. The current jobs-loop.sh goes into a
tight loop when faced with this failure scenario, and there have been
periods when 35 connection errors per second were logged.

Reduce the limit from 12 to 7 processes per server, and from 8 to 2
"immediate priority" processes, so that the total number of processes
(144) will now fall under the newly-raised wikiadmin process limit of
200.

Change-Id: Ie5bb11b0ee41b31b0509cfead13edace83c088f4
---
M manifests/role/applicationserver.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tim Starling: Verified; Looks good to me, approved
  Aaron Schulz: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/manifests/role/applicationserver.pp 
b/manifests/role/applicationserver.pp
index 0b914ce..79d1a3d 100644
--- a/manifests/role/applicationserver.pp
+++ b/manifests/role/applicationserver.pp
@@ -191,7 +191,7 @@
 
                class { "role::applicationserver::common": group => "jobrunner" 
}
 
-               class { "mediawiki::jobrunner": dprioprocs => 12, iprioprocs => 
8, run_jobs_enabled => $run_jobs_enabled }
+               class { "mediawiki::jobrunner": dprioprocs => 7, iprioprocs => 
2, run_jobs_enabled => $run_jobs_enabled }
                include applicationserver::config::php,
                        applicationserver::config::base,
                        applicationserver::packages,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie5bb11b0ee41b31b0509cfead13edace83c088f4
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Tim Starling <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Asher <[email protected]>
Gerrit-Reviewer: Pyoungmeister <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to