r64052 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64051‎ | r64052 | r64053 >
Date:01:32, 23 March 2010
Author:tstarling
Status:ok
Tags:
Comment:
Miscellaneous tweaks for WMF-specific script
Modified paths:
  • /branches/wmf-deployment/maintenance/storage/recompressTracked.sh (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/maintenance/storage/recompressTracked.sh
@@ -1,15 +1,16 @@
22 #!/bin/bash
33
44 for db in `</home/wikipedia/common/all.dblist`;do
 5+#for db in enwiki;do
56 echo "
67 -------------------------------------
78 $db
89 -------------------------------------
910 " | tee -a /home/wikipedia/logs/norotate/rct/stdout.log
1011 if [ "$db" == enwiki ]; then
11 - procs=5
 12+ procs=10
1213 else
1314 procs=5
1415 fi
15 - php recompressTracked.php --wiki=$db --procs=$procs --info-log=/home/wikipedia/logs/norotate/rct/info.log --critical-log=/home/wikipedia/logs/norotate/rct/critical.log rc1 2>&1 | tee -a /home/wikipedia/logs/norotate/rct/stdout.log
 16+ php recompressTracked.php --wiki=$db --no-count --procs=$procs --info-log=/home/wikipedia/logs/norotate/rct/info.log --critical-log=/home/wikipedia/logs/norotate/rct/critical.log rc1 2>&1 | tee -a /home/wikipedia/logs/norotate/rct/stdout.log
1617 done

Status & tagging log