libMemcached is an open source C/C++ client library and tools for the memcached server.
Questions tagged [libmemcached]
110 questions
1
vote
3 answers
Install memcached on Ubuntu 12.04
sudo pecl install memcached
It prompts:
libmemcached directory [no] :
Tried the default value and a lot of different directories and downloaded source. Sure do enjoy these vague error messages.
Where do I find the files it is looking for and what…

jSnake04
- 113
- 1
- 7
1
vote
1 answer
Building libmemcached with SASL on Debian Wheezy
I'm trying to build libmemcached-1.0.18 on Debian Wheezy with libsasl2 in /usr/lib/x86_64-linux-gnu/libsasl2.so and memcached in /usr/bin/memcached. When I run ./configure --with-memcached-sasl --prefix=/opt/libmemcached I end up with the following…

Jacek
- 464
- 4
- 9
1
vote
1 answer
Dokku install libmemcached
I am trying to deploy Django application with Dokku.
My requirements.txt contains django-pylibmc that requires pre-installed libmemcached.
So when I push my repo it fails with this message:
remote: In file included from…

Vladimir Nani
- 2,774
- 6
- 31
- 52
1
vote
0 answers
c++ memcached_get doesn't return large values
This program are working fine
memcached_st *memc;
memcached_return rc;
memcached_return error;
memc= memcached_create(NULL);
servers= memcached_server_list_append(servers, "localhost", 11211, &rc);
rc= memcached_server_push(memc, servers);
uint32_t…

RoiHatam
- 876
- 10
- 19
1
vote
0 answers
memcached turning off compression for certain keys
I have certain keys that I'd like to use append / prepend methods on, but the memcached documentation says I need to have compression turned off. Now, I'm assuming I would like to have compression on for the remaining keys, so how would I go about…

Jacob Kranz
- 921
- 3
- 11
- 24
1
vote
1 answer
How do I determine when data in memcached is supposed to expire?
I am working on a PHP Laravel project as a tester and I am trying to test to make sure that some data in Memcached (running this locally) only expires after 30 days. But I am having trouble figuring out how to identify the expiration date/time of…

Patrick
- 3,302
- 4
- 28
- 47
1
vote
1 answer
is memcached used by couchbase?
As i observe couchbase is using internally memcached server for storing data in memory.
what is the advantage of memcached bucket over memcached server in couchbase as its using same damn thing.
moxi is getting the data and its forwarding to…

nilesh
- 21
- 1
- 2
1
vote
1 answer
what is alternative of memcached_dump in libcouchbase?
as I observe did not found any alternative of memcached_dump in libcouchbase api.
I have seen tap function in 1.8 version but as i observe it is not their in 2.0.

nilesh
- 21
- 1
- 2
1
vote
0 answers
doesn't detect memcached failure
i am using libmemcached-0.32. I set the behavior flags as below
memcached_behavior_set(memcached, MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT, 5);
memcached_behavior_set(memcached, MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS, 1);
but when one of the two…

JohnG
- 807
- 1
- 12
- 20
1
vote
1 answer
How to properly prevent memcached "protocol injection"?
I found that when I put \r\n in the key to get the value from memcached server, it can be used to inject the memcached protocol to run another command. Following is the code example,
In PHP:
addServer('localhost',…

lqs
- 1,434
- 11
- 20
1
vote
2 answers
data stored by pylibmc cannot be uncompressed in php memcached
We have an application where we are using python to store lots of data in memcached.We are using pylibmc in python and on php side we are using php-memcached library.As a summary
pylibmc v.1.2.3
php-memcached v.2.0.1
libmemcached v1.0.8.…

Shades88
- 7,934
- 22
- 88
- 130
1
vote
1 answer
PECL-Memcache can't read INTs set from PECL-Memcached
I'm in the process of switching applications from PHP PECL-Memcache client to PECL-Memcached and I'm hitting a snag.
It seems that if I set an INT value from PECL-Memcached that PECL-Memcache can't read it. I see something like:
MemcachePool::get():…

Gary Richardson
- 16,081
- 10
- 53
- 48
1
vote
1 answer
How to install libmemcache on CentOS
I need to install libmemcache onto a CentOS box. I don't have root privileges, so preferably everything would go somewhere inside my home directory.
I've tried downloading libmemcached-1.0.12.tar.gz and building it with ./configure…

Chap
- 3,649
- 2
- 46
- 84
1
vote
1 answer
libmemcached and PHP memcached library: crashing on OS X -- timeout?
I used Homebrew to do all my installs but am having some trouble here...
So I have a PHP application that for whatever reason uses both the "memcache" and "memcached" modules. Whatever.
System is OS X Lion, 10.7.4. Apache is the stock one Apple…

ashgromnies
- 3,266
- 4
- 27
- 43
0
votes
2 answers
libmemcached store mysql result
I want to store an entire MYSQL result in memcached via libmemcached in C. Is this possible or do I have to store each row element in memcached separately?

Slava Markeyev
- 317
- 1
- 4
- 13