[MediaWiki-commits] [Gerrit] operations/puppet[production]: Monthly update of the "slowest" querypages on the English Wi...

2016-08-25 Thread Filippo Giunchedi (Code Review)
Filippo Giunchedi has submitted this change and it was merged.

Change subject: Monthly update of the "slowest" querypages on the English 
Wikipedia
..


Monthly update of the "slowest" querypages on the English Wikipedia

Per user reports, an update every six months is not enough to keep
up with the amount of maintenance work (for instance, the new pages
to be tagged as orphan are probably more than 10k per year).

The other cached special pages are updated twice a month on the English
Wikipedia; some update is run on s1 on the days 8–13, 11 and 22–27.
Days 15–20 are free and should not cause strain on the dedicated slaves;
in any case, the query killer should prevent damage and reverting
this patch is easy.

Bug: T142936
Change-Id: I06f7ca60bc3caa0b68f093182682248961288a59
---
M modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp
1 file changed, 12 insertions(+), 12 deletions(-)

Approvals:
  Jcrespo: Looks good to me, but someone else must approve
  Filippo Giunchedi: Looks good to me, approved
  jenkins-bot: Verified



diff --git 
a/modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp 
b/modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp
index d0cceec..3148312 100644
--- a/modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp
+++ b/modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp
@@ -11,37 +11,37 @@
 
 cron { 'cron-updatequerypages-lonelypages-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Lonelypages > 
/var/log/mediawiki/updateSpecialPages/${name}-LonelyPages.log 2>&1",
-month=> [1, 7],
-monthday => 28,
+month=> '*',
+monthday => 15,
 }
 
 cron { 'cron-updatequerypages-mostcategories-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Mostcategories > 
/var/log/mediawiki/updateSpecialPages/${name}-MostCategories.log 2>&1",
-month=> [2, 8],
-monthday => 28,
+month=> '*',
+monthday => 16,
 }
 
 cron { 'cron-updatequerypages-mostlinkedcategories-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Mostlinkedcategories > 
/var/log/mediawiki/updateSpecialPages/${name}-MostLinkedCategories.log 2>&1",
-month=> [3, 9],
-monthday => 28,
+month=> '*',
+monthday => 17,
 }
 
 cron { 'cron-updatequerypages-mostlinkedtemplates-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Mostlinkedtemplates > 
/var/log/mediawiki/updateSpecialPages/${name}-MostLinkedTemplates.log 2>&1",
-month=> [4, 10],
-monthday => 28,
+month=> '*',
+monthday => 18,
 }
 
 cron { 'cron-updatequerypages-uncategorizedcategories-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Uncategorizedcategories > 
/var/log/mediawiki/updateSpecialPages/${name}-UncategorizedCategories.log 2>&1",
-month=> [5, 11],
-monthday => 28,
+month=> '*',
+monthday => 19,
 }
 
 cron { 'cron-updatequerypages-wantedtemplates-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Wantedtemplates > 
/var/log/mediawiki/updateSpecialPages/${name}-WantedTemplates.log 2>&1",
-month=> [6, 12],
-monthday => 28,
+month=> '*',
+monthday => 20,
 }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I06f7ca60bc3caa0b68f093182682248961288a59
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Nemo bis 
Gerrit-Reviewer: Alex Monk 
Gerrit-Reviewer: Alexandros Kosiaris 
Gerrit-Reviewer: ArielGlenn 
Gerrit-Reviewer: Filippo Giunchedi 
Gerrit-Reviewer: Jcrespo 
Gerrit-Reviewer: Nemo bis 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/puppet[production]: Monthly update of the "slowest" querypages on the English Wi...

2016-08-14 Thread Nemo bis (Code Review)
Nemo bis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/304696

Change subject: Monthly update of the "slowest" querypages on the English 
Wikipedia
..

Monthly update of the "slowest" querypages on the English Wikipedia

Per user reports, an update every six months is not enough to keep
up with the amount of maintenance work (for instance, the new pages
to be tagged as orphan are probably more than 10k per year).

The other cached special pages are updated twice a month on the English
Wikipedia; some update is run on s1 on the days 8–13, 11 and 22–27.
Days 15–20 are free and should not cause strain on the dedicated slaves;
in any case, the query killer should prevent damage and reverting
this patch is easy.

Bug: T142936
Change-Id: I06f7ca60bc3caa0b68f093182682248961288a59
---
M modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp
1 file changed, 12 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/96/304696/1

diff --git 
a/modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp 
b/modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp
index d0cceec..65b8c37 100644
--- a/modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp
+++ b/modules/mediawiki/manifests/maintenance/updatequerypages/enwiki/cronjob.pp
@@ -11,37 +11,37 @@
 
 cron { 'cron-updatequerypages-lonelypages-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Lonelypages > 
/var/log/mediawiki/updateSpecialPages/${name}-LonelyPages.log 2>&1",
-month=> [1, 7],
-monthday => 28,
+month=> "*",
+monthday => 15,
 }
 
 cron { 'cron-updatequerypages-mostcategories-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Mostcategories > 
/var/log/mediawiki/updateSpecialPages/${name}-MostCategories.log 2>&1",
-month=> [2, 8],
-monthday => 28,
+month=> "*",
+monthday => 16,
 }
 
 cron { 'cron-updatequerypages-mostlinkedcategories-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Mostlinkedcategories > 
/var/log/mediawiki/updateSpecialPages/${name}-MostLinkedCategories.log 2>&1",
-month=> [3, 9],
-monthday => 28,
+month=> "*",
+monthday => 17,
 }
 
 cron { 'cron-updatequerypages-mostlinkedtemplates-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Mostlinkedtemplates > 
/var/log/mediawiki/updateSpecialPages/${name}-MostLinkedTemplates.log 2>&1",
-month=> [4, 10],
-monthday => 28,
+month=> "*",
+monthday => 18,
 }
 
 cron { 'cron-updatequerypages-uncategorizedcategories-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Uncategorizedcategories > 
/var/log/mediawiki/updateSpecialPages/${name}-UncategorizedCategories.log 2>&1",
-month=> [5, 11],
-monthday => 28,
+month=> "*",
+monthday => 19,
 }
 
 cron { 'cron-updatequerypages-wantedtemplates-s1':
 command  => "/usr/local/bin/mwscriptwikiset updateSpecialPages.php 
s1.dblist --override --only=Wantedtemplates > 
/var/log/mediawiki/updateSpecialPages/${name}-WantedTemplates.log 2>&1",
-month=> [6, 12],
-monthday => 28,
+month=> "*",
+monthday => 20,
 }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I06f7ca60bc3caa0b68f093182682248961288a59
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Nemo bis 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits