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.

learn more… | top users | synonyms

0
votes
1answer
2k views

How much memory can I safely assign to memcached?

I'm looking into using memcached on our server. We've just upgraded and now have a fairly powerful box: DELL PowerEdge R710 Linux RHEL 5 - 64bit 12GB RAM (We used to be on a 32bit 4GB box). The ...
0
votes
2answers
376 views

Taggable alternatives to memcache

I'm looking for a caching solution quite similar to memcache, but the one thing I sorely miss is invalidating content based on a tag. Many preprocessed results depend on multiple sources of data, and ...
0
votes
3answers
125 views

How do I see how quickly items are dropping out of memcache?

Is there a good way to monitor how quickly items are dropping out of memcache?
1
vote
1answer
282 views

php with apc+memcache+squid

I have a basic php installation. I want to install apc + memcached and squid to speed up the website. I have run into various resouorces regarding this, but one thing is not clear. Should php be in ...
0
votes
1answer
569 views

Using memcached with upgraded Subversion FSFS repository

Subversion 1.6 release notes suggest that it's possible to use memcached to "cache data of FSFS repositories". Creating a new repository using svnadmin create has a fsfs.conf file within the db/ ...
0
votes
2answers
191 views

memcached installation on LAMP issue

When trying to use memcached in my php script, i get class not found. I am running LAMP on Ubuntu 9.01 and have so far taken the following few steps: apt-get install memcached pecl install Memcache ...
6
votes
3answers
14k views

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 ...
0
votes
1answer
342 views

memcached memory usage difference on 32- and 64-bit

We have a bunch of boxes running memcached. Some are 32-bit and some are 64-bit, but all run a 32-bit install of RHEL due to various Perl-related things. We'll call them type A and B respectively. ...
0
votes
2answers
312 views

Can Memcached limit “write per second” and “read per second” on MySQL?

I need to reduce the value of "write per second" and "read per second" on MySQL (this is for statistics: total views of post). Can Memcached doing this job? Thanks
1
vote
2answers
1k views

high load web server setup

I'm preparing a server setup for a dating website who need to be able to process around 5'000 - 10'000 req/sec to the main site. My idea was to do it this way: Server for static content (css, js, ...
21
votes
5answers
20k 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 ...
0
votes
1answer
182 views

Save server from overload

As my client's php ecommerce portal is on a dedicated hosting but there are certain overload issues. Like the CPU uses goes upto 84% on a 60 req/sec , so i am thinking to propose a plan. To implement ...
4
votes
4answers
1k views

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 ...
5
votes
3answers
4k views

Nginx & PHP caching: fastcgi_cache, proxy_cache, APC or memcached or combo?

We have webservers running nginx 7.65 along with fastcgi PHP5 and are looking into caching possibilities to speed up content delivery and lower system loads. The servers run different (custom) ...
1
vote
1answer
393 views

Protecting against PHP session DOS attacks

A popular move is to store PHP sessions in memcached. But it seems like this is wide open to an attack - someone could flood the server for new session requests and consume all your memory. What ...
0
votes
3answers
2k views

memcached and PHP … massive lag with sessions

I'm working on a new server built with Unbuntu 10.04, running php-fastcgi, nginx, and memcached. phpinfo() script loads and works great, same as a test memcached script. For any script using ...
0
votes
1answer
111 views

Ubuntu package question

I run Ubuntu, and If i type the following in a terminal, I start a new instance of memcached, right? # memcached -vv How can I target the the current instance of memcached in terminal? It would ...
2
votes
2answers
2k views

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 ...
1
vote
3answers
476 views

Is it possible to build a cheap memcached server?

Is it possible to build a cheap memcached server?
1
vote
1answer
2k views

Can't connect to memcached

We currently have memcached running on CentOS. None of our PHP applications can connect, have tried multiple applications trying to establish access. The most informative PHP error we get is: ...
1
vote
2answers
171 views

Site's performance slows over time until Apache is restarted

I'm running a Django app w/ Nginx and Apache. All our static media is stored on S3, and basically it takes a while for the app to check if thumbnails have been created every time a page is loaded. ...
1
vote
3answers
4k views

Debian tuning for increasing read/write buffer

Is there a way to modify Debian settings so the memory could be used more for disk read/write caching ? I am already using RAID 0 but thats not enough for multiple users, and the disk is almost ...
3
votes
1answer
207 views

What is the standard way to deploy memcached?

I have two IIS servers and two MySQL servers. On all servers I have some available memory (More than a GB). What is the standard way to deploy memcached? Should I add a new server especially for ...
0
votes
1answer
186 views

In Nginx, can I handle both a location:url or a content-type: text/html response from memcached?

I'm setting up an nginx - apache reverse proxy where nginx handles the static files and apache the dynamic. I have a search engine and depending on search parameter I either directly forward the ...
0
votes
1answer
857 views

how to configure memcached for weblogic 10.x and oracle 10.g

Have some web app using java, jsp, servlet. too many times frequent queries to oracle 10g under load. Thinking to introduce memcached, Is it simple ? Can it be done without code change? are there any ...
1
vote
2answers
204 views

memcached append() php ubuntu - bad protocol

I am running ubuntu gutsy(7.1) , php5 and I am trying to get memcached running locally. I installed everything as per the docs: memcached daemon, php PECL extension, libevent, etc. But now I can ...
1
vote
2answers
512 views

Problem linking to shared libraries

I've got a problem linking to shared libraries. Specifically this is a nodejs module linking to libmemcached, but I'm guessing the problem is more generic than that. The file it cannot find/open is ...
0
votes
2answers
1k views

Memcached server won't connect

I'm rather new to Unix and am trying to set up a memcached server on Rackspace Cloud Servers with CentOS 5.4. I've been following the guide below. ...
1
vote
1answer
864 views

memcached vs. tmpfs

Are there any advantages of using memcached locally over using a mounted tmpfs? Maybe, when the memory-caching system resides on the same host, it's better to use file hierarchy on tmpfs which gives ...
0
votes
1answer
214 views

Multi-Application Server Environment and Memcached Security

We are looking to integrate Memcached into our infrastructure, but have a security concern before we do. We run several platforms including ASP.NET and Coldfusion and have many app developers working ...
0
votes
1answer
288 views

Key issues reading from memcache pool on ubuntu / solaris

Our environment consists of 6 memcached servers running on Solaris 10 boxes and application code running on a mix of Solaris and Ubuntu servers. We are running into issues accessing data set on one ...
0
votes
1answer
405 views

How to “distribute” memcached?

I know how to install and use memcached on one server. But I heard you can "distribute it"? How does that work, and how can I enable that feature?
0
votes
1answer
4k views

How do you safely replicate Memcached data?

I have ~100GB of data running on several Memcached servers, but we're migrating all of our infrastructure to Amazon AWS so I'd like to find a way to replicate this information on these new servers. ...
0
votes
2answers
2k views

Configuring LAMP Environment in Linux Mint 8 using XAMPP- installing Memcache

Okies, I have successfully installed the XAMPP and added virtual hosts and am able to make database calls and stuff. The problem I am facing is while trying to enable the memcache module. Currently ...
1
vote
2answers
449 views

memcache servers

simple question here, I know these large sites like digg etc. have a wall of memcache servers that handle requests before hitting their actual master/slave db's. What would these servers look like, ...
3
votes
8answers
3k views

MemCached on Windows x64

This question has previously been asked, but that was a year ago and I wanted to know if there had been any developments since then. Basically we'd like to use a MemCached Server on a Windows Server ...
3
votes
3answers
85 views

If I make a request to my server's IP address, will it be the same as using 127.0.0.1, or slower?

I have application servers with memcached running on them. What will happen if I make a request to memcached on 10.243.98.5, which just happens to be the originating server? Will it use the same ...
1
vote
2answers
209 views

Slice for just memcache?

So I have all of my sites hosted at Slicehost and right now have each application on a separate slice. Would it make sense to get a separate slice setup for just memcache and have my separate apps ...
0
votes
1answer
55 views

How to find the change set number of the memcached installation?

I have a working system that uses memcached (downloaded from http://www.codeplex.com/EnyimMemcached/). How do I find out the change set number from the files? (I can ask the person who installed it ...
2
votes
1answer
376 views

Memcached failover technique

We have 2 memcached servers configured and use the Eniym client. When one of the server is down, it appears this server is added to the deadServers list (ServerPool.cs) and tries to resurrect the ...
2
votes
1answer
1k views

Memcached failover

We have 2 memcached servers configured and use the Eniym client. When one of the server is down, it appears this server is added to the deadServers list (ServerPool.cs) and tries to resurrect the ...
0
votes
3answers
599 views

Memcache service is down - how to handle?

I am using Memcache in my ASP.NET application. I have 3 memcache servers that it connects to. If all of them are down, there is a significant delay in loading the pages. When all servers are down, I ...
2
votes
2answers
153 views

Live site is down. Too much traffic. Where do I start. (Win 2003 + ASP.NET + Memcached + SQL Server 2005)

Our traffic has gone up significantly, but our site works fine for most of the day, but during our peak hours, our site has been crippled. Requests are being queued in the hundreds and then everything ...
0
votes
1answer
483 views

Memcached can't connect with php

I have centos 5.3 and I just installated memcached 1.4.2. I can telnet it fine and do stats, etc., but when I try to connect to it over php I get an error that it can't connect. It was SELinux.
2
votes
3answers
5k views

php_memcache dll for windows - where can I find it?

This is the only link I've found, but it doesn't work. http://pecl4win.php.net/ext.php/php_memcache.dll Where can I find a precompiled dll for the php_memcache extension?
2
votes
2answers
504 views

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 ...
3
votes
3answers
643 views

Issues Installing PHP Memcache module

I am trying to install memcache on my VPS. When I type $ pecl install memcache I get this error checking whether the C compiler works... configure: error: cannot run C compiled programs. If you ...
0
votes
1answer
455 views

Why doesn't memcache work?

from django.core.cache import cache def testcache(): cache.set('test','I am putting this message in',3333) print cache.get('test') It just prints "None" This is in "ps aux": ...
0
votes
2answers
1k views

Memcached will not start

I have this in my /usr/local/: libevent-1.4.so.2 memcached When I do this, it will not start: ./memcached -d -u root -m 3900 -p 11211 ./memcached: error while loading shared libraries: ...
-1
votes
1answer
184 views

Memcache and Python

I installed Memcache doing this: gunzip memcached-1.2.1.tar.gz tar -xvf memcached-1.2.1.tar cd memcached-1.2.1 ./configure make make install Now, what exactly is the next step? (for Python) I know ...