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

1
vote
0answers
335 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 ...
0
votes
0answers
145 views

How to ask memcached auth connection by sasl and pam?

I use memcached in a untrust network, so I try to use sasl and pam to auth connection to memcached. I installed sasl and pam module, compiled and installed memcached with sasl enabled. Also I created ...
0
votes
1answer
276 views

How i can setup a nginx cache strategy that first try amazon s3, then memcache and do a fallback on miss?

i have a large site with lot of pages that almost never change, right now i am using two memcache servers (amazon elasticache), but this its really expensive. Thats why for this files that barely ...
0
votes
1answer
82 views

New Relic Memcached plugin installation location - App server or memcached server(s)?

We have the New Relic PHP agent running on our 8 app servers. we have two memcached servers and would like to add the New Relic/ Meet Me Memcached plugin to grab memcached metrics. Should the ...
2
votes
3answers
212 views

Memcached - doesn't seem to be working

my local.xml <session_save><![CDATA[files]]></session_save> <cache> <backend>memcached</backend> <prefix>MAGE_</prefix> <memcached> ...
3
votes
1answer
114 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 ...
7
votes
1answer
19k views

Failed to connect to memcache host !

I'm totally new to memcached ! I sucessfully Installed and started memcached with this command in my host A (Ip 192.168.1.102) memcached -u memcached -d -m 30 -l 127.0.0.1 -p 11211 I also add these ...
1
vote
0answers
450 views

Unable to load the webpage because the server sent no data - No data received (Page failed to load) [closed]

I have the following server configurations: Service Provider: Rackspace OS: CENTOS 6.4 Web Server: Apache 2 Caching: Memcache & Memcached Server Side Language: PHP Database: MySQL My web ...
1
vote
1answer
230 views

Should I install memcached on my Level 3 VPS?

I have a Level 3 VPS Linux server from Hostgator that I pay $50/month for. I know nothing about servers, but I'm aware this isn't the cheapest around, but far from the most expensive. On the domain ...
0
votes
2answers
752 views

Timeouts somewhere on our stack (haproxy, nginx, rails, memcached)

We have some timeouts that are driving me crazy, under virtually no load (probably a couple people hitting the servers per minute). We use nginx to redirect non-SSL to SSL, terminate the SSL, and ...
2
votes
3answers
498 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 ...
12
votes
4answers
18k views

how to restart/clear memcache without restarting the whole web server?

/opt/eduserver/eduserver gives me options: Usage: /opt/eduserver/eduserver ...
0
votes
1answer
171 views

Memcached inconsistency in values for maxbytes and limit_maxbytes

I'm using Memcached on RHEL/CentOS 5/6 and found that memory size inconsistency between limit_maxbytes and maxbytes taken from "stats" and "stats settings" respectively. I have compiled ...
27
votes
5answers
20k views

Which PHP (opcode) cache one should use and why?

I keep hearing about some PHP (opcode) caches like - APC, XCache, Memcache, eAccelerator, etc. But I couldn't ever figure out how to go about choosing one. Apart from performance benefit, which a ...
0
votes
1answer
341 views

Right way to configure memcache

I'm trying to change memcache memory size limit in my CentOS env. I've examined other questions and found out there SHOULD be a file, which is mostly under /etc/sysconfig/memcached and if not I should ...
0
votes
0answers
96 views

Memcache daemon error, how to restart it quickly

i have the memcached daemon failing with the following error: 2013-08-15 07:45:27 +02:00 --- error: Uncaught PHP Error: Memcache::set() [<a href='memcache.set'>memcache.set</a>]: Server ...
0
votes
1answer
118 views

Memcached ports and CSF

I've got a small / medium sized VPS powered by WHM and running a few personal websites alongside a Magento powered web-store. Not being a real expert when it comes to server configuration details I've ...
1
vote
1answer
102 views

Different memcached instance per user, with authentication

I am writing a script which will allow each and every cPanel user to run an instance of memcached on their own. The script at this point is starting the daemon for every user on a different port. ...
0
votes
3answers
3k views

Installing PHP 5.3 Pear on centos 5.8

I just created a VPS with 32 bit Centos 5.8 and installed php53 and a host of other php 5.3 packages. I would like to install memcached using yum but I get the following error Resolving Dependencies ...
12
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 ...
4
votes
2answers
6k 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
1answer
52 views

Can I have nginx put stuff on memcached?

It is my understanding that nginx can query memcached for data that it serves, but you have to place them there using some other (homegrown) program. So the question is, can I have nginx fetch data ...
-1
votes
2answers
2k views

Uninstall all instances of memcached

My host asked me to: " You will need to remove all instances of memcached that you have installed. " How would i go about doing this? I am on CentOS
0
votes
1answer
310 views

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 ...
0
votes
0answers
67 views

Memcached dont start on boot

I've installed the memcached and configured /etc/init.d script. /etc/init.d/memcached: #!/bin/sh # # memcached Startup script for memcached processes # # chkconfig: - 90 10 # description: ...
0
votes
2answers
73 views

Can't get Memcached to use more than 300 MB for cache

I installed Memcached on a Debian 7 server with 32 GB of ram. In my /etc/memcached.conf file I have it set up to use up to 4 GB of ram: -m 4000 Yet, whenever I run 'top' I always see memcached using ...
0
votes
2answers
185 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
141 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
228 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 ...
0
votes
1answer
120 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 ...
21
votes
5answers
20k views

Can a pool of memcache daemons be used to share sessions more efficiently?

We are moving from a 1 webserver setup to a two webserver setup and I need to start sharing PHP sessions between the two load balanced machines. We already have memcached installed (and started) and ...
3
votes
1answer
579 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
2answers
903 views

How to optimize TCP / IP stack in Linux? [closed]

Currently I noticed there are about 15K open connections to localhost. It is mainly connecting to Memcached. I am clueless where I should start to optimize TCP/IP stack. Memcached support UDP, but ...
0
votes
0answers
411 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. ...
-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
169 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
449 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 ...
1
vote
2answers
527 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. ...
0
votes
1answer
858 views

how to configure memcached for weblogic 10.x and oracle 10.g

Have some web app using java, jsp, servlet. too many times frequent queries to oracle 10g under load. Thinking to introduce memcached, Is it simple ? Can it be done without code change? are there any ...
0
votes
1answer
354 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 ...
1
vote
2answers
3k views

Memcached problems “failed to listen on TCP port 11211”

I just installed memcached on my Mac OS X 10.6.8. It installed perfectly and when I type in memcached in Terminal I get this: failed to listen on TCP port 11211 tcp listen: Address already in use ...
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
321 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 ...
4
votes
1answer
428 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 ...
0
votes
1answer
63 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 ...
0
votes
1answer
115 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: ...
2
votes
1answer
934 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
140 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
1answer
71 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 ...