Job queue
From Wikitech
Job queue runners run on srv151-180 (the job-runners node group). Start them with
dsh -N job-runners -f /home/wikipedia/bin/jobs-daemon.
No installation or setup is required, just MediaWiki. The script contains:
- start-stop-daemon --start --background --chuid apache --nicelevel 20 --make-pidfile --pidfile /var/run/mw-jobs.pid --startas /home/wikipedia/common/php-1.5/maintenance/jobs-loop.sh
To stop the job runners on a given server, use:
start-stop-daemon --stop --pidfile /var/run/mw-jobs.pid
It should trap SIGTERM and shut down the child processes.