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.
0
votes
1answer
16 views
Memcached status returning “memcached dead but pid file exists”
Sorry, this is probably a newbie question.
When I want to see the status of memcached I run service --status-all but I get this multiple time "memcached dead but pid file exists" when it lists ...
0
votes
1answer
28 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
0answers
26 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
2answers
24 views
Can't get Memcached to use more than 300 MB for cache
I installed Memcached on a Debian 7 server with 32 GB of ram. In my /etc/memcached.conf file I
have it set up to use up to 4 GB of ram:
-m 4000
Yet, whenever I run 'top' I always see memcached using ...
0
votes
2answers
44 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
46 views
Memcached distribution
I have a question about memcached distribution across nodes. We have 20 memcached nodes with 200GB memcached on each. Our apps are PHP apps.
$memcache->setOption(Memcached::OPT_DISTRIBUTION, ...
0
votes
1answer
40 views
nginx proxy_cache or Memcached
I currently use nginx's proxy_cache for file-based caching in front of three Django applications (Apache/mod_wsgi). For some locations/URLs, I disabled proxy_cache and used Memcached (per view) within ...
0
votes
1answer
52 views
Memcached in a cloud environment: dedicated server or localhosts?
I'm something of a rookie, so apologies if I'm missing something obvious since my research hasn't led me to much relating to our somewhat unique situation.
I'm going to be transitioning a php app to ...
3
votes
1answer
75 views
Does a growing number of TIME_WAIT connections affect server performance?
I have 2 servers, both running RHEL 6, one for Apache 2.2 and one for memcached (memcached-1.4.4-3).
I noticed an increase in the number of TIME_WAIT connections on the Apache server
netstat -n | ...
0
votes
0answers
53 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.
...
3
votes
3answers
215 views
Slow Memcached: Average 10ms memcached `get`
We're using Newrelic to measure our Python/Django application performance. Newrelic is reporting that across our system "Memcached" is taking an average of 12ms to respond to commands.
Drilling down ...
-5
votes
1answer
48 views
Memcached on MySQL Server? [closed]
I just installed memcache with yum on MySQL Server. However when I start the memcache daemon I see no changes in MySQL/Application performance. I think I still need to configure MySQL to work with ...
-3
votes
1answer
55 views
memcached calling wrong libevent
When I try to run memcached from shell I get:
memcached: error while loading shared libraries: libevent-1.1a.so.1: cannot open shared object file: No such file or directory
However, i've installed a ...
0
votes
1answer
136 views
Thread Safe php-pecl-memcache and php-pecl-mongo
I'm looking to switch a Fedora server running Apache from prefork to worker.
Everything seems to be fine except the php libraries for Mongo and Memcache. Has anyone had any success getting these to ...
0
votes
1answer
92 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
0answers
46 views
How do I install Memcached on Redhat with igbinary support
How do I install Memcached on Redhat with igbinary support?
I know I can install like
sudo yum install memcached
but this doesn't enable igbinary support
I've added this to php ini:
...
2
votes
1answer
628 views
How to debug memcached “SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY” errors?
I have a two server memcached setup. When memcached write fails, I receive an email notification. About once per day "SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY" error comes and I have no ...
1
vote
1answer
468 views
How to store php sessions using memcached and unix socket
I am running Arch linux with systemd, nginx, and php with php-fpm. I am trying (and failing) to configure memcached to store sessions using a unix socket. I have memcached installed and active, ...
0
votes
1answer
47 views
AWS ElasticCache - Cross Site - Disaster Recovery
I'm using AWS ElasticCache (MemCached) and can see how instances can be created at different data centers/sites. (eg: singapore A or B)
There is no AWS Automatic Replication of ElasticCache from ...
1
vote
1answer
572 views
upstream prematurely closed connection while reading response header from upstream, client
I'm using nginx and spawnf-cgi with apc and memcache enabled.I'm getting 502 bad gate way on browser and this error on error log.
2013/01/07 06:55:46 [error] 90799#0: *53 upstream prematurely closed ...
0
votes
1answer
92 views
Is there a benefit to managing programs with a process manager instead of with init.d?
I'm using Redis, Memcached, and Nginx, to be specific, and Supervisor as the process manager, but any general information is helpful as well.
Each of the aforementioned programs when apt-get ...
3
votes
3answers
781 views
Yum install php-pecl-memcached - No package found (Have epel-release-6-8.noarch.rpm)
I believed I've downloaded and updated the EPEL rpm but I can't install php-pecl-memcached..
I'm very new to this, any help is appreciated.
#rpm -Uvh epel-release-6-8.noarch.rpm warning: ...
0
votes
1answer
134 views
Can't get memcached to run on CentOS 5.8
so I want to install memcached on my CentOS 5.8 server.
I followed this tutorial http://kb.liquidweb.com/install-memcached-on-centos-5/
The command
netstat -ap | grep 11511
shows that memcached ...
2
votes
1answer
253 views
Multiple memcached bins on ubuntu 11.04
I just installed memcached on ubuntu 11.04 (which is my development server). During the install, the script arranged for memcached to be started automatically at boot. Great, just what I needed.
...
1
vote
1answer
56 views
Configuring memcached for a particular scenario
I have a web application which queries opentsdb server(which in backend using Hbase cluster) for the datapoints of different metrics and using dygraph javascript graphing library, I am plotting those ...
0
votes
1answer
42 views
Memcache Error? “Could not find specified socket in poll list.”
For some reason recently I've been getting this error in my apache error log on my server. We have a single instance of memcached running on our Mac OSX 10.7 server.
(20014)Internal error: Unknown ...
1
vote
2answers
279 views
upgraded php to 5.3.19 and memcached stopped working
I have a server with centos 6.3 and cPanel
After the upgrade from php 5.3.16 to php 5.3.19 my site stopped working.
When I try to execute an index.php manually, I'm receiving the following error.
...
-2
votes
2answers
79 views
Memcached installation on Linux server [closed]
I tried to install memcached on linux server. After successful completion of all installation steps(configure, make and make install), when I try to start memcached services, nothing happens. What ...
0
votes
2answers
79 views
Can I use two machines to set up memcache server for a php web app?
I have a web server which hosts my PHP web app and my MySQL server. I would like to throw out one more machine there to use it for memcache/memcached. In order to use Memcache, should I have a ...
0
votes
1answer
110 views
Adding varnish and memcached to an running single server web site
Current set up;
I have a single dedicated server running a web site (it's a lamp stack forum)
OS : CentOS
CPU : Dual 3.2Ghz Quad-core Xeons
RAM : 40GBs (10x4GB DIMMs)
Storage : Software RAID1 with ...
3
votes
1answer
226 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 ...
-1
votes
1answer
71 views
How to check what user is running memcached? [closed]
How to check what user is running memcached? I read that running it as root is a bad idea - I installed it while logged in as root. How can I check what owner owns that process?
thanks
0
votes
2answers
70 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 ...
0
votes
0answers
73 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
78 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.)
...
0
votes
0answers
11 views
Pooling several, transient memcached servers
I have a similar, but different scenario to the typical "how should I share memcached instances" questions.
I have an application that's designed to run on a batch system that's shared amongst many ...
0
votes
0answers
20 views
Memcache bahaviour incase both Web and Memcache servers were installed in same machine itself?
I have two servers on which two web servers and two Memcache servers are installed. I specified Order Of servers for building the Memcache client this way
String location = "10.1.1.1:11211 ...
1
vote
3answers
167 views
How to maximize parallel download from S3
I got a lot of images to load from Amazon S3 on a single page, and sometimes it takes quite some time to load all the images. I heard that splitting the images to load from different sub-domains would ...
0
votes
1answer
186 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 ...
1
vote
1answer
382 views
Nginx cache reverse proxy: how to keep app server alive during the 5 second window when cache expires?
I have an nginx server sitting in front of apache running django.
Most of my site is static content: http://www.grovemade.com/
My app server can handle the pieces that needs to be dynamic just fine ...
1
vote
1answer
271 views
Memcached session manager in Azure: Connection gets forcibly closed
I am using Memcached Session Manager to handle Tomcat sessions in non-sticky mode. My deployment in Azure consists of a Worker Role with two instances which connect to an Azure VM running my Memcached ...
0
votes
1answer
145 views
Monitoring memcached with plink
I need a telnet client that can take commands from a file or stdin so I can do some quick-and-dirty automatic monitoring of memcached. I thought plink would be good for this, but it seems to be doing ...
1
vote
1answer
1k views
How to set up memcached to use unix socket?
While I could use memcached on Debian to use the default 11211 port, but I've had great difficulty setting up unix socket,
Form what I'v read, I know that I need to create a memcache.socket and add
...
0
votes
2answers
278 views
Configuring SASL support in libmemcached
I'm trying to build libmemcached with SASL support on OS X Mountain Lion.
I have built memcached (1.4.15) with SASL support:
$ memcached -S -vv
Initialized SASL.
slab class 1: chunk ...
0
votes
0answers
146 views
Notice: Memcache::flush() [memcache.flush]: Server 127.0.0.1 (tcp 11211) failed with: Connection refused (61)
Any ideas why I am randomly getting this error on my Mac:
Notice: Memcache::flush() [memcache.flush]: Server 127.0.0.1 (tcp
11211) failed with: Connection refused (61) in: ...
0
votes
0answers
121 views
Memcached cache doesn't flush
I would like to flush the memcached cache keys and values on my centos server.
I have tried the telnet approach by telnetting to the port and then issuing: flush_all
It doesn't work an my values are ...
2
votes
1answer
157 views
How to optimally configure memcache running on 16 cores 144G ram server?
Memcache is the only important app running on the server
Server has 16 cores and 144G RAM
Memcache is given 135G
Memcache runs at 32 threads
Gigabit network, test shows at least 300Mbit/s ...
1
vote
0answers
38 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: ...
1
vote
1answer
414 views
How to secure memcached?
In Debian, I have installed memcached (using this guide) to lower the otherwise unmanageable load on mysql database. The database is on a separate server, and memcached and Varnish are on the front ...
1
vote
2answers
686 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 ...

