There was a bug in our db.php configuration file which caused all the load selectors in the database server list to be set to NULL. This confused the selection code, and everything loaded up samuel even when there was slight lag on it.
I've fixed this, and it seems to distributing load a bit more equitably and not pausing on short lags so much.
While tracking this down, I added in the support for secondary debug log files that we've talked about from time to time. You can add additional log files for debug groups in $wgDebugLogGroups, calls to wfDebugLog() take a group name and will log to that file if it's set, or pass through to wfDebug() otherwise.
This should make it easier to temporarily log particular issues on the production boxen to help in tracking down problems.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org