Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Numinix MediaWiki Demo
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Manual/Job queue
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Changes in MediaWiki 1.22 === <!--T:30--> </translate> <translate><!--T:31--> In <tvar name=mw></tvar>, the job queue execution on each page request was changed (<tvar name=gerrit></tvar>) so, instead of executing the job inside the same PHP process that's rendering the page, a new PHP CLI command is spawned to execute <tvar name=runJobs></tvar> in the background.</translate> <translate><!--T:32--> It will only work if <tvar name=PhpCli></tvar> is set to an actual path or safe mode is off, otherwise, the old method will be used.</translate> <translate> <!--T:33--> This new execution method could cause some problems: <!--T:34--> * If <tvar name=PhpCli></tvar> is set to an incompatible version of PHP (e.g.: an outdated version) jobs may fail to run (fixed in 1.23).</translate> <translate> <!--T:35--> * PHP <tvar name=1><code>open_basedir</code></tvar> restrictions are in effect, and <tvar name=PhpCli></tvar> is disallowed (<tvar name=task></tvar>, fixed in 1.23).</translate> <translate> <!--T:36--> * Performance: even if the job queue is empty, the new PHP process is started anyway (<tvar name=task></tvar>, fixed in 1.23).</translate> <translate> <!--T:37--> * Sometimes the spawning PHP process cause the server or only the CLI process to hang due to <tvar name=1>stdout</tvar> and <tvar name=2>stderr</tvar> descriptors not properly redirected (<tvar name=task></tvar>, fixed in 1.22)</translate> <translate> <!--T:38--> * It does not work for shared code (wiki farms), because it doesn't pass additional required parameters to <tvar name=1>runJobs.php</tvar> to identify the wiki that's running the job (<tvar name=task></tvar>, fixed in 1.23)</translate> <translate> <!--T:39--> * Normal shell limits like <tvar name=1>, , </tvar> are enforced on the <tvar name=2>runJobs.php</tvar> process that's being executed in the background. </translate> <translate><!--T:40--> There's no way to revert to the old on-request job queue handling, besides setting <tvar name=PhpCli></tvar> to <tvar name=1><code>false</code></tvar>, for example, which may cause other problems (<tvar name=task></tvar>).</translate> <translate><!--T:41--> It can be disabled completely by setting <tvar name=code> 0;}}</tvar>, but jobs will no longer run on page requests, and you must explicitly run <tvar name=1>runJobs.php</tvar> to periodically run pending jobs.</translate> <translate>
Summary:
Please note that all contributions to Numinix MediaWiki Demo may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)