libMemcached is an open source C/C++ client library and tools for the memcached server.
Questions tagged [libmemcached]
110 questions
0
votes
1 answer
Libmemcached creating socket for each get & set request
I am going through libmemcached 1.0.18 code. One thing I did not understand why it is creating socket for each get & set request? Is there any special reason for that or my assumption is wrong. But in the code I see socket is getting created for…

Kunal
- 55
- 7
0
votes
0 answers
LibMemcached crash php-fpm
I have PHP:
root@15048:/# php -v
PHP 7.0.3-1~dotdeb+8.1 (cli) ( NTS ) Copyright
(c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c)
1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend…

Aleksey Solomakha
- 113
- 1
- 1
- 9
0
votes
1 answer
Libmemcached.php on line 395
Error from /var/log/system.log when memcached is enabled in local.xml:
2016-03-06T00:37:16+00:00 ERR (3): Warning: Division by zero in /public_html/demo/lib/Zend/Cache/Backend/Libmemcached.php on line 395
Site is on shared hosting with cloudlinux.…

Samo Čretnik
- 31
- 2
0
votes
1 answer
How to connect to memcachedb and use API
I have installed memcachedb according to the Memcachedb: The complete guide, and I am able to set and get the key,values using telnet as explained in the guide.
What I really want to do is to set and get the key, value pairs from a python script.
I…

Wajahat
- 1,593
- 3
- 20
- 47
0
votes
1 answer
pylibmc - how to support values greater than 1 MB
I'm already running memcached with the -I 3m option.
But do I need to tell pylibmc about the size change?
I tried this:
self.cache = memcache.Client(servers, binary=True,
server_max_value_length=(1024 * 1024 * 2),
behaviors={"tcp_nodelay":…

Greg
- 45,306
- 89
- 231
- 297
0
votes
0 answers
Memcached timeout
I found sample code about using libmemcached in C/C++. But I don't understand the meaning of two timeout:
memcached_timeout of memcached_behavior_set()
expire of memcached_set()
rc = memcached_behavior_set( memc_primary,…

GSP
- 574
- 3
- 7
- 34
0
votes
1 answer
How to manage Zend session save handler using Zend?
I want to save zend session in memcache rather than files bases session management. I have correctly added memcache.dll file in Windows 8 x64 system and check that memcache is working fine and have also installed memcached and windows services…

Smile
- 2,770
- 4
- 35
- 57
0
votes
1 answer
Unable to connect to memcachedb using libmemcached
I'm writing a small C++ application that is able to connect to a memcachedb instance using the libmemcached C++ API.
The memcachedb instance was created using the following command:
memcachedb -m 64 -p 21201 -A 4096 -u memcachedb -l 127.0.0.1 -H…

Andres Felipe
- 625
- 7
- 24
0
votes
1 answer
django memcached on red hat
I have installed pylibmc, libmemcached and activated memcached in settings.py using location:/path/to/memcached.sock/
When i run the websiteg i get:
libmemcached.so.11: cannot open shared object file: No such file or directory
Now i open an ssh…

Dave
- 43
- 5
0
votes
1 answer
Stack based allocation not recommended?
The libmemcached documentation has this note:
You may wish to avoid using memcached_create(3) or memcached_clone(3)
with a stack based allocation. The most common issues related to ABI
safety involve heap allocated structures.
How do I have to…

Peter VARGA
- 4,780
- 3
- 39
- 75
0
votes
2 answers
Does the use of Memcached to store PHP variables involve any writing to the hard disk drive?
Since this is what I am trying to do. I want to make some variable values available to a PHP script. The values are fetched from the internet every minute (they change). I do not want the values to be written and written again to the SSD. Does…

W.M.
- 589
- 1
- 6
- 13
0
votes
1 answer
Regarding Memcached source code running issue
using the following link,tried running the memcached source code...
https://devcenter.heroku.com/articles/process-model
while running it,configure command works properly.
when i'm running the make command,it throws the following error....How…

udaya chandran
- 11
- 3
0
votes
4 answers
Pip unable to install pylibmc
CentOS release 6.5 (Final).
Python 2.7.5 using Virtualenv.
> rpm -qa…

skyler
- 8,010
- 15
- 46
- 69
0
votes
2 answers
How can I reduce memcached key size using base64 encoding?
Here you can read:
64-bit UID's are clever ways to identify a user, but suck when printed
out. 18446744073709551616. 20 characters! Using base64 encoding, or
even just hexadecimal, you can cut that down by quite a bit
Blockquote
but as far I…
user1785721
0
votes
0 answers
PHP+Memcached exceptions when running via CLI
We recently started using the Memcached cache adapter provided by ZF2. While the server appears to be running perfectly when using the web browser (Apache HTTP Server), I have seen two different exceptions when running the application from the CLI.…

webjawns.com
- 2,300
- 2
- 14
- 34