Job queue
From Wikitech
(Difference between revisions)
(updated) |
m (graph) |
||
| Line 3: | Line 3: | ||
A certain percentage of things in the job queue are taken care of by random runs during page views. | A certain percentage of things in the job queue are taken care of by random runs during page views. | ||
| − | There is also a batch runner, [[runJobs.php]]. We have a script to run it in a loop, [[jobs-loop.sh]]. | + | There is also a batch runner, [[runJobs.php]]. We have a script to run it in a loop, [[jobs-loop.sh]]. At any time you can get the number of jobs in the queue using <tt>showJobs.php database</tt>. |
* What machine does it run on? | * What machine does it run on? | ||
| Line 22: | Line 22: | ||
***$ cd /apache/common/php-1.5/maintenance/ | ***$ cd /apache/common/php-1.5/maintenance/ | ||
***$ ./jobs-loop.sh | ***$ ./jobs-loop.sh | ||
| + | |||
| + | Lame graph using "showJobs.php enwiki" : | ||
| + | |||
| + | http://zwinger.wikimedia.org/~hashar/ | ||
Revision as of 21:26, 20 April 2006
A certain percentage of things in the job queue are taken care of by random runs during page views.
There is also a batch runner, runJobs.php. We have a script to run it in a loop, jobs-loop.sh. At any time you can get the number of jobs in the queue using showJobs.php database.
- What machine does it run on?
- What user does it run as?
- Tim
- What starts it?
- Tim
Log
/home/wikipedia/logs/job.log
Current status
- 2006-04-19
- 20:51 brion: running it in a screen:
- $ cd /apache/common/php-1.5/maintenance/
- $ ./jobs-loop.sh
- 20:51 brion: running it in a screen:
Lame graph using "showJobs.php enwiki" :