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

nginx return corrupted data from memcached

On my web site i've made data caching with memcached. It stores fully generated html pages. Next step was to get this data from memcached by nginx and send back to user w\o starting apache process. First i tried to get data from cache by php backend…
aloneibreak
  • 101
  • 1
0
votes
1 answer

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 memcached-type daemon on every webserver and have the…
0
votes
2 answers

Apache Server with memcache, varnish and php slow request times

My issue is that these servers are taking rather long for request about 2 seconds on average just to serve files. When we had just one server doing everything it was noticeably faster even with the same web app (Drupal 6 and Drupal 7). I want to get…
0
votes
1 answer

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 MySQL servers. Now I got a brand new server with…
Spacedust
  • 568
  • 5
  • 13
  • 28
0
votes
2 answers

Querying a Large Dataset Fast: MySQL MEMORY (HEAP) engine, MyISAM, or something else (e.g. MemCached)

Currently working on a project that is centered around a medical vocabulary known as SNOMED. At the heart of snomed is a (relational) dataset that is 350,000 terms/records in length. We want to be able to quickly query this dataset for the data…
nategood
  • 165
  • 1
  • 10
0
votes
1 answer

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 logrotate file in /etc/logrotate.d/memcached. It's…
ScotterC
  • 101
  • 2
0
votes
1 answer

Server performance worsened after a hardware upgrade: how should I reconfigure the server?

I'm running a site on an Ubuntu/Apache/Django/PostgreSQL stack. We upgraded our server recently from 1 processor with 2 Gb total RAM (with 0.5 Gb of that RAM assigned to memcached) to a new server that has 2 processors with 4 Gb total RAM (with 2 Gb…
Иван
  • 115
  • 2
0
votes
1 answer

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 to the backend db, does it keep a mem cache…
ckliborn
  • 2,778
  • 4
  • 25
  • 37
0
votes
1 answer

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 our web application and call its functions ect.…
BentCoder
  • 331
  • 6
  • 21
0
votes
1 answer

Memcached and Django - When Ajax action is performed, ALL css and js is missing

I've got Django running and caching into Memcached. I have some ajax actions on a page and when those actions are performed, and the browser refreshd, the CSS and JS files are no where to be found. They are gone in Firebug and the site is displayed…
Jmichelsen
  • 113
  • 6
0
votes
2 answers

Timeouts somewhere on our stack (haproxy, nginx, rails, memcached)

We have some timeouts that are driving me crazy, under virtually no load (probably a couple people hitting the servers per minute). We use nginx to redirect non-SSL to SSL, terminate the SSL, and then reverse proxy the request to haproxy which sends…
VNO
  • 121
  • 5
0
votes
1 answer

Should memcached be installed before or after cpanel?

I want to install memcached. I want to know if I should install cpanel first, or after the memcached installation
recep
  • 11
0
votes
1 answer

Memcache Master and slaves

I'm using memcached-1.4.5-1.el5 & memcache-2.2.6 as php extension and memcached-1.2.8-repcached-2.2.1 for replication. The above packages are installed on 4 servers. How can I do the following? Server1 : Memcache Master Server2,3,4 : Memcache…
Linuxstartway
  • 37
  • 2
  • 8
0
votes
1 answer

Connection errors when trying to use Memcache

I'm new to 'Memcache' but I've installed it and I think its' running, so far have I done the following correct? mkdir memcache wget http://pecl.php.net/get/memcache-3.0.6.tgz tar -xvfz memcache-3.0.6.tgz cd…
Dan
  • 113
  • 1
  • 2
  • 10
0
votes
2 answers

Cannot load Memcached in PHP on Gentoo

I am using Gentoo Base System release 2.0.3, apache-2.2.21-r1, php 5.3.8-pl0 and memcached-1.4.5. I have done the following: emerge dev-php/pecl-memcache emerge dev-php/pecl-memcached emerge dev-libs/libmemcache emerge dev-libs/libmemcached …
w00t
  • 1,164
  • 3
  • 19
  • 35