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
917 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 ...
6
votes
3answers
8k views

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

Setting up memcached/memcache with Php on Ubuntu 10.10

I'm assuming memcache and memcached are two completely different things, and that I want to use memcached. I have two separate servers (one is a webserver, one is meant for the db). I don't know ...
1
vote
1answer
7k 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 ...
6
votes
1answer
11k 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
1k 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 -...
5
votes
1answer
1k views

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

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 /etc/sysconfig/memcached: PORT="...
0
votes
1answer
934 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 ...
14
votes
5answers
15k views

View content of memcached

Are there any tools to explore what is currently cached inside a memcached pool? Not some much graphs, but the actual key/values currently stored.
5
votes
3answers
969 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
2k 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
1k 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
407 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 ...
1
vote
3answers
2k views

How to confirm memcache memory increase?

Alright, I have downloaded /etc/sysconfig/memcache And edited the file that contained "PORT="11211" USER="memcached" MAXCONN="1024" CACHESIZE="64" OPTIONS="" to 1000 cachesize. I uploaded the file ...
18
votes
3answers
32k 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 ...
3
votes
2answers
4k 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 ...
8
votes
3answers
14k views

Memcached memory usage

Is there any command line or php script which returns the memcached total memory usage?
1
vote
3answers
710 views

Launch memcached on boot with cron?

How can I launch memcached on boot?
0
votes
2answers
2k 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 ...
0
votes
1answer
96 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
1k 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
171 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 ...
0
votes
1answer
1k 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
222 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
667 views

Change password in memcached

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

php_memcache.dll vc6 X64?

I am running wamp server with php 5.3.0. My efforts running memcached were a fail :( After googeling I found out that the problem is that I need the correct php_memcache.dll which is a vc6 compiled ...
2
votes
7answers
5k 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 ...
1
vote
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
3answers
140 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
335 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 ...
1
vote
1answer
806 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
201 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
431 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
351 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, ...
23
votes
5answers
27k 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
225 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
2k 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
5k 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
584 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
3k 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 sessions,...
0
votes
1answer
120 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
3k 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
578 views

Is it possible to build a cheap memcached server?

Is it possible to build a cheap memcached server?
1
vote
1answer
3k 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
180 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. ...