(moving thread to tech list)
Jens Frank wrote:
it starts happening again. Server performance is
very slow, saving edits result in "No data"
error popups but the page is saved.
And now it says:
Could not select database wikidb
Commands out of sync; You can't run this command now
Well, this should hopefully start to narrow it down. Thanks for the report!
in DatabaseFunctions.php::wfGetDB():
if ( ! $wgDBconnection ) {
$wgDBconnection = mysql_pconnect( $wgDBserver, wgDBuser,
$wgDBpassword ) or die( ..... );
mysql_select_db( $wgDBname, $wgDBconnection ) or die( .... );
}
The error message comes up on the mysql_select_db, and is the first
thing we do after opening a connection; but since we're using persistent
connections, it could be left in an odd state after the last process...?
-- brion vibber (brion @
pobox.com)