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.
19
questions
25
votes
5
answers
32k
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 ...
76
votes
9
answers
72k
views
memcache vs memcached?
I want to use memcached
http://www.danga.com/memcached/
I have installed it through yum install memcached
But now I need to connect to PHP, and there is an extension named memcache and one named ...
41
votes
1
answer
142k
views
What does "<service_name> dead but subsys locked" mean?
I'm trying to run memcached on a centos box and it runs for a while, but then ends up in this state:
memcached dead but subsys locked
netstat shows this:
tcp 0 0 :::11211 ...
5
votes
3
answers
13k
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: epel-release-...
3
votes
1
answer
1k
views
Memcached - one large instance vs many smaller
I will be adding a memcached server to my web app to offload lots of db requests. I'll be mostly caching different small id-name pairs (memberid-membername, blogid-blogname, etc) and expect total ...
43
votes
6
answers
38k
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 ...
32
votes
3
answers
75k
views
How to increase the amount of memory memcache uses?
I am currently on a Xeon 7550 server running Redhat x86_64 es5 with 32gb RAM. I have memcache installed and the only step remaining in the configuration is to set how much memory it uses. I had done ...
17
votes
1
answer
64k
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 ...
16
votes
3
answers
110k
views
Memcache basic configuration
I have installed memcache for a Drupal site with the memcached pecl extension. It's all running fine but I'm still struggling with the configuration settings.
For instance , following advice on ...
14
votes
1
answer
19k
views
How is memcache distributed?
I've got memcache running on 5 web servers all of which are on the host list in php and which are load balanced on the front end. So since memcached is supposed to be distributed the php client will ...
9
votes
4
answers
24k
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 ...
6
votes
3
answers
10k
views
Multiple Memcached server /etc/init.d startup script that works?
I install memcached server via source and can get standard start up script installed for 1 memcached server instance, but trying several scripts via google, can't find one that works to manager auto ...
5
votes
2
answers
51k
views
Connecting to memcached "which port should use?" (php)
I've installed memcached perfectly and I have created a new instance but i don't understand if I'm connecting to the right port... I always get a false return from get(key)
Here is my code:
$...
4
votes
1
answer
3k
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 | ...
2
votes
4
answers
4k
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 may ...
2
votes
2
answers
1k
views
Memcache - Issues in a distributed environment with many nodes
I've had a quick look through the other similarly titled questions and none are particularly similar to the issues I'm currently having.
Basically, we've had a multi node memcached ring running for ...
0
votes
1
answer
2k
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 ...
0
votes
2
answers
2k
views
Problems installing memcached
I am trying to follow the instructions here to install Memcached on a CentOS machine, and I'm not having much luck.
The instructions say to first enable rpmforge repository as follows:
rpm -Uhv http:...
-1
votes
2
answers
13k
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