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 Service Crashed Every Morning

I have Memcached 1.4.17 Install on CentOS server to serve a PHP website. The problem is every morning the Memcached Service will be crashed. Any suggestions?
Tester
  • 177
  • 1
  • 1
  • 7
0
votes
1 answer

Memcached: More items than connections?

I setup memcached for saving (serialized) PHP sessions. So everytime someone visits my site (1-n connections), a session (1 item) gets created. I don't use memcached for anything else yet. Question: How do I have more items than connections?? Total…
Daniel W.
  • 1,609
  • 4
  • 26
  • 48
0
votes
0 answers

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 58176 1004 652 S 0.0 0.0 0:00.64…
MaxBro57
  • 37
  • 8
0
votes
2 answers

Wordpress (using varnish + apc + w3tc): Do the statistics get updated when the data is being retrieved from the cache?

If the data is served to the client from the varnish cache, does it still get registered as a hit in the statistics (could be derived from nginx logs or might be google analytics)? I believe if the apc doesn't affect the statistics as it caches only…
aste123
  • 121
  • 1
  • 4
0
votes
1 answer

Installing ElastiCache Cluster Client on PHP AWS Elastic Beanstalk (without creating resource)

Elastic Beanstalk does not, by default, install the ElastiCache Cluster Client PHP module. This is needed to connect to an ElastiCache node cluster. Reading around, most of the instructions relate to creating an ElastiCache resource (which I assume…
0
votes
2 answers

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 check ---> Package php53u-pecl-memcached.x86_64…
0
votes
2 answers

nginx does not seem to load memcached module for php

I have an Ubuntu machine with nginx and memcache running, and I'm trying to use PHP with Memcached. I'm getting Fatal error: Class 'Memcached' not found. The ini file is loaded from /etc/php5/fpm/php.ini, and all other additional .ini files are…
shyam
  • 187
  • 3
  • 13
0
votes
2 answers

Compiling libmemcached Fails on Centos

I am trying to compile libmemcached on Centos 6.4 with gcc 4.8.2. I've run configure which gives me: Configuration summary for libmemcached version 1.0.17 * Installation prefix: /usr/local * System type: unknown-linux-gnu …
Devin Dixon
  • 161
  • 1
  • 5
0
votes
3 answers

how to install php5-memcached in linux?

I've installed memcached server using yum. My server os info - Linux version 3.8.4-x86_64-linode31 (maker@build) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Mon Mar 25 16:00:34 EDT 2013 But when i try to install php5-memcached using yum, it says…
codegeek
  • 131
  • 1
  • 2
  • 9
0
votes
2 answers

nginx returning error 502 when get not exist key on memcached

I use nginx 1.2.3(php-fpm) php 5.4.7 pecl memcached 2.1.0 memcached 1.4.15 If memcached service stops or gets a not found key, nginx returns 502 error and in error_log I see: 2013/11/19 17:37:04 [error] 3972#0: *554345 recv() failed (104: Connection…
ooghry
  • 1
  • 2
0
votes
1 answer

How i can setup a nginx cache strategy that first try amazon s3, then memcache and do a fallback on miss?

i have a large site with lot of pages that almost never change, right now i am using two memcache servers (amazon elasticache), but this its really expensive. Thats why for this files that barely never change i want to upload them to amazon s3 and…
Tim
  • 175
  • 8
0
votes
1 answer

4 Magento Requests per second = 210 mbit memcache bandwith?

After searching serverfault for similar questions without success, these are my numbers for one magento instance, running on multiple servers: After varnish about 4 requests per second hit the webservers The magento cache is configured to use one…
Karsten
  • 318
  • 3
  • 11
0
votes
2 answers

Memcached concurrency w/ lighttpd php

I'm having an issue with memcached. Not sure if it's memcached, php, or tcp sockets but everytime I try a benchmark with 50 or more concurrency to a page with memcached, some of those request failed using apache ab. I get the (99) Cannot assign…
Lom
0
votes
1 answer

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 memcached-1.4.15 from the source and set the limit_maxbytes…
Hirantha
  • 11
  • 4
0
votes
1 answer

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 be able to find it with locate. Both didn't work…
Noam
  • 129
  • 1
  • 7