Adam, That's definitely a good idea. It does not take much to implement the callback function to log such failures. We can even do it inside the memcached class itself.
I think this suggestion belongs to the dev alias, and thus copied it. I'd just go file a JIRA for this. I can satisfy it in no time. -Akara Adam Zhang wrote: > Hi Akara, > > I know it's not a major or critical issue. But I want to email you the > stuff waht I found about this memcached issue. Maybe it's nothing. > > Sometimes the index.php can't get cached item from the memcache server. > Because the code is using addServer to add the memcached server and at > that time it doesn't connect to the memcached server. When the code > begins use functions to get item, sometimes it fails because it cannot > set up the connection to the memcached for several seconds. You can > verify it by using a failure_callback function when calling addServer(). > [http://us2.php.net/manual/en/function.memcache-addserver.php] > > Also I found that there was an option for memcached. I have tests this > option but It didn't fix the issue. > "-c <num> max simultaneous connections, default is 1024" > > Regards, > Adam >
