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

1
vote
1answer
248 views

How to backup MySQL (mysqldump) when Memcached installed?

The server OS is CentOS, with Memcached installed Before Memcached installed, I use mysqldump -u root -p --lock-tables --add-locks --disable-keys --skip-extended-insert --quick wcraze > ...
6
votes
2answers
7k views

How to increase the amount of memory memcache uses?

I am currently on a Xeon 7550 server running Redhat x86_64 es5 with 32gb RAM. I have memcache installed and the only step remaining in the configuration is to set how much memory it uses. I had done ...
0
votes
1answer
219 views

is there any point running APC **and** memcached concurrently

Do APC and Memcached cache the same data? I understand that APC caches both files and objects/variables whereas memcached is object-only, but does memcached offer anything that APC doesn't? I've ...
3
votes
8answers
2k 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 ...
1
vote
3answers
350 views

What range is considered safe for connections/GETS/SETS per second per server instance with memcached?

Question I am interested in learning the following metrics, per memcached instance: Safe range for connections/GETs/SETs per second Upper bound for connections/GETs/SETs per second I have a ...
0
votes
1answer
292 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. ...
1
vote
1answer
524 views

Increase memory to memcached

I need to increase the memory size for memcached. I have done this before, but I cannot remember all the steps that I took. If I remember correctly, I downloaded /etc/sysconfig/memcached and changed ...
2
votes
2answers
447 views

Memcached is not launching

I just installed memcached and the memcache pecl extension. Now randomly I cannot get it to start. When I run service memcached start I get this: Starting memcached: chown: `memcached\r': invalid ...
1
vote
2answers
2k views

memcache fast-cgi php apache 2.2 windows 7 creating problems

I am trying to run memcache, fast-cgi with apache 2.2 + php on a windows 7 machine. If I don't use memcache everything works fine. The moment I disable extension=php_memcache.dll in php.ini ...
0
votes
1answer
706 views

yum error when installing memcached

trying to install memcached with "yum install memcached" and i'm getting all these errors which I have no idea how to solve. Setting up Install Process Resolving Dependencies --> Running transaction ...
0
votes
1answer
467 views

memcached and IIS manager with windows 2008

I have memcached (c:\memcached) running on port 11211 and I have a problem configuring IIS manager I created a site in IIS manager binded to port 11211 and if I have memcached running and try and ...
1
vote
1answer
2k views

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 ...
3
votes
1answer
3k views

How is memcache distributed?

I've got memcache running on 5 web servers all of which are on the host list in php and which are load balanced on the front end. So since memcached is supposed to be distributed the php client will ...
0
votes
1answer
394 views

Can't connect to Memcached

I know there are other questions on this but I can't find a resolution. I've installed Memcached on a server running Ubuntu and I'm trying to use it. I've attempted to start it using: $ memcached ...
0
votes
1answer
608 views

Can't get memcached / php memcache installed on CentOS 5.5

I cannot get memcached installed for the life of me on CentOS 5.5 yum install memcached says package doesn't exist I have tried installing from source, as well as yum. Apparently memcached is ...
0
votes
2answers
808 views

memcached and iptables

$m = new Memcached(); $m->addServer('localhost', 11211); Will port 11211 need to be open in IPTables for this to work, or is it bypassed considering it's localhost? sudo iptables -L -n -v output ...
4
votes
3answers
569 views

Memcached - one big server vs several smaller ones

I am considering whether we should get one big (48 Gb RAM) server or buy 4 smaller (12Gb RAM) servers for running memcached service. In either case I would also have stand-by spares for redundancy, ...
0
votes
1answer
1k views

How can i install memcache for PHP 5.2.10 in CentOS 5.5? (not in repo)

i tried installing memcache from another repo and it all went wrong: [root@mail ~]# php -v PHP Warning: PHP Startup: memcache: Unable to initialize module Module compiled with module API=20050922, ...
0
votes
2answers
819 views

Memcached extension error in PHP

yesterday i migrated to Rackspace (CentOS 5.5). Everything was already configured (apache, php, mysql, memcached) and working well. The only thing i forgot, and installed at last was the mail server ...
0
votes
1answer
229 views

Memcached failing to get data (nuked by expire)

currently I have three different running memcached instances, each one for an environment (dev, test and live) All three environments are running the same memcached version (1.4.5) and configurations ...
0
votes
2answers
178 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 ...
1
vote
2answers
2k views

Launch memcached on server boot?

How can I do this? Im running RedHat x86_64 es5. I heard that a cron job is possible, and some other people talk about a script? Note that my linux server knowledge is very limit, so please be ...
0
votes
1answer
92 views

Jumping into memcached - know any good guides?

I'm looking to get into storing data in memcached and enhance a few areas of my site. I've googled around for guides in PHP and am finding limited or very old articles. There's always the ...
0
votes
1answer
743 views

Memcached not listening

I installed Membase's memcached distro on Windows 2003 R2 x64, but memcached.exe isn't opening any listening ports (I can see this through the TCP/IP tab in Process Explorer). However, if I copy the ...
0
votes
1answer
305 views

memcache connections reaching its limit…?

I recently launched my project and had around 2000+ users accessing the application within 10 minutes. I have setup memcache to handle the sessions. What happened was that the server went very slow, ...
0
votes
1answer
146 views

Strategy for caching

I have a 5 dedicated servers each running the same version of an application. I'm looking to massively step up our caching strategy to take some load off MySQL as this is our main bottleneck. All the ...
1
vote
7answers
3k views

How to deploy web application for 2 million users?

I've been tasked with figuring out how to do a large scale deployment for a high availability, high traffic, dynamic, flash based web application. There is a good possibility that this application can ...
0
votes
1answer
215 views

Looking for advice on how to set up membase for a small web app

I am building a small webapp that will initially be hosted on a EC2 Micro instance (which is severely memory-limited, 613Mb RAM). When I set it up it asks for a RAM component into which it will load ...
2
votes
1answer
329 views

Change password in memcached

How do I change/reset the password in a Membase (formerly known as NorthScale) memcached instance?
1
vote
2answers
1k 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 ...
0
votes
1answer
214 views

After installing memcached, unable to locate memcached.so

I've installed memcached on my ubuntu server (8.04), but after apt-get install memcached and successfully installing it, it does not appear in php.ini. I have tested memcached by doing telnet ...
0
votes
1answer
1k 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 ...
1
vote
2answers
165 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
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, ...
2
votes
5answers
2k views

How does one go about monitoring memcached stats in OpenNMS?

I'd like to go about compiling data for size and hits...
0
votes
1answer
163 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 ...
1
vote
1answer
302 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
1answer
105 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 ...
1
vote
3answers
414 views

Is it possible to build a cheap memcached server?

Is it possible to build a cheap memcached server?
0
votes
1answer
1k 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
3answers
3k 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 ...
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 ...
3
votes
1answer
203 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 ...
1
vote
2answers
381 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
905 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
706 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
284 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 ...
2
votes
1answer
337 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 ...
0
votes
1answer
309 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
53 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 ...