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
12
votes
5 answers

Netcat (nc) traditional package for RHEL 6.x?

I'm trying to use the Percona Apache Monitoring [Cacti] Template for Memcached. They do indeed warn that you can't use the openbsd version of the package and provide a solution for Ubuntu/Debian users, i.e.: You need nc on the server. Some versions…
HTTP500
  • 4,833
  • 4
  • 23
  • 31
9
votes
8 answers

Unable to load memcache.so extension

I built PHP from source with configure command './configure' '--prefix=/usr/local/php-5.2.8' '--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d' '--with-apxs2=/usr/local/httpd/bin/apxs' '--with-mysql=/usr/local/mysql/'…
billyduc
  • 1,617
  • 8
  • 24
  • 26
9
votes
2 answers

Memcached listen on selected interfaces

I am setting up Memcached on a Debian server that has two interfaces - eth0 (public) and eth1 (private). I want Memcached to listen on both eth1 and lo (loopback) so that it can be accessed even if the private network goes down but NOT eth0…
A.Jesin
  • 424
  • 1
  • 4
  • 14
9
votes
4 answers

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 idea how to find the reason. I am using PHP…
Jevgenij Evll
  • 201
  • 1
  • 2
  • 4
8
votes
3 answers

Troubles with memcache.so

I've been asked to launch a site that someone else built. It is a Wordpress shop site that needs Memcached to run, and I've been having troubles getting Memcached and the memcache php plugin working on my local server. Before installing memcached…
CourtDemone
  • 323
  • 1
  • 4
  • 8
7
votes
1 answer

Having problems with maintaining sessions across multiple Amazon EC2 instances

One of my sites is hosted via Amazon EC2 service. The problem starts happening when the site faces a heavy load which in turn spawns a new EC2 instance via AutoScaling. This is good but the issue is when these instances are killed (due to lack of…
Chantz
  • 215
  • 3
  • 10
7
votes
1 answer

How do I monitor memcached evictions?

How do I monitor memcached to know if / how many evictions are occurring, and how much memory is used/free.
philfreo
  • 987
  • 2
  • 9
  • 22
7
votes
5 answers

How to specify the log file for memcached on RHEL / CentOS

I'm running memcached 1.4.5 on RHEL5.5. I installed this using yum which has installed the standard memcached script in /etc/init.d and the configuration file in…
Olly
  • 185
  • 1
  • 1
  • 4
6
votes
1 answer

PHP Session Storage in Fault Tolerant Memcached Pool

I recently had the opportunity to move a web application from using a Nginx proxy "loadbalancer" to an F5 loadbalancer. Unfortunately during that migration it became clear that the memcached session storage needed to move from the Nginx proxy…
Joe
  • 492
  • 4
  • 15
6
votes
1 answer

Memcached keeps increasing cpu ussage

I'm running a memcached server which is serving two front end servers. These are connecting to the memcached server from Apache2/PHP using the standard PECL library. For some reason the memcached on the server is consuming more and more CPU until it…
filo891
  • 81
  • 1
  • 5
6
votes
7 answers

Slow Memcached: Average 10ms memcached `get`

We're using Newrelic to measure our Python/Django application performance. Newrelic is reporting that across our system "Memcached" is taking an average of 12ms to respond to commands. Drilling down into the top dozen or so web views (by # of…
Chris W.
  • 103
  • 1
  • 1
  • 10
6
votes
3 answers

Memcached Lagging

Let me preface this by saying that this is a followup question to this topic. That was "solved" by switching from Solaris (SmartOS) to Ubuntu for the memcached server. Now we've multiplied load by about 5x and are running into problems again. We are…
Brad Dwyer
  • 263
  • 3
  • 8
6
votes
3 answers

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 start up on boot for multiple memcached server…
p4guru
  • 963
  • 1
  • 8
  • 16
6
votes
3 answers

How to setup Memcached/APC on Ubuntu Server 10.04 for PHP?

I will be soon setting up Simple Machines forum on a fresh Ubuntu Server 10.04 VPS. The forum software is written in PHP. I will using Nginx as the web server, and I will be following a guide to install PHP-FPM on it:…
littlejim84
  • 267
  • 1
  • 3
  • 9
6
votes
5 answers

Recommended way to pre-warm memcached?

I am currently testing memcached on a system that will be rebooted once a week, and would therefore like to pre-warm memcached after the reboot. Wondering if anyone has a sample script they have found works well for this purpose?
Frank Daley
1
2
3
25 26