Re: [PHP] Memcache problems

2011-02-04 Thread Jostein Eriksen
Thanks for your help so far. I've just started noticing a bunch of "zend_mm_heap corrupted" in logs, Could this be the reason? On 02/03/2011 11:12 PM, Alex Nikitin wrote: Short of some process going crazy, which you should check for, some psing, top and netstat, i cant think of any reason you s

Re: [PHP] Memcache problems

2011-02-03 Thread Alex Nikitin
Short of some process going crazy, which you should check for, some psing, top and netstat, i cant think of any reason you should ever get a connection drop, short of a hardware failure (memory perhaps), or an experimental kernel settings or modules or something... i cant think of any way that a co

Re: [PHP] Memcache problems

2011-02-03 Thread Jostein Eriksen
On 02/03/2011 10:49 PM, Adam Richardson wrote: On Thu, Feb 3, 2011 at 4:19 PM, Jostein Eriksen wrote: Both php and memcached is running on the same server. memcached version 1.2.2 php5-memcache version 2.2.0 php version 5.2.4 here is a snippet from my code that may be of interest $cfg['server

Re: [PHP] Memcache problems

2011-02-03 Thread Adam Richardson
On Thu, Feb 3, 2011 at 4:19 PM, Jostein Eriksen wrote: > Both php and memcached is running on the same server. > memcached version 1.2.2 > php5-memcache version 2.2.0 > php version 5.2.4 > > here is a snippet from my code that may be of interest > $cfg['serverList'] = array('127.0.0.1', 11211, 1,

Re: [PHP] Memcache problems

2011-02-03 Thread Jostein Eriksen
Both php and memcached is running on the same server. memcached version 1.2.2 php5-memcache version 2.2.0 php version 5.2.4 here is a snippet from my code that may be of interest $cfg['serverList'] = array('127.0.0.1', 11211, 1, 1); ... $this->memcache = new Memcache(); foreach($cfg['serverList']

Re: [PHP] Memcache problems

2011-02-03 Thread Alex Nikitin
There could be many a reasons for this, and it really depends on your setup. For example, is php and memcache on the same server, if they are not what is the network topology like, it could be a piece of hardware starting to malfunction, it could be an issue with the networking driver, on the other

[PHP] Memcache problems

2011-02-03 Thread Jostein Eriksen
Hi, I've been having some problems with memcache lately. It seems to me that php is dropping connection to the memcache server mid way through the scripts. I've sat the failure_callback to log failures. And I'm getting a lot of them. Several every minute. I'm quite stuck now and realy dont kn