Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
11 views

Having Memcache and Memcached installed and enabled at the same time

Can I use both Memcache and Memcached php extensions on the same server at the same time? Just to be clear so you dont misunderstand what I mean by this question, here is my scenario: I have both ...
0
votes
0answers
71 views

How do I increase the curr_connections limit using memcache?

I am using a server with Centos 6.5 64 bits Kernel 2.6.32 and 64 GB RAM and 12 threads cores, and I cannot get increase the current connections used in memcache. This is my STATS output: # echo ...
0
votes
1answer
43 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
56 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
vote
0answers
136 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
52 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
0answers
119 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
144 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
64 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
47 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
1answer
277 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 ...
1
vote
1answer
100 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
479 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
45 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
749 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 ...
0
votes
2answers
199 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
306 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
110 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
70 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
382 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
86 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 ...
3
votes
2answers
570 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 ...
4
votes
1answer
470 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
85 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
125 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
170 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
3k 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
vote
1answer
637 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
3answers
255 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 ...
-1
votes
1answer
623 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 ...
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 ...
2
votes
1answer
133 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 ...
2
votes
1answer
773 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 ...
5
votes
3answers
278 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
4k 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
379 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 ...
3
votes
1answer
403 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 ...
0
votes
1answer
165 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
373 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 ...
0
votes
2answers
354 views

Role of Varnish cache

Right now I'm using nginx together with APC for php cache and memcache for mysql cache. I was wondering what Varnish cache can do in my existing environment as I am thinking to implement varnish, any ...
0
votes
3answers
329 views

PHP Memcache module is compiling with different module (debian)

I've downloaded memcache-2.2.6 and when i run: phpize && ./configure --enable-memcache && make I get: Configuring for: PHP Api Version: 20090626 Zend Module Api No: ...
1
vote
2answers
365 views

Where to look if the website loses the user session?

Suddenly a few days ago I have noticed that in my website, when I complete a form of a place for example (POST) and then I do a redirect to view that place, the user session gets lost. If I refresh ...
0
votes
2answers
293 views

How to install memcache (to ease mysql load) in php

I want to install memcache on my dedicated server, how do I do that using SSH? OS: CENTOS 6.2 x86_64, PHP ver. 5.2.17, APC already installed.
2
votes
2answers
710 views

m1.small nodes for memcache array on AWS EC2

I am currently having an m1.large instance acting as a memcache server. I would like to replace that with 2 m1.small nodes for High Availability more or less for the same cost. But I am concerned ...
0
votes
1answer
893 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: ...
1
vote
2answers
858 views

How to install different versions of memcache with different versions of lampp

I need to use different versions of lampp (xampp for linux). I recently also need to use memcache with any version of lampp I might need to use. Everything is going right if I use the last lampp ...
0
votes
2answers
200 views

Memcache warnings

I have installed memcache on a Dreamhost VPS (Debian GNU/Linux 5.0.9 (lenny) / memcached 1.4.10 ) for a Drupal site . If for some reason the server needs rebooting, memcache is not restarted and ...
5
votes
2answers
17k 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 ...