Index: branches/wmf/1.17wmf1/includes/db/LoadMonitor.php |
— | — | @@ -123,6 +123,8 @@ |
124 | 124 | } |
125 | 125 | $status = $conn->getStatus("Thread%"); |
126 | 126 | if ( $status['Threads_running'] > $threshold ) { |
| 127 | + $server = $conn->getProperty( 'mServer' ); |
| 128 | + wfLogDBError( "LB backoff from $server - Threads_running = {$status['Threads_running']}\n" ); |
127 | 129 | return $status['Threads_connected']; |
128 | 130 | } else { |
129 | 131 | return 0; |