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
4
votes
1 answer

How does php know what memcached node to look for its data in?

I am new to the world of Memcached clusters If I have a php web application that is using memcache - how does it does its hash and decide what node to check for a particular value to avoid having to check them all. Bonus: How can I easily add a…
ckliborn
  • 2,778
  • 4
  • 25
  • 37
4
votes
3 answers

Memcached and php error

I have install memcached and when I try a script test like this one : $memcache = new Memcache; $memcache->connect('127.0.0.1', 11211); echo $memcache->getVersion(); I recive the nest error : : Notice: MemcachePool::getversion(): Server 127.0.0.1…
4
votes
6 answers

Dividing memcached between sites?

If I end up having 4 or 5 medium sites on one server, I want to be sure that each one that requires memcached has at least an allotted space. Is there a simple way to do this? The only ways that come to mind would be to have separate processes on…
Matthew
  • 1,859
  • 4
  • 22
  • 32
4
votes
1 answer

Confused about caching solution: MemCache, Varnished, mod_cache, else?

I have a very heavy site in my server. The load of the server is always about 30-50 and sometimes it become even 150 and server work really hard. I'm looking for a caching solution that can increase performance of server and decrease the server…
bman
  • 219
  • 4
  • 13
4
votes
5 answers

Memcached problems "failed to listen on TCP port 11211"

I just installed memcached on my Mac OS X 10.6.8. It installed perfectly and when I type in memcached in Terminal I get this: failed to listen on TCP port 11211 tcp listen: Address already in use And I have a script in my localhost that contains…
MacMac
  • 2,061
  • 10
  • 31
  • 38
4
votes
2 answers

Does Memcached support IPv6

Has anyone used Memcached with IPv6? Can you provide any configuration tips, gotchas, or mention any stability issues you've had?
amateur barista
  • 498
  • 3
  • 7
  • 21
4
votes
2 answers

Memcached is not launching

I just installed memcached and the memcache pecl extension. Now randomly I cannot get it to start. When I run service memcached start I get this: Starting memcached: chown: `memcached\r': invalid user to switch toe user memcached [FAILED] What is…
Petrus
  • 125
  • 1
  • 2
  • 5
4
votes
2 answers

Can I use apache2 and memcache in same server?

I am really new to server development. I have a server (Server version: Apache/2.4.41 (Ubuntu)) for Django and it's running on apache2. I want to use Memcache for a large queryset. I just wanna use the following Django future: CACHES = { …
Murat Demir
  • 151
  • 5
3
votes
0 answers

Memcached fails/crashes every few hours

I have a CentOS 7 server with Memcached. There are a lot of requests, and usually after a few hours, the memcached daemon crashes. I always restart the service, but it crashes again a few hours later. The /var/log/memcached.log file is empty. These…
Andres SK
  • 238
  • 3
  • 7
  • 22
3
votes
8 answers

MemCached on Windows x64

This question has previously been asked, but that was a year ago and I wanted to know if there had been any developments since then. Basically we'd like to use a MemCached Server on a Windows Server 2008 R2 machine... which is only x64, obviously. I…
Django Reinhardt
  • 2,286
  • 3
  • 38
  • 58
3
votes
1 answer

PHP's MemcacheD extension DLL for Windows

On my PHP 5.6 site I have been using the Memcache extension to interface with the memcached daemon. As the extension has a matching DLL, it meant I could deploy it on my Windows dev machine as well and all was good. This extension has been abandoned…
BeetleJuice
  • 411
  • 2
  • 4
  • 12
3
votes
3 answers

If I make a request to my server's IP address, will it be the same as using 127.0.0.1, or slower?

I have application servers with memcached running on them. What will happen if I make a request to memcached on 10.243.98.5, which just happens to be the originating server? Will it use the same fast-path tcp/ip stack as 127.0.0.1, or would I get…
Eloff
  • 137
  • 8
3
votes
0 answers

Memcached: Keys being deleted after specific number of items inserted

I'm debugging a php script which is saving data in memcache as a way to warmup an application. This script only makes set calls to save data into memcache, and after a specific number of entries being set, the first items inserted start to disappear…
3
votes
3 answers

Issues Installing PHP Memcache module

I am trying to install memcache on my VPS. When I type $ pecl install memcache I get this error checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log'…
smith
3
votes
1 answer

Memcached in Munin

I tried to configure the munin to load the memcached plugin. But the memcached plugin wont show up when I add the --suggest to the munin-node-configure command. But I appear when I do not add that xtra command. I have added this to the…
Eugene Lim
  • 35
  • 5