I should clarify that most jobs run just fine, automatically handled by
MediaWiki with $wgJobRunRate set to 0.1 or 0.5 depending on the wiki. It's
just the occasional job that gets stuck that I have to clear by hand (which
I first detect because I have a Graphite dashboard with a graph showing all
five wikis' job table row counts).
I've not seen anything helpful to me in any logs, even when enabling
$wgDebugLogFile.
When I run the runJobs script, sometimes it will keep running what appear
to be the same jobs over and over (looping the runJobs script on the
command line) but never clearing the queue. The queue will get shorter and
shorter and then jump again in length with identical or similar jobs being
processed over and over. The job_attempts field is never above 1. Setting
it to 0 for a stuck job doesn't cause it to get run and cleared.
On Mon, Feb 23, 2015 at 10:55 AM, Max Semenik <maxsem.wiki(a)gmail.com> wrote:
1) How do you process jobs?
2) Anything in logs?
Note that in theory, if a job encounters a problem, it will be dequeued
after 3 attempts.
On Mon, Feb 23, 2015 at 10:47 AM, Justin Lloyd <jllwyd(a)gmail.com> wrote:
I've been seeing a problem for some time now
where jobs in the queue will
not get run or removed from the job table. The showJobs and runJobs
scripts
don't seem to find them but the do show in
the job table and the only way
to remove them is manually with delete (or truncate) statements. The job
type varies, sometimes SMW\UpdateJob, sometimes refreshLinks, etc. I have
five wikis but it only seems to happen on three of them since the other
two
have very low write activity. They are all
currently MediaWiki 1.23.2 and
Semantic MediaWiki 2.0.
Please let me know if there are any known bugs I should look into as the
possible culprits (I've yet to see any that seem to match this issue) and
whether there is any more information I can provide to help troubleshoot
this.
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
--
Best regards,
Max Semenik ([[User:MaxSem]])
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l