In earlier versions of MediaWiki, Special:Statistics pages used to show the number of jobs in queue that are waiting to be executed. In version 1.19 and later Special:Statistics page does not show pending job count. You can however use MediaWiki API to find out this information. Go to the following page to see the number of pending jobs: /api.php?action=query&meta=siteinfo&siprop=statistics This will show you a piece of XML in which “jobs=” property shows the pending job count. For example: The above example shows that 27 jobs are pending in the job queue. Please note that use of API should be enabled in LocalSettings.php before you can make use of the above path. The rate of execution of jobs can be controlled by setting $wgJobRunRate variable in LocalSettings.php. By default one job is executed every time a wiki page is requested by the user. If the server load is too high, you can use $wgJobRunRate to lower the number of jobs per request. For example: $wgJobRunRate = 0.01; This will make sure that one job is executed at every ten requests. It is one of the important MediaWiki performance optimization trick. If your wiki is heavily edited, it is better to keep an eye on job queue and see how fast jobs are getting executed. This would give you an idea about the ideal value to be set for $wgJobRunRate variable. I hope this tip was useful for you. Do let me know if you have any questions. Comment * Name * Email * Website
Δ