Questions tagged [libmemcache]

Libmemcache is the C API for memcached, a high-performance, distributed memory object caching system.

63 questions
1
vote
0 answers

Using multiple Clients to access memcache with consistent key distribution with Ketama

I am having trouble reading from a memcache server using a different Python Client then the one used to write the values to memcache. I have a process that writes to the cache with pylibmc, using the 'ketama' behavior. I have a different service…
emispowder
  • 1,787
  • 19
  • 21
1
vote
2 answers

Installing memcache PECL extension on MAMP Mac OX X 10.9

I'm trying to install the PECL memcache extension in MAMP on my Mac running 10.9 (Mavericks). I just upgraded to MAMP 3.0 and need to reinstall. I ran sudo pecl install memcache in Terminal but my paths seem to be stuffed up and it cannot find…
Ben Sinclair
  • 3,896
  • 7
  • 54
  • 94
1
vote
1 answer

What is the meaning of "php_network_getaddresses: getaddrinfo failed"?

What is the meaning of "php_network_getaddresses: getaddrinfo failed"? when i'm using memcache, i found this "What is the meaning of "php_network_getaddresses: getaddrinfo failed"?" appears when running the methods of memcache.
Nedal Eldeen
  • 159
  • 1
  • 7
1
vote
2 answers

Performance Testing in AWS using jmeter tool returns 403 error after a duration of 45- 60 minutes duration

I am running a performance test in AWS environment using jmeter tool. we have a cluster with auto scaling enabled and having memcache session failover jars. we are using jmeter master slave so we don't get the response data from the JTL file. The…
1
vote
1 answer

Using memcachier for session handling on Appfog

I have a PHP application hosted on Appfog. I'm doing some load testing and running it across 3 instances, causing users to become logged out as the app currently uses the default $_SESSION variables to maintain a logged in state on a single…
hud
  • 203
  • 1
  • 5
  • 13
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
0
votes
1 answer

How can I compile memcached-1.4.7's source code if I made some change?

I modified the source code of memcached-1.4.7, but I got stuck when I tried to compile the new code. I add two files (test.c and test.h) to the source. I modified items.c to call some function provided by test.c. Now I would like to compile the new…
Geni
  • 687
  • 3
  • 10
  • 22
0
votes
1 answer

building pylibmc with sasl support

I'm trying to build the latest version of pylibmc (1.2.2) to support SASL on CentOS 6. The documentation says that the build require libsasl2, which I have in /usr/lib64/, however, the build process for the python package does not seem to recognize…
jpreed00
  • 893
  • 8
  • 25
0
votes
1 answer

memcache_get() giving segmentation fault

I have a following simple memcache code::::: memcached_return *rc = NULL; char *sur = "SURBHI"; memcached_set(cacheClient, "SB", strlen("SB"), sur, strlen(sur), (time_t)0, (uint32_t)0); char *value1; memcached_get(cacheClient, "SB", strlen("SB"), 6,…
surbhi
  • 41
  • 1
  • 3
0
votes
1 answer

During hi-load moxi can return not found on existing keys

In our project we are using CentOS5.6+php5.2.17+libmemcached+php memcached2+moxi+membase First time i thought that it was app error, but after few weeks getting statistics and checks some situation i found that during hi load on moxi, it can return…
Andrey Nikishaev
  • 3,759
  • 5
  • 40
  • 55
0
votes
2 answers

How to handle MEMCACHED_SERVER_MARKED_DEAD?

I have a cluster of 10 memcaches, using consistent hashing. When the key passed to memcached_get() is searched on the unavailable server I get just MEMCACHED_SERVER_MARKED_DEAD response (return value). I would expect the key should be redistributed…
smrt28
  • 469
  • 3
  • 20
0
votes
1 answer

What's the default behavior of memcache for MEMCACHED_BEHAVIOR_NO_BLOCK?

As is stated in the doc "Default behavior is the library strives to be quick and accurate" and MEMCACHED_BEHAVIOR_NO_BLOCK Causes libmemcached(3) to use asychronous IO. This is the fastest transport available for storage functions. I want to know…
konchy
  • 573
  • 5
  • 16
0
votes
1 answer

Memcached php sessions keep increasing

I run a lamp stack of a couple of application servers which used a single dedicated memcache server for hosting sessions. The problem is that the items in the cache increase in a steady almost linear pace. This worries me. I figured that when the…
0
votes
0 answers

Compiling libmemcached in OpenSolaris/OpenIndiana

I wish to compile libmemcached into OpenIndiana OS. The configure process works perfectly with the following output configure: creating ./config.status config.status: creating libhashkit/hashkitcon.h config.status: creating…
0
votes
2 answers

Can you see what is in memcached?

I'm using memcached extension in a PHP5 application. We're running a LAMP stack on Ubuntu Maverick (10.10). We're using memcached for a series of things, one of which is persisting user session among multiple applications. My question is, is there a…
xzyfer
  • 13,937
  • 5
  • 35
  • 46