libMemcached is an open source C/C++ client library and tools for the memcached server.
Questions tagged [libmemcached]
110 questions
2
votes
1 answer
Zend_Session_SaveHandler_Interface and a session_id mysterie
I'm trying to setup my own Zend_Session_SaveHandler based on this code
http://blog.digitalstruct.com/2010/10/24/zend-framework-cache-backend-libmemcached-session-cache/
This works great, except that my session_id behave mysteriously.
I'm using the…

Peter
- 1,211
- 4
- 17
- 32
2
votes
1 answer
libmemcached path?
Trying to follow these instructions:
(http://dev.mysql.com/doc/refman/5.1/en/ha-memcached-interfaces-mysqludf.html)
shell> tar zxf memcached_functions_mysql-1.1.tar.gz
shell> cd memcached_functions_mysql-1.1
shell> # If memcached library is not…

Hayden
- 361
- 4
- 18
2
votes
2 answers
using memcached_get() in libmemcached without value_length
so I got a question very much related to: question with memcached_get() in libmemcached
it doesn't seem apparent or possible to me from the documentation. is it possible to get a value based on a key without knowing the length of the data? i plan on…

jcfrei
- 1,819
- 4
- 19
- 35
2
votes
2 answers
What causes memcached error 10 ('server error')?
Using PHP, I'm persisting an array in memcached as part of the following process:
Get array from memcached
Perform operations on first item in array
Update array based on result of operations
Set array in memcached
The array contains URLs as…

Jon Cram
- 16,609
- 24
- 76
- 107
2
votes
2 answers
libmemcached fail over of a cluster's node
i use libmemcached in "c" for write data whit MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA usage. All keys are well distributed along all clusters nodes, but when i shutdown one of these, the keys are not migrated. Searching on google is not clear how…

Claudio Bisegni
- 103
- 2
- 9
1
vote
1 answer
memcache append/prepend with google protocol buffers
SOLVED: I tried appending a single SerialKey to the list. When I now append a SerialKeyList with one key, it works as it should be.
I am using memcached with libmemcached and the google protocol buffers to save a list in the cache which consists of…

devjat
- 138
- 1
- 6
1
vote
1 answer
Libmemached lagging not getting the cache value from the server after memcached rebooted
Am using phalcon libmemcached my php application. Once i deleted and recreate the memcache server after that i can set the token in the cache it is working and also i can get the token from the cache server immediately. But when i use the same token…

user2589998
- 11
- 2
1
vote
1 answer
Installing Python pylibmc on Windows fails with "Cannot open include file: 'libmemcached/memcached.h'"
I apparently need memcached to use pylibmc with Django but it keeps popping
fatal error C1083: Cannot open include file:
'libmemcached/memcached.h': No such file or directory
I saw this question and this one for Windows (among others) which don't…

NaturalBornCamper
- 3,675
- 5
- 39
- 58
1
vote
1 answer
memcached bytes is larger than limit_maxbytes
In my opinion,bytes refers to the space memcached used now, and limit_maxbytes is the max space memcached can use. When I insert items into memcached constantly with expiration=0, the older item should replace the last recently used one by…

muxiao
- 41
- 2
1
vote
2 answers
Unable to retrieve a cached piece of information that was saved with Laravel app, but trying to get within a phalcon app
I am trying to save a string with one application to memcached. And then after an http redirect, trying to retrieve that information from a different application on the same server. I am able to save, but retrieving the information is not…

Clint Broadhead
- 21
- 5
1
vote
1 answer
Cannot find save handler 'memcached' - session startup failed
I have my own simple hosted site on Fasthosts. I was offered to upgrade PHP from 7.0 to 7.3 but I am getting the following error:
Warning: session_start(): Cannot find save handler 'memcached' - session startup failed in /home/xxx
I have tried…

Gripper
- 11
- 2
1
vote
0 answers
PHP Memcached: Entire cache gets lost when add a new host
When adding a new host on runtime, the entire cache gets lost. How to fix this? Can anyone tell the steps, How to investigate this issue?

Ehtasham Nasir
- 165
- 6
1
vote
0 answers
How to compile php-memcached at PHP7.1 correct?
I would like installed PHP Memcached on my Operating System. You can find more informations about my system on following facts.
Operating system: Debian 8 (Jessie)
Architecture: armhf
Installed packages: memcached, php7.1-dev,…

ZPascal
- 323
- 2
- 4
- 14
1
vote
0 answers
recovered memcached server is not recognized by php memcached
I start 2 memcached servers, Write data to both of them.
I take down one memcached server. I can see that the remaining server gets the new memcached writes.
After the 2nd server is recovered, php memcached is not using the 2nd server. Here are the…

WorM
- 1,115
- 1
- 12
- 18
1
vote
1 answer
Performance overhead of short timeouts in Memcached
I am wondering whether having short timeouts (60 seconds) in memcached would have any negative effect on performance, VS longer timeouts, but ignoring the returned value (if it was stored more than 60 seconds ago).
Would having lots of cache misses…

Sina
- 607
- 7
- 22