r83991 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83990‎ | r83991 | r83992 >
Date:02:28, 15 March 2011
Author:tstarling
Status:ok
Tags:
Comment:
* More procs
* De-prioritise htmlCacheUpdate
Modified paths:
  • /branches/wmf/1.17wmf1/maintenance/jobs-loop.sh (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/maintenance/jobs-loop.sh
@@ -6,7 +6,8 @@
77 type=$1
88 }
99
10 -types="htmlCacheUpdate sendMail enotifNotify uploadFromUrl fixDoubleRedirect"
 10+#types="htmlCacheUpdate sendMail enotifNotify uploadFromUrl fixDoubleRedirect renameUser"
 11+types="sendMail enotifNotify uploadFromUrl fixDoubleRedirect"
1112
1213 cd `readlink -f /usr/local/apache/common/php/maintenance`
1314 while [ 1 ];do
@@ -18,7 +19,7 @@
1920 db=`php -n nextJobDB.php --type="$type"`
2021 if [ -n "$db" ]; then
2122 echo "$db $type"
22 - nice -n 20 php runJobs.php --wiki="$db" --procs=4 --type="$type" --maxtime=300 &
 23+ nice -n 20 php runJobs.php --wiki="$db" --procs=5 --type="$type" --maxtime=300 &
2324 wait
2425 moreprio=y
2526 fi
@@ -34,7 +35,7 @@
3536 sleep 5
3637 else
3738 echo "$db"
38 - nice -n 20 php runJobs.php --wiki="$db" --procs=4 --maxtime=300 &
 39+ nice -n 20 php runJobs.php --wiki="$db" --procs=5 --maxtime=300 &
3940 wait
4041 fi
4142 done

Status & tagging log