1
vote
1answer
28 views

memcache and memcached session not persisting

so I am having a problem with sessions persisting in an application, that is using the memcached php driver, while another existing application is using the memcache driver. On the server, I see both ...
0
votes
0answers
7 views

Max Memcache Sets per second on a given key [duplicate]

Let's assume I have a "counter" I am storing in a Memcached key, Let's say the value is a numeric value ranging from 100000 to 100000000000 (100B). So a key value with 12 characters or less in it. I ...
0
votes
0answers
40 views

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 ...
1
vote
0answers
105 views

Why is memcache not functioning with elgg in debian 7?

I am moving a php website (built using elgg - www.elgg.org) from a CentOS server to a different Debian 7 server and have installed memcached + php5-memcache on both. I have recreated all the ...
0
votes
1answer
345 views

Right way to configure memcache

I'm trying to change memcache memory size limit in my CentOS env. I've examined other questions and found out there SHOULD be a file, which is mostly under /etc/sysconfig/memcached and if not I should ...
0
votes
2answers
185 views

Can memcache invoke a script to reload itself after startup on Ubuntu?

Since memcache stores everything in ram, it will lose its store after a node recovers from failure. Does memcache offer a hook to invoke a script after it starts up? We want that script to do ...
0
votes
1answer
354 views

how to uncompress memcached content via nginx?

I'm using memcached to store html content ready for nginx to display but I'm getting the compressed output in the browser. It works if I turn off compression in PHP but doubles the response time ...
4
votes
1answer
429 views

Memcache/Elasticache holding many user passwords in memory instead of DB

I have two servers in AWS. One is a live production server (a multi site WordPress installation with hundreds of sites and about 5,000 users) and the other is a clone of prod that is being configured ...
0
votes
2answers
83 views

Memcached - i installed it on centOS and have it running. Will it auto run when i reboot?

I did this: sudo yum install memcached then sudo pecl install memcache then I restarted memcache (which actually only started it) with this: sudo /sbin/service memcached restart i have ...
1
vote
0answers
121 views

Is memcache impacting my performence negatively?

I am using pressflow 6 and NewRelic seems to suggest that memcache is infact hurting performance as shown below : My settings.php file : # Varnish reverse proxy on localhost $conf['reverse_proxy'] ...
1
vote
0answers
151 views

windows 2003 server - php_memcache.dll for PHP version 5.3?

(I posted this in stack overflow about 15 hours ago - but I was told that stack overflow >was not the right forum by the admins for this question, so I'm hoping that this is the >correct forum.) ...
1
vote
2answers
2k views

Memcached Debuging/Server Logs Monitor the Memcached Servers?

I have chat engine which is based on the Memcached variables, putting them into arrays and reading them in other end via jquery, which works fine 95% of the times, however when the server load is ...
-1
votes
1answer
566 views

Forward localhost memcached server on port 12111 to domain.com memcached server

My customers are running many scripts that uses memcached, but all of them are using localhost as a address. My localhost server is now out of RAM, because it's doing many other things like WWW and ...
2
votes
1answer
127 views

Memcached memory consumption?

Server info: cPanel / 4GB The conf file as below: #Memory a user -m 128 # default port -p 11211 # user to run daemon nobody/apache/www-data -u nobody # only listen locally -l 127.0.0.1 Does it ...
5
votes
3answers
266 views

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

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

error while installing the libmemcached

I get this while installing libmemcached root@server [/libmemcached]# make make all-am make[1]: Entering directory `/libmemcached' if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H ...
0
votes
1answer
159 views

Can a slow database cause a web app to hold up a memcache connection?

I have a php application that uses memcache and a back-end database At times we see high "current connections" in memcache and can't determine why. Why php "misses" from memcache and needs to go ...
4
votes
1answer
359 views

How does php know what memcached node to look for its data in?

I am new to the world of Memcached clusters If I have a php web application that is using memcache - how does it does its hash and decide what node to check for a particular value to avoid having to ...
5
votes
1answer
8k views

nginx with Memcache Vs Varnish

I was wondering if anyone has any comments / benchmarks / suggestions on Varnish Vs Memcache when used to serve content (usually 2-5kb JS file depending on the parameters in request; thousands of diff ...
4
votes
2answers
16k views

Memcache basic configuration

I have installed memcache for a Drupal site with the memcached pecl extension. It's all running fine but I'm still struggling with the configuration settings. For instance , following advice on ...
1
vote
3answers
158 views

Would Memcached help in this scenario?

I work for a large internet site where people can share large pieces of text with each other. We store most information in InnoDB databases, but the actual pieces of text are stored somewhere in text ...
1
vote
1answer
3k views

Memcached Cluster - better to have 3 smaller instances or 2 mediums ones?

Currently I have 2 small servers in an memcached cluster. We are approaching out limits with them and need to grow. What are the pros/cons or going adding another small instance compared with having 2 ...
0
votes
1answer
293 views

Memcached server: Is it a good practice to point two server urls to the same server?

I have a system where there are connections to a memcache server from several different files and servers. I would like to stay with one server but keep the option of increasing the number of ...
0
votes
2answers
903 views

How to optimize TCP / IP stack in Linux? [closed]

Currently I noticed there are about 15K open connections to localhost. It is mainly connecting to Memcached. I am clueless where I should start to optimize TCP/IP stack. Memcached support UDP, but ...
0
votes
1answer
155 views

Choose which memcache version

For memcached server we are running on version 1.4.5, and the application is built with PHP 5.3.6 and memcache (http://pecl.php.net/package/memcache) version 3.0.5 Currently we have 2 memcached ...
2
votes
1answer
232 views

PHP APC MAJOR Fragmentation Issues?

So I have been using memcached to cache lots of data that was the result of queries to the database. Everything left at default, and on average I stored < 40MB in memcache. I used memcache.php to ...
1
vote
1answer
631 views

600+ memcache req/s problems - help!

I am running memcached on my server and when it hits 600+ req/s it becomes unstable and causes a big load of problems. It appears when the request rate gets that high, my PHP applications at random ...
2
votes
2answers
437 views

Memcache - Issues in a distributed environment with many nodes

I've had a quick look through the other similarly titled questions and none are particularly similar to the issues I'm currently having. Basically, we've had a multi node memcached ring running for ...
3
votes
2answers
1k views

Multiple AWS EC2 running Auto Scaling and Distributed Memcache

I'm planning to use distributed Memcache across a series of Linux web servers on Amazon EC2. These EC2s currently run auto scaling so will increase and decrease with load. I have used this post to ...
5
votes
3answers
7k 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 ...
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
3k 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 ...
0
votes
1answer
722 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
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
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 ...
1
vote
3answers
1k 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 ...
13
votes
3answers
15k 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 ...
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
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: ...
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 ...