r90664 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90663‎ | r90664 | r90665 >
Date:16:56, 23 June 2011
Author:asher
Status:ok
Tags:
Comment:
more logging around LB max threads backoff
Modified paths:
  • /branches/wmf/1.17wmf1/includes/db/LoadMonitor.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/db/LoadMonitor.php
@@ -123,6 +123,8 @@
124124 }
125125 $status = $conn->getStatus("Thread%");
126126 if ( $status['Threads_running'] > $threshold ) {
 127+ $server = $conn->getProperty( 'mServer' );
 128+ wfLogDBError( "LB backoff from $server - Threads_running = {$status['Threads_running']}\n" );
127129 return $status['Threads_connected'];
128130 } else {
129131 return 0;

Follow-up revisions

RevisionCommit summaryAuthorDate
r91151Merge r90664 from 1.17wmf1reedy01:27, 30 June 2011

Status & tagging log