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
75 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
1answer
122 views

Different memcached instance per user, with authentication

I am writing a script which will allow each and every cPanel user to run an instance of memcached on their own. The script at this point is starting the daemon for every user on a different port. ...
1
vote
1answer
112 views

Should we increase local port range limit on busy memcached servers

nixcraft has a tutorial on configuring memcached server(link) at the end says: For busy memcached server you need to increase system file descriptor and IP port limits here is the code to do ...
1
vote
1answer
100 views

MediaWiki Multi Site + Memcached

I have multiple mediawiki installations, and I'm wondering if it's safe to allow them to all use the same memcached server. Are there any "gotchas" involved?
1
vote
1answer
159 views

Tips setting up nginx as proxy for php and node frameworks

We have a current, soon-to-be legacy PHP app installed in production, served with apache. Working fine. Currently trying to add in new Node.js alpha stack, which we're planning to install alongside ...
1
vote
1answer
249 views

My ubuntu server can ping and ssh can connect, but ssh can't do the authuncation and halt

I have two ubuntu server. Each running php-cgi by phpfpm, memcached, mongodb. And these servers are not running in a high load state. After running several days. The server will halt. No service and ...
1
vote
1answer
288 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 ...
0
votes
1answer
28 views

Is it possible to force a specific program to use virtual memory?

Let say I have 1GB RAM Ubuntu, I need to run both memcached and redis on the same machine The usage of memcached is quite heavy (e.g. 1K read per second) and redis is less heavy (but still 10 read ...
0
votes
1answer
1k views

PHP-FPM save sessions in memcached

I'm trying to switch my session_handler to memcached, I'm not sure if it worked, it does not look like it did. vi /etc/php5/fpm/php.ini session.save_handler = memcached session.save_path = ...
0
votes
1answer
789 views

Installing memcached deamon on Centos PHP conflicts

I have Centos 5.10 installed on my server and tried running the following command yum install php53u-pecl-memcached.x86_64 Setting up Install Process Resolving Dependencies --> Running transaction ...
0
votes
1answer
103 views

New Relic Memcached plugin installation location - App server or memcached server(s)?

We have the New Relic PHP agent running on our 8 app servers. we have two memcached servers and would like to add the New Relic/ Meet Me Memcached plugin to grab memcached metrics. Should the ...
0
votes
1answer
256 views

Memcached inconsistency in values for maxbytes and limit_maxbytes

I'm using Memcached on RHEL/CentOS 5/6 and found that memory size inconsistency between limit_maxbytes and maxbytes taken from "stats" and "stats settings" respectively. I have compiled ...
0
votes
1answer
74 views

memcached number of threads showing more than what were set

I started memcached server using 8 threads. Then I checked threads using ps -eLf | grep memcached shantanu 2758 1 2758 0 10 11:17 ? 00:00:00 memcached -d -l 10.90.15.104 -p 11311 -t 8 ...
0
votes
1answer
408 views

How to find max connections used by memcached?

In our LAMP application we have increased the max connection value for memcached to very high to avoid error for max connection we were having. Now we want to set appropriate value to max connections ...
0
votes
1answer
387 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
457 views

500 Internal Server Error when setting up Apache on Ubuntu+Django

I tried with Apache on ubuntu 9.04 and get the same error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact ...
0
votes
1answer
369 views

Memcached clustered alternative

I'm looking to replace memcached. We have a LOT of traffic to our central memcached node which I'd like to split. There's only so much trunking networks I can do. My general idea is to install a ...
0
votes
1answer
259 views

Memcached logrotate file not being installed. Bug with memcached 1.4.2?

My memcached logs are getting huge (in excess of 5GB). This isn't a huge problem in itself. I can easily remove them. I've sourced the problem to the memcached 1.4.2 package not installing a ...
0
votes
1answer
156 views

How to use Memcached

I read a bit about memcached but struggling to understand how exactly we use it. Is it a kind of server/application that we have to install on our machine? Is it a script that we have to include in ...
0
votes
1answer
665 views

When set SESSION_ENGINE to memcached, Django website halts

I have set up memcached in Django using Pylibmc binding: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', 'LOCATION': ['10.241.1.1:11211', ...
0
votes
1answer
965 views

memcached install issues with lib event on server

I've installed libevent on my server in the directory root/data/ and have i'm about to install memcached with ./configure –with-lib-event=/data/; make; make install However, after running a bit I ...
0
votes
1answer
619 views

Deploying Memcached as 32bit or 64bit?

I'm curious about how people deploy memcached on 64 bit machines. Do you compile a 64bit (standard) memcached binary and run that, or do people compile it in 32bit mode and run N instances (where N = ...
0
votes
1answer
354 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
1answer
188 views

In Nginx, can I handle both a location:url or a content-type: text/html response from memcached?

I'm setting up an nginx - apache reverse proxy where nginx handles the static files and apache the dynamic. I have a search engine and depending on search parameter I either directly forward the ...
0
votes
1answer
220 views

Multi-Application Server Environment and Memcached Security

We are looking to integrate Memcached into our infrastructure, but have a security concern before we do. We run several platforms including ASP.NET and Coldfusion and have many app developers working ...
0
votes
1answer
488 views

Memcached can't connect with php

I have centos 5.3 and I just installated memcached 1.4.2. I can telnet it fine and do stats, etc., but when I try to connect to it over php I get an error that it can't connect. It was SELinux.
-1
votes
1answer
65 views

Installing Memcached on CentOS 6 Issue

Having a devil of a time getting Memecached on my CentOS 6 server (PHP 5.4.13). Usually all of the DigitalOcean help guides work smoothly (it's a MediaTemple server and support won't install ...
2
votes
0answers
43 views

Sudden increase in CPU usage and server response time

Over the past 10 days, I'm suddenly experiencing increased CPU usage on my website with CPU usage reaching 100% three times. During that time I'm unable to SSH to my website so I haven't been able to ...
2
votes
0answers
69 views

Port server moxi on node X exited with status Y on Couchbase 1.8.1

I'm getting this error on live servers Win Server 2003 32 bit & 2008 64 bit. Port server moxi on node 'ns_1@192.168.243.12' exited with status 3. Restarting. Messages: 2012-09-10 17:13:21: ...
2
votes
0answers
233 views

Enyim Memcached Client Caching same item on multiple servers

We have a memecached cluster of 5 servers. When we reviewed the cache keys it shows that the same item is showing up across 4-5 servers in the cluster. As I understand it, Enyim's default key hash ...
1
vote
0answers
33 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 ...
1
vote
0answers
20 views

Memcached Pool - Outtage causes increased lag in response time

I have multiple cache servers which are added to a virtual pool at the PHP layer via the Memcached::addServers() api. During fault tolerance testing I noticed that taking one of the memcached servers ...
1
vote
0answers
171 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
125 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
0answers
210 views

Memcached with SASL: Couldn't find mech PLAIN

I'm trying to get memcached working with SASL. I'm compiling memcached and libevent from source. These are the steps I took (both under root and a user, same result): Having these packages: ...
1
vote
0answers
126 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
176 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
0answers
374 views

Memcached and repcached not replicating 2 master servers

I have memcached-1.2.8-repcached-2.2 installed on memcached on centos. They install went great and when i start memcached i get: replication: connect (peer=192.168.1.2:11212) replication: marugoto ...
1
vote
0answers
309 views

repcached broken sync - memcached high avalaibility

I have been using repcached (memcached-1.2.8-repcached-2.2)to store php sessions in order to have a highly available memcached. Everything runs perfect, I can restart a daemon without losing sessions. ...
0
votes
0answers
41 views

Increased CPU usage and server response time

Over the past 10 days, I'm suddenly experiencing increased CPU usage on my website with CPU usage reaching 100% three times. During that time I'm unable to SSH to my website so I haven't been able to ...
0
votes
0answers
29 views

X2Engine doesn't install because it thinks session.save_path (unix:/tmp/memcached.sock) is not writable

I'm installing X2Engine and I get the following error on the install page: The path defined in session.save_path (unix:/tmp/memcached.sock) is not writable. # ll /tmp/memcached.sock srw-rw-rw- 1 ...
0
votes
0answers
112 views

CouchBase Client Fails to Cache Object less than 20mb. Time Out Error

I am caching my serialized POJO s(4mb-8mb size objects) concurrently into Couchbase server with CouchBase client (couchbase-client-1.4.3). for(upto 20 itertarions){ new Thread().start().. ...
0
votes
0answers
112 views

Memcached problems since upgrade from Ubuntu 12.04 to 14.04

I recently migrated to Ubuntu 14.04 with a Webprojekt (nginx,PHP5,MariaDB,memcached). All configs are exactly the same. But the cached sites sometimes don't load properly. I enabled the verbose mode ...
0
votes
0answers
75 views

cannot setup memcached with sasl

I was following http://www.shanison.com/2014/04/29/setup-memcached-with-sasl-authentication/ with memcached SASL setup. I did not install memcached from source because -S worked without any error. I ...
0
votes
0answers
143 views

Using memcached in php.ini is ignoring gc_maxlifetime?

Using php-fastcgi with session.save_handler = memcached and session.gc_maxlifetime = 1440, my sessions are never expiring. Memcached Cache is running full and then starting to evict old items after a ...
0
votes
0answers
180 views

Adding Memcached (to WordPress) causes PHP (Apache, mod_fcgid) to hang

Quick architecture overview: Nginx serves up static assets and is running as a reverse proxy to PHP (FastCGI, mod_fcgid + Apache). Memcached is running on the same server as well: memcached -d -p ...
0
votes
0answers
46 views

memcached available, but not installed and unable to uninstall, but run in process

I installed memcached in my cent OS VPS. Somehow it's not work as i expected and now I switched to suPHP. But when I run 'top' command I can see 'memcached' run as a nobody user. 1727 nobody 20 ...
0
votes
0answers
115 views

Memcache daemon error, how to restart it quickly

i have the memcached daemon failing with the following error: 2013-08-15 07:45:27 +02:00 --- error: Uncaught PHP Error: Memcache::set() [<a href='memcache.set'>memcache.set</a>]: Server ...
0
votes
0answers
74 views

Memcached dont start on boot

I've installed the memcached and configured /etc/init.d script. /etc/init.d/memcached: #!/bin/sh # # memcached Startup script for memcached processes # # chkconfig: - 90 10 # description: ...
0
votes
0answers
526 views

Stopping memcached: [FAILED]. Why?

My application seems to be having issues with memcached not stopping. I'm using php, and have specific keys expiring after every hour. However those keys & values are not repopulating anymore. ...