The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
1answer
567 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
726 views

Nginx, memcached and cakephp: memcached module always misses cache

I've got a simple nginx configuration; server{ servername localhost; root /var/www/webroot; location / { set_md5 $memcached_key $uri; index index.php index.html; try_files $uri ...
1
vote
4answers
6k views

Trouble installing php memcache extension

I'm trying to install memcache on MAMP but I get the warning below, and when I continue it seems to complete properly. I add the line extension=memcache.so to the php.ini and restart MAMP but ...
1
vote
1answer
708 views

Apache2 Segfault - need help interpreting this coredump (suspect cause is memcache / php session related)

Three Apache2 web servers running a PHP 5.2.3 web site. We're using Memcache to cache rendered pages but also as the storage engine of the PHP Sessions. At peak traffic times we're getting Apache ...
0
votes
1answer
30 views

Couchbase Community Edition as a Cache

It is mentioned here(www.couchbase.com/memcached) that couchbase can be used as the caching layer. I am supposed to use the community edition for my caching layer. As found in Internet, there are many ...
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 ...
-1
votes
0answers
8 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
41 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 ...
0
votes
0answers
39 views

nginx upstream host setting with memcache

I want to setup a nginx setup with memcache enabled for pages as pointed out in page https://www.igvita.com/2008/02/11/nginx-and-memcached-a-400-boost/. First I tried nginx web server (with php-fpm ...
1
vote
2answers
1k views

phpMyAdmin displays blank page after installing APC and memcached

I am running a LAMP stack on CentOS 5.6 with PHP 5.3. I had installed phpMyAdmin and it worked. I was able to log in and do anything. Then I installed memcached and its PHP extension as well as APC ...
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 ...
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 ...
1
vote
1answer
106 views

Does PHP memcached client support prefix-based cache purge?

I'm looking for a simple answer to a simple question that is hard to search for. Does memcache support purging a subset of keys? Or is a purge call always going to flush the entire cache? More ...
0
votes
0answers
56 views

Time to first byte on wordpress increased after url change

Goodmorning, i have this configuration nginx + php5 + mysql + memcache +fastCGI and i have this plug-in W3 Total Cache + Nginx Helper After change the url from subdirectory to root ...
2
votes
1answer
44 views

Memcache_connect and security

$memcache_obj = memcache_connect('My server's IP address', 11211); Using this php code, could anyone can connect to my Memcached server and put something using memcached_get()? Is it a security ...
1
vote
4answers
5k views

How to configure nginx to serve static contents from RAM?

I want to set up nginx as my web server. I want to have image files cached in the memory (RAM) rather then disk. I am serving a small page and want few images always served from RAM. I dont wish to ...
1
vote
1answer
214 views

How do I configure Linux to use less memory for caching?

I have a follow up question to 377448, but not enough rep to comment there. Before I get dinged for asking the same dumb question, let me say I've been reading a lot of similar posts and answers ...
0
votes
0answers
82 views

memcache failure under ubuntu server with php5.3

I have a cake application that starts up with the fallowing error: MemcachePool::get() [http://php.net/memcachepool.get]: Server 127.0.0.1 (tcp 11211, udp 0) failed with: Connection refused (111) ...
1
vote
1answer
92 views

PHP + Mysql and memcache or phpsessions

I currently manage a game that handles around 8K daily users, the current server setup is VPS: 16GB+8cores+ 160GBSSD. Handles 8K daily users that are generating 600K daily direct calls to the mysql ...
0
votes
1answer
348 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 ...
-1
votes
1answer
42 views

How to make memcache accessible only from several ip's?

I have 4 load balansed apache servers, that are using one memcache server. I want to make memcache server accessible only from my this 4 servers. How can I do it? Can I write something like this in ...
1
vote
1answer
626 views

Configuring HAProxy with memcache with failover

I'm configuring a new set of servers for an existing Wordpress site, and it's been requested that memcache be available and made more resilient. The idea proposed is to have HAProxy send requests to ...
1
vote
1answer
563 views

Wowza RTMP streams SLOW after updates to server

MY BUILD I am using a Linux CENTOS 6 server with Plesk 10.4.4 Apache and Wowza Media Server 3. The server is a quad core and has 12GB RAM. WHAT HAPPENED BEFORE I was having a problem with some ...
0
votes
2answers
186 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 ...
-1
votes
1answer
263 views

Nginx solution for caching external images?

I have a little forum with 100 users online and i'm looking into a solution for caching all external images from avatars, signatures etc. to ram. Now for my static content i'm ussing memcached to ...
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
2answers
97 views

Which one is better to query from - loopback-ip or interface-ip?

I have memcache server listing on 0.0.0.0:11211. I have to query the memcached server from the same box. Which one do you think is better: querying from 127.0.0.1:11211 or from interface-ip:11211. ...
0
votes
1answer
66 views

Is ECC memory recommended for memcache? [duplicate]

I'm planning to buy new server for memcache/couchbase. Would you recommend using ECC memory for a memcache server, why/why not?
0
votes
1answer
355 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 ...
0
votes
1answer
80 views

Incrementing values, alternate way of doing this that won't use MySQL

I need to count impressions of a .php script that is accessed via web. Right now I do this in a 1 line MySQL table and just increment the value. This works fine usually but when the server has traffic ...
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
1answer
296 views

Memcache - PHP- Ubuntu :: cd: /var/lib/memcache: No such file or directory

I installed memcache PHP module on Ubuntu 10.04 My Steps: install php5-memcache (http://pecl.php.net/package/memcache) restart apache get phpinfo() memcache memcache support enabled Version ...
1
vote
1answer
646 views

How to debug/fix a php/apache segmentation fault while using memcache (redundant) for session storage?

os: debian squeeze (up2date) 2 apache mod php webserver 2 memcache server i have to apache mod_php nodes which use two memcache server for redundant session storage (used variant 3 from ...
2
votes
1answer
449 views

Redis vs Memcache

I'm a bit new to Memcache and Redis and I'm trying to understand the difference between the two and what each actually is. As has been explained to me Memcache is a database caching solution. Data ...
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
152 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
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
2answers
2k views

Configuring NGINX to work with memcache for reverse_proxy_cache

Is there any way to configure nginx to use memcache for storing cache data, as opposed to using files stored on hard drive?
0
votes
1answer
360 views

Nginx with memcache module fallback to upstreams

I want to use nginx with the memcache module to check my memcache server first then if the key is not found then to fallback to my upstream servers. I see lots of examples of proxing to multiple ...
0
votes
2answers
2k views

best practice with memcache/php - multi memcache nodes

So I am working on a web app - that has to be built for scalability. It stores frequent MySQL querys into the cache. I have pretty much everything built and ready to go - but I am concerned on best ...
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 ...
3
votes
2answers
9k views

Problems installing Memcache (PECL extension)

I have installed memcached fine, and now I will need to install PECL extension memcache. Im running RedHat x86_64 es5. The installation gives me this: downloading memcache-2.2.6.tgz ... Starting to ...
0
votes
3answers
245 views

I enabled mem_cache and cache then disabled them, now my apache2 server won't respond

Yikes. I just attempted to enable cache and mem_cache using sudo a2enmod mem_cache and sudo a2enmod cache on my Ubuntu lucid server. Now my apache2 server doesn't respond at all. I tried sudo ...
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 ...
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 ...
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 ...
0
votes
2answers
2k views

How much memory should be allocated to memcache?

How much memory should be allocated to memcache on a small EC2 intance (1.7 GB RAM). The OS is Ubuntu Hardy. Thanks.
0
votes
1answer
852 views

MemCache-repcached compile error

I'm trying to install [memcached-1.2.8-repcached-2.2.1]( http://sourceforge.net/projects/repcached/files/latest/download?source=files) And I have the following error after running the make command: ...
3
votes
1answer
399 views

APC fragmention woes on Apache AWS EC2 Small instance with WordPress and W3TC

AWS EC2 Small instance, Apache 2 running WordPress and W3TC. Within an hour, my APC fragmentation hits 100%. My APC settings are: apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 100M ...