#41607 [NEW]: Unexpected Memcache::get(): marked server ... as failed

From: Date: Wed, 06 Jun 2007 07:39:25 +0000
Subject: #41607 [NEW]: Unexpected Memcache::get(): marked server ... as failed
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113444@lists.php.net to get a copy of this message
From: php at koterov dot ru Operating system: Linux PHP version: 5.2.3 PHP Bug Type: Unknown/Other Function Bug description: Unexpected Memcache::get(): marked server ... as failed Description: ------------ On heavy loaded server (20-40 requests/s) I periodically (0nce a second) get an error message from memcached extension: # tail -f php-error_log |grep failed PHP Notice: Memcache::get(): marked server '127.0.0.1:11211' as failed ... But the server is up, the maximum number of connections (-m 1024) is not reached. And this error does not depend on how long the memcached server is running: a couple of minutes after memcached restart I can watch the same error, the statistics is: stats STAT pid 19854 STAT uptime 337 STAT time 1181115051 STAT version 1.2.2 STAT pointer_size 64 STAT rusage_user 1.727737 STAT rusage_system 6.867955 STAT curr_items 63413 STAT total_items 64222 STAT bytes 114838739 STAT curr_connections 16 STAT total_connections 3888 STAT connection_structures 27 STAT cmd_get 259618 STAT cmd_set 64563 STAT get_hits 196161 STAT get_misses 63457 STAT evictions 0 STAT bytes_read 148496793 STAT bytes_written 394115419 STAT limit_maxbytes 1073741824 STAT threads 1 I tried to disable setCompressThreshold, increase memcache.chunk_size, disable persistent connections, enlarge timeout parameters, but an error still happens. Furthermore, this error happens on Windows more frequently, even without heavy load, but I cannot reproduce. I have the only memcached server added: $this->connection = new Memcache(); $this->connection->addServer( "localhost", 11211, true, 1, 10, 2 ); -- Edit bug report at http://bugs.php.net/?id=41607&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41607&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41607&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41607&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41607&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41607&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41607&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41607&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41607&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41607&r=support Expected behavior: http://bugs.php.net/fix.php?id=41607&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41607&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41607&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41607&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41607&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41607&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41607&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41607&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41607&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41607&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41607&r=mysqlcfg

« previous php.bugs (#113444) next »