I am new to memcached but I do need to fix this error quick on the website
I don’t know where to cut in?
Anything that I can do to find out which node or key memcached failed to get?
Any log files can I look into?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This occurs when you store an object which has references to recources such as file descriptors or database connections. It can also occur if the object you get is of a class which isn’t loaded when you get it from memcached.
To find out which memcached key fails, you could set a custom error handler, which can access the memcached key, just before the call to Memcached::get and restore it afterwards. Then you can log the warning together with the key.
[Edit] Here’s an example: