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.

learn more… | top users | synonyms

0
votes
2answers
175 views

Can memcache invoke a script to reload itself after startup on Ubuntu?

Since memcache stores everything in ram, it will lose its store after a node recovers from failure. Does memcache offer a hook to invoke a script after it starts up? We want that script to do ...
0
votes
1answer
137 views

Memcached distribution

I have a question about memcached distribution across nodes. We have 20 memcached nodes with 200GB memcached on each. Our apps are PHP apps. $memcache->setOption(Memcached::OPT_DISTRIBUTION, ...
0
votes
1answer
110 views

nginx proxy_cache or Memcached

I currently use nginx's proxy_cache for file-based caching in front of three Django applications (Apache/mod_wsgi). For some locations/URLs, I disabled proxy_cache and used Memcached (per view) within ...
0
votes
1answer
206 views

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 ...
3
votes
1answer
533 views

Does a growing number of TIME_WAIT connections affect server performance?

I have 2 servers, both running RHEL 6, one for Apache 2.2 and one for memcached (memcached-1.4.4-3). I noticed an increase in the number of TIME_WAIT connections on the Apache server netstat -n | ...
0
votes
0answers
378 views

Stopping memcached: [FAILED]. Why?

My application seems to be having issues with memcached not stopping. I'm using php, and have specific keys expiring after every hour. However those keys & values are not repopulating anymore. ...
3
votes
4answers
2k views

Slow Memcached: Average 10ms memcached `get`

We're using Newrelic to measure our Python/Django application performance. Newrelic is reporting that across our system "Memcached" is taking an average of 12ms to respond to commands. Drilling down ...
-5
votes
1answer
55 views

Memcached on MySQL Server? [closed]

I just installed memcache with yum on MySQL Server. However when I start the memcache daemon I see no changes in MySQL/Application performance. I think I still need to configure MySQL to work with ...
-3
votes
1answer
163 views

memcached calling wrong libevent

When I try to run memcached from shell I get: memcached: error while loading shared libraries: libevent-1.1a.so.1: cannot open shared object file: No such file or directory However, i've installed a ...
0
votes
1answer
436 views

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 ...
0
votes
1answer
332 views

how to uncompress memcached content via nginx?

I'm using memcached to store html content ready for nginx to display but I'm getting the compressed output in the browser. It works if I turn off compression in PHP but doubles the response time ...
6
votes
2answers
3k views

How to debug memcached “SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY” errors?

I have a two server memcached setup. When memcached write fails, I receive an email notification. About once per day "SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY" error comes and I have no ...
2
votes
1answer
2k views

How to store php sessions using memcached and unix socket

I am running Arch linux with systemd, nginx, and php with php-fpm. I am trying (and failing) to configure memcached to store sessions using a unix socket. I have memcached installed and active, ...
0
votes
1answer
62 views

AWS ElasticCache - Cross Site - Disaster Recovery

I'm using AWS ElasticCache (MemCached) and can see how instances can be created at different data centers/sites. (eg: singapore A or B) There is no AWS Automatic Replication of ElasticCache from ...
1
vote
1answer
964 views

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 ...
0
votes
1answer
114 views

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 ...
4
votes
3answers
2k views

Yum install php-pecl-memcached - No package found (Have epel-release-6-8.noarch.rpm)

I believed I've downloaded and updated the EPEL rpm but I can't install php-pecl-memcached.. I'm very new to this, any help is appreciated. #rpm -Uvh epel-release-6-8.noarch.rpm warning: ...
0
votes
1answer
284 views

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 ...
2
votes
1answer
839 views

Multiple memcached bins on ubuntu 11.04

I just installed memcached on ubuntu 11.04 (which is my development server). During the install, the script arranged for memcached to be started automatically at boot. Great, just what I needed. ...
1
vote
1answer
68 views

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 ...
1
vote
1answer
131 views

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 ...
1
vote
2answers
511 views

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. ...
-1
votes
2answers
86 views

Memcached installation on Linux server [closed]

I tried to install memcached on linux server. After successful completion of all installation steps(configure, make and make install), when I try to start memcached services, nothing happens. What ...
0
votes
2answers
111 views

Can I use two machines to set up memcache server for a php web app?

I have a web server which hosts my PHP web app and my MySQL server. I would like to throw out one more machine there to use it for memcache/memcached. In order to use Memcache, should I have a ...
0
votes
1answer
145 views

Adding varnish and memcached to an running single server web site

Current set up; I have a single dedicated server running a web site (it's a lamp stack forum) OS : CentOS CPU : Dual 3.2Ghz Quad-core Xeons RAM : 40GBs (10x4GB DIMMs) Storage : Software RAID1 with ...
4
votes
1answer
401 views

Memcache/Elasticache holding many user passwords in memory instead of DB

I have two servers in AWS. One is a live production server (a multi site WordPress installation with hundreds of sites and about 5,000 users) and the other is a clone of prod that is being configured ...
-1
votes
1answer
455 views

How to check what user is running memcached? [closed]

How to check what user is running memcached? I read that running it as root is a bad idea - I installed it while logged in as root. How can I check what owner owns that process? thanks
0
votes
2answers
83 views

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 ...
1
vote
0answers
118 views

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'] ...
1
vote
0answers
144 views

windows 2003 server - php_memcache.dll for PHP version 5.3?

(I posted this in stack overflow about 15 hours ago - but I was told that stack overflow >was not the right forum by the admins for this question, so I'm hoping that this is the >correct forum.) ...
2
votes
3answers
461 views

How to maximize parallel download from S3

I got a lot of images to load from Amazon S3 on a single page, and sometimes it takes quite some time to load all the images. I heard that splitting the images to load from different sub-domains would ...
0
votes
1answer
384 views

500 Internal Server Error when setting up Apache on Ubuntu+Django

I tried with Apache on ubuntu 9.04 and get the same error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact ...
1
vote
1answer
577 views

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 ...
1
vote
1answer
428 views

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 ...
0
votes
1answer
227 views

Monitoring memcached with plink

I need a telnet client that can take commands from a file or stdin so I can do some quick-and-dirty automatic monitoring of memcached. I thought plink would be good for this, but it seems to be doing ...
3
votes
2answers
5k views

How to set up memcached to use unix socket?

While I could use memcached on Debian to use the default 11211 port, but I've had great difficulty setting up unix socket, Form what I'v read, I know that I need to create a memcache.socket and add ...
0
votes
2answers
1k views

Configuring SASL support in libmemcached

I'm trying to build libmemcached with SASL support on OS X Mountain Lion. I have built memcached (1.4.15) with SASL support: $ memcached -S -vv Initialized SASL. slab class 1: chunk ...
1
vote
1answer
262 views

Memcached cache doesn't flush

I would like to flush the memcached cache keys and values on my centos server. I have tried the telnet approach by telnetting to the port and then issuing: flush_all It doesn't work an my values are ...
2
votes
1answer
215 views

How to optimally configure memcache running on 16 cores 144G ram server?

Memcache is the only important app running on the server Server has 16 cores and 144G RAM Memcache is given 135G Memcache runs at 32 threads Gigabit network, test shows at least 300Mbit/s ...
2
votes
0answers
55 views

Port server moxi on node X exited with status Y on Couchbase 1.8.1

I'm getting this error on live servers Win Server 2003 32 bit & 2008 64 bit. Port server moxi on node 'ns_1@192.168.243.12' exited with status 3. Restarting. Messages: 2012-09-10 17:13:21: ...
1
vote
1answer
2k views

How to secure memcached?

In Debian, I have installed memcached (using this guide) to lower the otherwise unmanageable load on mysql database. The database is on a separate server, and memcached and Varnish are on the front ...
1
vote
2answers
2k views

Memcached Debuging/Server Logs Monitor the Memcached Servers?

I have chat engine which is based on the Memcached variables, putting them into arrays and reading them in other end via jquery, which works fine 95% of the times, however when the server load is ...
0
votes
1answer
489 views

Is there something like phpMyAdmin for Memcached?

Is there any tool to see the keys/values stored in my memcached instance? I've found simple scripts like this http://snipt.org/xtP, but I get only the keys. Thanks in advance
1
vote
1answer
278 views

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

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 ...
1
vote
1answer
371 views

Response headers in Memcached+Nginx

Is there any way to cache response headers along with the response body in Memcached for use with Nginx?
-3
votes
3answers
280 views

Does mysql query cache have to be off to use memcached? [closed]

How do you know if memcached is being used? Server has mysql query cache on and I believe it also has memcahced installed, but how do I know if memcached is being used? Thanks!
1
vote
1answer
576 views

memcached session handler in php.ini

I have installed memcached and the below code in php.ini works: session.save_handler = memcache session.save_path = "tcp://localhost:11211" but when i try to use the memcached handler.. this is ...
0
votes
1answer
251 views

nginx return corrupted data from memcached

On my web site i've made data caching with memcached. It stores fully generated html pages. Next step was to get this data from memcached by nginx and send back to user w\o starting apache process. ...
1
vote
1answer
105 views

Memcached - Single parent config, multiple child configs

I am setting up a memcached server in production, and would like the ability to switch between various memory sizes simply by changing out a symlink from one config to another, however I do not want ...
0
votes
1answer
320 views

Memcached clustered alternative

I'm looking to replace memcached. We have a LOT of traffic to our central memcached node which I'd like to split. There's only so much trunking networks I can do. My general idea is to install a ...