Last modified: 2014-08-25 16:19:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71978, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69978 - deployment-mediawiki02 enwiki: Memcached error: Error connecting to 127.0.0.1:11211: Connection refused
deployment-mediawiki02 enwiki: Memcached error: Error connecting to 127.0.0.1...
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-25 14:55 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-08-25 16:19 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2014-08-25 14:55:33 UTC
For some reason the hhvm process on deployment-mediawiki02 ends up hitting memcached server on port 11211 instead of 11212 (used by nutcracker).

I haven't found the root cause for this.
Comment 1 Antoine "hashar" Musso (WMF) 2014-08-25 15:04:07 UTC
The MediaWiki configuration cache is in /tmp/mw-cache-master  which might end up having null size configuration files whenever / is filled up.  Might cause some side effect causing MediaWiki to use some obsolete configuration or the wrong settings.
Comment 2 Bryan Davis 2014-08-25 15:57:33 UTC
From mediawiki-config/wmf-config/mc-labs.php:

  $wgObjectCaches['memcached-pecl']['servers'] => array( '127.0.0.1:11212' )

Was this maybe caused by the full disk and empty config cache problem that was noticed on the same day?
Comment 3 Antoine "hashar" Musso (WMF) 2014-08-25 16:19:50 UTC
Yeah I though it was related to the /tmp/mw-cache-master being dirty (0 bytes files).  But the issue is still showing up in the memcached-serious log bucket:

deployment-bastion:/data/project/logs$ tail -f memcached-serious.log 
2014-08-25 16:17:15 deployment-mediawiki02 enwiki: Memcached error: Error connecting to 127.0.0.1:11211: Connection refused
2014-08-25 16:17:15 deployment-mediawiki02 enwiki: Memcached error: Error connecting to 127.0.0.1:11211: Connection refused
2014-08-25 16:17:15 deployment-mediawiki02 enwiki: Memcached error: Error connecting to 127.0.0.1:11211: Connection refused



Seems our configuration somehow fallback to MediaWiki build-in default:

 includes/DefaultSettings.php:$wgMemCachedServers = array( '127.0.0.1:11211' );


On bastion, I looked at the object cache configuration with:

$ mwscript eval.php --wiki=enwiki
> var_dump( $wgObjectCaches );

All seems fine.


mwscript does not exist on mediawiki02 though, could not check there.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links