Thanks for the response.

I've been testing as best I can and I've found that setting and getting fail. I get either no output, or a

Notice: Memcache::set(): Server my.memcachehost.com (tcp 11211) failed with: Received malformed response (0) in /var/www/memcache.php on line 5

I'm able to continue setting and getting via telnet without any issues. Also, if I redeploy my webserver (onto somewhere else in our cluster) things sometimes are happy, sometimes they continue to fail. When I look at netstat, I don't see the connections in memcache. When looking at the output from memcached, it doesn't show any additional output (as if the connection never reaches it.) I'm confident it's not my firewall rules, as I've got everything automated so that my configuration is consistent between versions. I've also ruled out the extension being used. It happens using the memcached, memcache, and an extensionless method that I found.

I'm running on Ubuntu 10.04. All of the other services on this cluster don't have any connection issues (mysql, http, load balancer, ssl terminator) and they all use my same script for configuring the firewall rules appropriately.

All of the stats look ok. I'm not maxing out the connection limit, and I am nowhere near memory limits. This happens when using memcache for sessions and for page cache.
STAT pid 126
STAT uptime 2017
STAT time 1330588738
STAT version 1.4.10
STAT libevent 1.4.13-stable
STAT pointer_size 64
STAT rusage_user 0.040000
STAT rusage_system 0.160000
STAT curr_connections 10
STAT total_connections 37
STAT connection_structures 11
STAT reserved_fds 20
STAT cmd_get 45
STAT cmd_set 35
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 40
STAT get_misses 5
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 10
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 1942
STAT bytes_written 1672
STAT limit_maxbytes 10485760
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT expired_unfetched 0
STAT evicted_unfetched 0
STAT bytes 303
STAT curr_items 4
STAT total_items 27
STAT evictions 0
STAT reclaimed 0

That's how some of my stats are. I've tried various sizes, this is an exceptionally small one that I was using only for testing.

Thanks,

Joseph Brower


On 02/29/2012 11:16 PM, Yiftach Shoolman wrote:
Hi Joseph,

Can you elaborate a bit more on your problem, what do you mean by unavailable, can you set/get keys ? are your app-->mmemcached tcp connections disconnected ? have you reached to your memcached memory limit (please send memcach stats) ? something else ?

Also, specific question about Magento, does it happen on the session caching (I guess so) or the object caching the part that is based on zend caching ?

Yiftach

On Thu, Mar 1, 2012 at 3:41 AM, Joseph Brower <[email protected] <mailto:[email protected]>> wrote:

    When I'm using Memcache (the PECL extension) with Magento, everything
    works well for an indeterminate amount of time.  After some time
    passes, Memcached becomes unavailable.  This is the odd part though, I
    can still telnet into MemcacheD and issue commands.  I have 4
    webservers all connecting to one memcache instance.  Does anyone have
    any ideas what might be going on?

    Thanks,

    Joseph Brower




--
Yiftach Shoolman
+972-54-7634621 <tel:%2B972-54-7634621>

Reply via email to