Hi,
We're having some intermittent problems with memecached, and thought someone might have a suggestion for us.
We have a single memcached server using 2GB of the 4GB of system memory. Lately we've been occasionally seeing on the site <mediawiki_messge_key> instead of the contents of the message. I'm running mctest.php a few times from each of our Apache servers, and the 'get' returned is occasionally 0, but I can't seem to reproduce this problem reliably. The load on the server running memcached is very low, and the number of connections to the memcached server fall usually between 5 and 15, and we have 6 Apache servers.
Could we need more memory, or could it be a network issue? Does memcached have any commands to tell how much of the allocated memory it is using, or are there any other diagnostics I can run to shed light on the issue?
Thanks. Travis
What memcached version do you use?
Emil
2008/7/3 Travis D. (wikiHow) <travis+lists@wikihow.comtravis%2Blists@wikihow.com
:
Hi,
We're having some intermittent problems with memecached, and thought someone might have a suggestion for us.
We have a single memcached server using 2GB of the 4GB of system memory. Lately we've been occasionally seeing on the site <mediawiki_messge_key> instead of the contents of the message. I'm running mctest.php a few times from each of our Apache servers, and the 'get' returned is occasionally 0, but I can't seem to reproduce this problem reliably. The load on the server running memcached is very low, and the number of connections to the memcached server fall usually between 5 and 15, and we have 6 Apache servers.
Could we need more memory, or could it be a network issue? Does memcached have any commands to tell how much of the allocated memory it is using, or are there any other diagnostics I can run to shed light on the issue?
Thanks. Travis _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Travis D. (wikiHow) wrote:
Hi,
We're having some intermittent problems with memecached, and thought someone might have a suggestion for us.
We have a single memcached server using 2GB of the 4GB of system memory.
Maybe the OS don't support assigning more than 2GB to one process? Memcached recommends in that case to run several instances of memcached.
Hello Travis,
Could we need more memory, or could it be a network issue? Does memcached have any commands to tell how much of the allocated memory it is using, or are there any other diagnostics I can run to shed light on the issue?
If you're running any older 1.2 release, go upgrade to 1.2.6 or so. Of course, you can just restart memcached and wait for it to happen again :)
wikitech-l@lists.wikimedia.org