Thread:Project:Support desk/refreshlinks.php and runjobs.php hang


 * MediaWiki version: 1.22.5
 * PHP version: 5.5.3
 * Database: MySQL 5.6.15

I've been experiencing a problem with these two maintenance scripts where they hang upon execution. The problem seems to be refreshLinks jobs; they won't run from the command line, but they run just fine out of the normal per-page view job queue. runJobs.php just hangs when it gets to such a job, and refreshLinks.php stops after displaying "100" after "Refreshing links table" (very nearly identical to the problem here: Manual_talk:RefreshLinks.php). In both cases, the PHP command line shows no CPU usage, and MySQL shows that the connection has gone to sleep. I've tried disabling all extensions on the wiki, thinking that might be the issue, but that doesn't have any effect. Given the large volume of jobs this particular wiki has, I've been forced to raise $wgJobRunRate to keep up -- but that's less than optimal as it impacts page load time. Thoughts?