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.

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.

390 questions
2
votes
2 answers

How should a small Linux-based load balanced set up be arranged?

I recently inherited a small Linux-based load-balanced web server set up. Unfortunately, it was never completely brought on-line, so I am working on doing that. The basic set up is: LVS-based load-balancer. Also acts as a simple NAT for the web…
2
votes
2 answers

need recent version of libmemcached on aws ec2

The yum repo available on aws ec2 instances only has an old version of libmemcached: v 1.0.8. Can anyone tell me how to get a more recent version, like 1.0.18, installed on an aws ec2 instance? Which external yum repo can I add to install a more…
Peter M
  • 973
  • 2
  • 15
  • 27
2
votes
1 answer

Why isn't memcached using its available memory?

Our memcached.conf has the following directive: -m 7168 And the server has 8GB of RAM. However, despite heavy use, memory usage never goes above 2GB: # free total used free shared buffers cached Mem: …
Seth
  • 433
  • 1
  • 4
  • 8
2
votes
0 answers

How to specify the timeout for health check in memcached session manager for tomcat

Basically the setup consists of two tomcat6 and two memcached nodes. memcached session manager version - 1.8.3 (latest release). I'm testing the following scenario: Client logs in into the application using load balancer url Load balancer is…
d3day
  • 121
  • 4
2
votes
2 answers

Installing memcached in Ubuntu server 9.04

I just installed Linux Ubuntu on a virtual machine and need to install memcached on it. I tried apt-get install memcached but it installs version 1.2.2 (from local repository), which is old. I need to install v 1.4.1 but how do I download it to…
Andrey
  • 354
  • 5
  • 17
2
votes
1 answer

Different server response time for 2 web pages with the same view and template?

I've recently been facing hugely increased server response time for some of my web pages (response time in the range of 10-20 seconds). For example, for the page http://www.edmhunters.com/afrojack/ - Google Page Speed Test says the server responded…
Yin Yang
  • 273
  • 3
  • 12
2
votes
1 answer

Memcached cachesize 512M or 1G for VPS 2G?

I just started to use memcached on a VPS with 2Go of RAM. I set the cache size at 512 Mb, but I am wondering if I can go for 1024Mb. On the VPS there are: a local business website with very few connections (like up to 10 sessions a day at best,…
Tritof
  • 159
  • 1
  • 1
  • 8
2
votes
0 answers

What is the right value for memcache.session_redundancy?

The PHP manual for Memcache doesn't have any explanation for the memcache.session_redundancy option. The comment on that page (which is 4 years old) says it sets the number of copies of a session object. In another old question on memcache this…
A.Jesin
  • 424
  • 1
  • 4
  • 14
2
votes
1 answer

Caching (memcache/redis) and multiple servers - best strategy

We're considering best strategy for using cache (memcache or redis based) in our application (Symfony2). It will be deployed on multiple (so far 3) separate machines with load balancing and separate replicated databases + one common shared storage.…
ex3v
  • 123
  • 1
  • 7
2
votes
1 answer

Intercepting 404 with nginx as reverse proxy for memcached + node.js

I'm using nginx as a reverse proxy to look up html content from memcached, if not present, then node.js, if not even there, node.js returns 404. What I'm trying to do is intercept and deliver a custom page for the 404 returned by node.js The problem…
dBi
  • 75
  • 2
  • 4
2
votes
3 answers

Memcached - doesn't seem to be working

my local.xml memcached MAGE_
Trev
  • 123
  • 1
  • 4
2
votes
4 answers

Memcached status returning "memcached dead but pid file exists"

When I want to see the status of memcached I run service --status-all but I get this multiple times "memcached dead but pid file exists" when it lists memcached. It seems to me that this means memcached needs some cleaning up. How can I remove…
Paul Sheldrake
  • 537
  • 1
  • 6
  • 14
2
votes
2 answers

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. When I run: /etc/init.d/memcached restart I get the…
Jhouse153
  • 21
  • 1
  • 2
2
votes
1 answer

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, however, I am unable to disable networking. I added…
laertiades
  • 133
  • 3
  • 9
2
votes
1 answer

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. Except, I need 2 (or possibly 3) different memcached…
Peter
  • 123
  • 5