Questions tagged [memcached]

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.

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.

390 questions
0
votes
1 answer

Memcached ports and CSF

I've got a small / medium sized VPS powered by WHM and running a few personal websites alongside a Magento powered web-store. Not being a real expert when it comes to server configuration details I've hired someone recently to oversee a memcached…
nickyfsh
  • 1
  • 4
0
votes
3 answers

Installing PHP 5.3 Pear on centos 5.8

I just created a VPS with 32 bit Centos 5.8 and installed php53 and a host of other php 5.3 packages. I would like to install memcached using yum but I get the following error Resolving Dependencies --> Running transaction check ---> Package…
sridhar pandurangiah
  • 763
  • 2
  • 11
  • 29
0
votes
2 answers

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 -vv shantanu 2758 1 2759 0 10 11:17 ? …
Shades88
  • 109
  • 5
0
votes
1 answer

Can I have nginx put stuff on memcached?

It is my understanding that nginx can query memcached for data that it serves, but you have to place them there using some other (homegrown) program. So the question is, can I have nginx fetch data from the backend and place them into memcached for…
adamo
  • 6,925
  • 3
  • 30
  • 58
0
votes
2 answers

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 around 309m (VIRT) and 180m (SHARE). On my prior…
0
votes
2 answers

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 "something", either hit an external service, etc., to…
SAFX
  • 121
  • 1
  • 9
0
votes
1 answer

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, Memcached::DISTRIBUTION_CONSISTENT); What will be the…
0
votes
1 answer

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 the Django app instead. Now I wonder whether…
janeden
  • 237
  • 2
  • 6
0
votes
1 answer

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 which is the key part here so ideally I'd like to keep…
glambert
  • 1
  • 1
0
votes
1 answer

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 DataCenter to DataCenter... Therefore is there a way…
0
votes
2 answers

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 loadbalancer ? or I just use my apache web server to…
Alex
  • 31
  • 1
  • 3
0
votes
1 answer

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 2x 7.2k SATAII 500GB HDD The forum MySQL DB is…
jwbensley
  • 4,202
  • 11
  • 58
  • 90
0
votes
1 answer

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 the server administrator, webmaster@localhost and…
ApacheQ
  • 1
  • 1
0
votes
1 answer

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 something beyond what I need: If I telnet into…
kojiro
  • 559
  • 3
  • 8
  • 25
0
votes
1 answer

Is there something like phpMyAdmin for Memcached?

Is there any tool to see the keys/values stored in my memcached instance? I've found simple scripts like this http://snipt.org/xtP, but I get only the keys. Thanks in advance
Jorge Arévalo
  • 197
  • 1
  • 11