Questions tagged [memcached]

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects). It is commonly used as a cache to speed access to frequently used data.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects). It is commonly used as a cache to speed access to frequently used data.

390 questions
1
vote
2 answers

How to find max connections used by memcached?

In our LAMP application we have increased the max connection value for memcached to very high to avoid error for max connection we were having. Now we want to set appropriate value to max connections for memcached. Is there a way to find the maximum…
Ruchit Rami
  • 333
  • 1
  • 8
  • 15
1
vote
1 answer

Memcached in a cloud environment: dedicated server or localhosts?

I'm something of a rookie, so apologies if I'm missing something obvious since my research hasn't led me to much relating to our somewhat unique situation. I'm going to be transitioning a php app to cloud-based servers which is currently running on…
JR.Xyza
  • 135
  • 1
  • 1
  • 6
1
vote
1 answer

Thread Safe php-pecl-memcache and php-pecl-mongo

I'm looking to switch a Fedora server running Apache from prefork to worker. Everything seems to be fine except the php libraries for Mongo and Memcache. Has anyone had any success getting these to work with the httpd worker mpm? Note that I…
dtbarne
  • 167
  • 2
  • 13
1
vote
1 answer

upstream prematurely closed connection while reading response header from upstream, client

I'm using nginx and spawnf-cgi with apc and memcache enabled.I'm getting 502 bad gate way on browser and this error on error log. 2013/01/07 06:55:46 [error] 90799#0: *53 upstream prematurely closed connection while reading response header from…
Harikrishnan
  • 1,159
  • 2
  • 14
  • 32
1
vote
1 answer

Is there a benefit to managing programs with a process manager instead of with init.d?

I'm using Redis, Memcached, and Nginx, to be specific, and Supervisor as the process manager, but any general information is helpful as well. Each of the aforementioned programs when apt-get installed come with /etc/init.d/ scripts. Are the init.d…
Johnny 5
  • 183
  • 1
  • 1
  • 4
1
vote
1 answer

Can't get memcached to run on CentOS 5.8

so I want to install memcached on my CentOS 5.8 server. I followed this tutorial http://kb.liquidweb.com/install-memcached-on-centos-5/ The command netstat -ap | grep 11511 shows that memcached is running. I have added extension =…
1
vote
1 answer

Configuring memcached for a particular scenario

I have a web application which queries opentsdb server(which in backend using Hbase cluster) for the datapoints of different metrics and using dygraph javascript graphing library, I am plotting those metrics. Since getting all the datapoints of past…
pradeepchhetri
  • 2,698
  • 6
  • 37
  • 47
1
vote
1 answer

Memcache Error? "Could not find specified socket in poll list."

For some reason recently I've been getting this error in my apache error log on my server. We have a single instance of memcached running on our Mac OSX 10.7 server. (20014)Internal error: Unknown memcached error while writing: Could not find…
Benno
  • 217
  • 2
  • 10
1
vote
2 answers

upgraded php to 5.3.19 and memcached stopped working

I have a server with centos 6.3 and cPanel After the upgrade from php 5.3.16 to php 5.3.19 my site stopped working. When I try to execute an index.php manually, I'm receiving the following error. php: symbol lookup error:…
Andrey
  • 11
  • 2
1
vote
2 answers

Memcached - i installed it on centOS and have it running. Will it auto run when i reboot?

I did this: sudo yum install memcached then sudo pecl install memcache then I restarted memcache (which actually only started it) with this: sudo /sbin/service memcached restart i have no idea if it will start when I reboot. How do i set that…
user144168
1
vote
0 answers

Is memcache impacting my performence negatively?

I am using pressflow 6 and NewRelic seems to suggest that memcache is infact hurting performance as shown below : My settings.php file : # Varnish reverse proxy on localhost $conf['reverse_proxy'] = TRUE; $conf['reverse_proxy_addresses']…
iTech
  • 355
  • 4
  • 15
1
vote
1 answer

Nginx cache reverse proxy: how to keep app server alive during the 5 second window when cache expires?

I have an nginx server sitting in front of apache running django. Most of my site is static content: http://www.grovemade.com/ My app server can handle the pieces that needs to be dynamic just fine (POST, cart, order status, faq, etc.). A far far…
Yuji Tomita
  • 463
  • 1
  • 3
  • 15
1
vote
1 answer

Memcached session manager in Azure: Connection gets forcibly closed

I am using Memcached Session Manager to handle Tomcat sessions in non-sticky mode. My deployment in Azure consists of a Worker Role with two instances which connect to an Azure VM running my Memcached server. Everything works pretty well, my…
1
vote
1 answer

Response headers in Memcached+Nginx

Is there any way to cache response headers along with the response body in Memcached for use with Nginx?
Dingo
  • 44
  • 6
1
vote
1 answer

Why should I use a custom built memcached instead of Apple's Xcode version?

Memcached seems to be preinstalled with Xcode on OS X, according to Apple's documentation. To make sure I'm not hallucinating, I checked Apple's developer tools documentation. Yes, memcached is supported and documented by Apple: Apple Developer…
GeneQ
  • 407
  • 2
  • 8
  • 17