Questions tagged [memcache]
114 questions
2
votes
2 answers
Configuring NGINX to work with memcache for reverse_proxy_cache
Is there any way to configure nginx to use memcache for storing cache data, as opposed to using files stored on hard drive?

Bogdan Cosmin
- 301
- 1
- 3
- 10
2
votes
1 answer
Hosted fault-tolerant (replicated) memcache solution in amazon ec2 cloud?
does anyone offer a fault-tolerant (replicated) memcache solution that is hosted in amazon ec2, needs zero maintenance and works with providing just one IP?
I know that amazon offers ElastiCache. But it is still quite low level and has some…

Marcel
- 150
- 10
2
votes
1 answer
PHP APC MAJOR Fragmentation Issues?
So I have been using memcached to cache lots of data that was the result of queries to the database. Everything left at default, and on average I stored < 40MB in memcache. I used memcache.php to monitor that. Then I decided to switch over to APC…

Aco
- 103
- 1
- 2
- 11
2
votes
1 answer
Distributing php-session load on a memcache array
Until recently our setup consisted of 4 web-servers sharing sessions to a single server running memcache. We are hosted on Amazon cloud and had a crash at peak load on 2 consecutive days. The problem was that the memcache service crashed (the load…

Kundra
- 21
- 2
2
votes
2 answers
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 over two years, and for the most part its been…

kwiksand
- 463
- 1
- 8
- 17
2
votes
1 answer
Diagnosing a Memcache server with a high cache miss rate
What tools are available to debug a memcache server with a high miss rate (62%)?
Ideally I would like to know the keys for the top cache misses, but I would just settle for seeing the keys of live get requests and working it out from there.
I have…

Hobozilla
- 324
- 1
- 3
- 8
2
votes
1 answer
How to restart memcache? Via SSH
Hey i want to restart memcache so i can downgrade my Memory allocated for Memcache from 350MB to 64MB. I am new with SSH can anyone point me on how to restart Memcache or a way to re-allocate the memory for Memcached?
Running on Linux CentOS,…

MemBoy
- 21
- 1
- 1
- 2
2
votes
1 answer
Memcache on ubuntu server lucid and ruby 1.9.1
I'm trying to set up a memcache server on the above setup. I'm getting the following error:
/var/lib/gems/1.9.1/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:443:in `load_missing_constant': uninitialized constant MemCache…

Thiago
- 287
- 1
- 2
- 7
2
votes
2 answers
What causes memcache to delete keys?
Our memcache install recently started removing keys, and we're not sure why. Large groups of keys vanish at the same time.
Memcache reports that evictions are low to non-existent, and our app has no way to clear memcache (it can only delete…

Arkaaito
- 453
- 7
- 16
2
votes
1 answer
dovecot + memcached, how to?
Does anyone know how to utilize memcached with dovecot (in order to reduce number of MySQL queries)?
There is only very basic documentation regarding dovecot's Dictionary:
memcached:param=value:param2=value2:...
Supported parameters are:
host:…

Miloš Đakonović
- 682
- 3
- 9
- 28
1
vote
0 answers
How do I debug memcache?
I recently migrated a system from an Ubuntu 12 based four-webserver setup to an Ubuntu 16 three-webserver setup in a new data centre . The system uses memcache for the session handler. The session is used to determine whether a user is logged in or…

Ben Holness
- 944
- 2
- 10
- 28
1
vote
1 answer
Is there a memcached memory limit best practice?
Is there a best practice or general rule of thumb when setting the memory limit for memcached?
I'm currently running memcached with the default memory limit of 64 megabytes. The server has 8 gigabytes of memory installed out of which only around 512…

Leo Galleguillos
- 177
- 8
1
vote
1 answer
Install memcache php ext on php 5.6
I have php 5.6.6 installed on Amazon Linux. I want to install memcache extension (not memcached server, we use Elasticache). I try
# yum install php-pecl-memcache.x86_64
And get the following error:
Error: php56-common conflicts with…

Volodymyr
- 139
- 5
1
vote
2 answers
Why is Memcache not starting automatically?
I installed memcache in my CentOS server, and the respective libraries for php as well:
Despite having installed both of them, I ended using Memcache
$memcache = new Memcache;
Since I wanted the memcache service to run automatically after…

Carlos Santos
- 43
- 1
- 1
- 11
1
vote
1 answer
Having Memcache and Memcached installed and enabled at the same time
Can I use both Memcache and Memcached php extensions on the same server at the same time? Just to be clear so you dont misunderstand what I mean by this question, here is my scenario: I have both Joomla and phpbb for my website. Joomla provides…

Neel
- 1,441
- 7
- 21
- 35