Questions tagged [memcache]
113 questions
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…
![](../../users/profiles/88316.webp)
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…
![](../../users/profiles/87732.webp)
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…
![](../../users/profiles/73220.webp)
kwiksand
- 463
- 1
- 8
- 16
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…
![](../../users/profiles/74698.webp)
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,…
![](../../users/profiles/64089.webp)
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…
![](../../users/profiles/45268.webp)
Thiago
- 267
- 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…
![](../../users/profiles/28239.webp)
Arkaaito
- 453
- 6
- 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:…
![](../../users/profiles/178855.webp)
Miloš Đakonović
- 640
- 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…
![](../../users/profiles/138939.webp)
Ben Holness
- 914
- 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…
![](../../users/profiles/221905.webp)
Leo Galleguillos
- 147
- 7
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…
![](../../users/profiles/282926.webp)
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…
![](../../users/profiles/251488.webp)
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…
![](../../users/profiles/247421.webp)
Neel
- 1,421
- 7
- 21
- 35
1
vote
1 answer
How do I increase the curr_connections limit using memcache?
I am using a server with Centos 6.5 64 bits Kernel 2.6.32 and 64 GB RAM and 12 threads cores, and I cannot get increase the current connections used in memcache.
This is my STATS output:
# echo stats | nc 127.0.0.1 11211
STAT pid 356091
STAT uptime…
![](../../users/profiles/135192.webp)
shakaran
- 356
- 1
- 7
- 19
1
vote
1 answer
memcache and memcached session not persisting
so I am having a problem with sessions persisting in an application, that is using the memcached php driver, while another existing application is using the memcache driver.
On the server, I see both are installed
I also see in the php config that…
![](../../users/profiles/233159.webp)
Alexo
- 11
- 2