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
1answer
486 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
658 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
493 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
301 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 ...
4
votes
2answers
8k 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
2k 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
517 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
255 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
81 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: ...
2
votes
1answer
3k 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
4k 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
658 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
302 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
509 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?
-2
votes
3answers
364 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
690 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
283 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
117 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
389 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 ...
0
votes
1answer
1k views

ifconfig shows Interrupt:21 Memory:f7fe0000-f8000000

Can some one tell me what does this mean: Interrupt:21 Memory:f7fe0000-f8000000 This is showing in output of ifconfig. The issue is i have a service (memcache) which is not responding on the ...
0
votes
1answer
468 views

Connect to memcached using PHP on Windows

I have a memcached server (on AWS ElastiCache) and need to connect to it using PHP on Windows (IIS not WAMP). Is this possible? I have found php_memcache.dll but this doesn't appear to work with ...
0
votes
2answers
743 views

Apache Server with memcache, varnish and php slow request times

My issue is that these servers are taking rather long for request about 2 seconds on average just to serve files. When we had just one server doing everything it was noticeably faster even with the ...
-1
votes
1answer
748 views

Forward localhost memcached server on port 12111 to domain.com memcached server

My customers are running many scripts that uses memcached, but all of them are using localhost as a address. My localhost server is now out of RAM, because it's doing many other things like WWW and ...
1
vote
1answer
116 views

Should we increase local port range limit on busy memcached servers

nixcraft has a tutorial on configuring memcached server(link) at the end says: For busy memcached server you need to increase system file descriptor and IP port limits here is the code to do ...
7
votes
5answers
12k views

Netcat (nc) traditional package for RHEL 6.x?

I'm trying to use the Percona Apache Monitoring [Cacti] Template for Memcached. They do indeed warn that you can't use the openbsd version of the package and provide a solution for Ubuntu/Debian ...
2
votes
1answer
409 views

is anyway to use memcached with nginx on a post request?

2.1, i am also using the amazon elastic cache service (its a memcached server) Nginx has a clever feature that uses memcached for common get request, but if is a post request dont use memcached, is ...
3
votes
2answers
3k views

PHP on several servers with session-sharing

there's certanly other threads about this, but I have one more question. We are about to scale the website at work to have more than one server. And we need to share the sessions between the servers. ...
-1
votes
1answer
538 views

Nginx , Apache , Mysql , Memcache with server 4G ram. How optimize to enought memory?

i have 1 dedicated server with Nginx proxy for Apache. Memcache, mysql, 4G Ram. These day, my visitor on my site wasn't increased, but my server get overload always in some specified time. (9AM - ...
14
votes
3answers
3k views

Unexpected(?) high 'wasted' memory in memcached

Updated, see bottom of the longish (sorry) question. Looking at our memcached stats I think I have found an issue I was not aware of before. It seems that we have a strangely high amount of wasted ...
2
votes
1answer
137 views

Memcached memory consumption?

Server info: cPanel / 4GB The conf file as below: #Memory a user -m 128 # default port -p 11211 # user to run daemon nobody/apache/www-data -u nobody # only listen locally -l 127.0.0.1 Does it ...
3
votes
1answer
128 views

Nginx with Memcached module

I'm running Wordpress website with "W3 Total cache plugin" for Memcached on Nginx. I know that there is a Nginx module available for Memcached and I'm wondering what's the preferred/recommended method ...
1
vote
1answer
542 views

Nginx, PHP-FPM and Memcached

I have Wordpress installation running on two web servers powered by Nginx. I configured Memcached on both servers and I'm using W3 total cache plugin for Memcached: What's the recommended solution ...
3
votes
1answer
259 views

Does a RewriteCond that checks for the existence of a file cause high IO latency?

I am setting up an apache configuration to check for the existence of a file. If the file exists, then the server will redirect to a maintenance page. If not, the application will get served up ...
6
votes
3answers
296 views

Memcached Lagging

Let me preface this by saying that this is a followup question to this topic. That was "solved" by switching from Solaris (SmartOS) to Ubuntu for the memcached server. Now we've multiplied load by ...
5
votes
2answers
2k views

Troubles with memcache.so

I've been asked to launch a site that someone else built. It is a Wordpress shop site that needs Memcached to run, and I've been having troubles getting Memcached and the memcache php plugin working ...
2
votes
1answer
4k views

error while installing the libmemcached

I get this while installing libmemcached root@server [/libmemcached]# make make all-am make[1]: Entering directory `/libmemcached' if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H ...
2
votes
1answer
148 views

difference between slab, page and chunk in memcached

what is the difference between slab, page and chunk in memcached? If we set -m 128, then how many slab, page, chunk we have? What is the benefit of slab?
1
vote
1answer
107 views

MediaWiki Multi Site + Memcached

I have multiple mediawiki installations, and I'm wondering if it's safe to allow them to all use the same memcached server. Are there any "gotchas" involved?
1
vote
3answers
1k views

What would cause Memcached to Hang for 2+ seconds?

I'm going nuts trying to scale memcached. From their site: Memcached operations are almost all O(1). Connecting to it and issuing a get or stat command should never lag. If connecting lags, you ...
2
votes
0answers
249 views

Enyim Memcached Client Caching same item on multiple servers

We have a memecached cluster of 5 servers. When we reviewed the cache keys it shows that the same item is showing up across 4-5 servers in the cluster. As I understand it, Enyim's default key hash ...
0
votes
1answer
284 views

Memcached logrotate file not being installed. Bug with memcached 1.4.2?

My memcached logs are getting huge (in excess of 5GB). This isn't a huge problem in itself. I can easily remove them. I've sourced the problem to the memcached 1.4.2 package not installing a ...
0
votes
1answer
98 views

Server performance worsened after a hardware upgrade: how should I reconfigure the server? [closed]

I'm running a site on an Ubuntu/Apache/Django/PostgreSQL stack. We upgraded our server recently from 1 processor with 2 Gb total RAM (with 0.5 Gb of that RAM assigned to memcached) to a new server ...
0
votes
1answer
181 views

Can a slow database cause a web app to hold up a memcache connection?

I have a php application that uses memcache and a back-end database At times we see high "current connections" in memcache and can't determine why. Why php "misses" from memcache and needs to go ...
1
vote
1answer
246 views

how can I effect DNS Caching on PHP/Memcache application

In a very high loaded Ubuntu/PHP web server I found that the PHP line: $memcache->connect("int-aws_ec2.memcached.myapp.net",11211); sometimes takes ~5 secs. Replacing the url with the ip address ...
4
votes
1answer
398 views

How does php know what memcached node to look for its data in?

I am new to the world of Memcached clusters If I have a php web application that is using memcache - how does it does its hash and decide what node to check for a particular value to avoid having to ...
3
votes
1answer
167 views

Memcached on same servers as websites

I have a website that runs on 4 loadbalanced servers. These are Windows servers, each with 16 GB of memory. I need to move to a shared cache, so I was thinking of Memcached. However, budgetary reasons ...
0
votes
1answer
161 views

How to use Memcached

I read a bit about memcached but struggling to understand how exactly we use it. Is it a kind of server/application that we have to install on our machine? Is it a script that we have to include in ...
0
votes
1answer
289 views

Memcached and Django - When Ajax action is performed, ALL css and js is missing

I've got Django running and caching into Memcached. I have some ajax actions on a page and when those actions are performed, and the browser refreshd, the CSS and JS files are no where to be found. ...
1
vote
0answers
412 views

Memcached and repcached not replicating 2 master servers

I have memcached-1.2.8-repcached-2.2 installed on memcached on centos. They install went great and when i start memcached i get: replication: connect (peer=192.168.1.2:11212) replication: marugoto ...
5
votes
1answer
9k views

nginx with Memcache Vs Varnish

I was wondering if anyone has any comments / benchmarks / suggestions on Varnish Vs Memcache when used to serve content (usually 2-5kb JS file depending on the parameters in request; thousands of diff ...