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
2 answers

Protecting direct access to port 11211 via a browser (memcached)

When I recently discovered about accessing ports via your browser at a domain level. Example, I accessed my domain at port 11211, I got an output of this: ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR Is there any security precautions I…
MacMac
  • 2,061
  • 10
  • 31
  • 38
0
votes
2 answers

Problems installing memcached

I am trying to follow the instructions here to install Memcached on a CentOS machine, and I'm not having much luck. The instructions say to first enable rpmforge repository as follows: rpm -Uhv…
Tola Odejayi
  • 334
  • 1
  • 4
  • 19
0
votes
1 answer

Memcached server: Is it a good practice to point two server urls to the same server?

I have a system where there are connections to a memcache server from several different files and servers. I would like to stay with one server but keep the option of increasing the number of memcache servers (for periods of of high traffic). My…
Niro
  • 1,401
  • 4
  • 20
  • 36
0
votes
2 answers

How to optimize TCP / IP stack in Linux?

Currently I noticed there are about 15K open connections to localhost. It is mainly connecting to Memcached. I am clueless where I should start to optimize TCP/IP stack. Memcached support UDP, but the PHP library doesn't support it. The server has…
mary
  • 9
  • 3
0
votes
1 answer

Choose which memcache version

For memcached server we are running on version 1.4.5, and the application is built with PHP 5.3.6 and memcache (http://pecl.php.net/package/memcache) version 3.0.5 Currently we have 2 memcached pools, each pool currently have 3 memcached servers in…
forestclown
  • 945
  • 4
  • 15
  • 25
0
votes
3 answers

Close port 1121

How can I open port 1121 for specified ips? I have memcache installed, and I need to access to memcache from another server for this in /etc/memcached.conf I set my ip -l 192.0.0.106. But after this anyone can get access to my memcache server via…
Dmitro
  • 13
  • 1
  • 3
0
votes
2 answers

Pros and cons of one vs several memcached instances on the same server

Possible Duplicate: Memcached - one large instance vs many smaller I know this might depend on my specific scenario but if possible let's analyze it in general :) I wonder if using 6 memcached instances of 10MB would be better than having a…
Claudio Redi
  • 121
  • 7
0
votes
1 answer

When set SESSION_ENGINE to memcached, Django website halts

I have set up memcached in Django using Pylibmc binding: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', 'LOCATION': ['10.241.1.1:11211', '10.241.1.2:11211',] } } I…
Yifu
  • 1
  • 2
0
votes
2 answers

Multiple Magento web servers, single instance memcache issues

I have two web servers with a Magento instance on both. Each shares the same httpd.conf, php.ini and my.cnf, along with local.xml and config.xml magento configuration files. I have another server that stores both the shared DB and shared Memcache…
mr-sk
  • 101
  • 1
  • 3
0
votes
1 answer

Nginx+PHP-FPM+APC+Varnish+Memcached: High Mem/Swap consumption?

I've got running a VPS at Linode with 1024 MB RAM, Ubuntu 11.04 and Nginx+PHP-FPM+APC Varnish+Memcached active. I've setup a couple of test blogs with WordPress 3.2.1 and everything works, and the performance tests seem promising: # ab -n 1000 -c…
javipas
  • 1,332
  • 3
  • 23
  • 38
0
votes
2 answers

Memcached and Mysql architecture

Right now we have 2 servers. webserver + memcached mysql server the mysql server is a new and a strong server and it is not being utilized fully. I was debating if I should migrate the memcached to the mysql server or If I should order a seperate…
Alex
0
votes
2 answers

Why is Memcached not working with vBulletin?

I have Memcached configured and setup to with work with vBulletin 4.1.5 on a Gentoo Linux 32-bit Linode VPS. Memcached is started, includes/config.php is configured to use the memcache, and the site does load and operate normally; however,…
laebshade
  • 806
  • 5
  • 11
0
votes
1 answer

Optimizing Server

Let me lay it all out: Lamp environment Mysql is already optimized. I've got memcached setup I've got APC setup Traffic on these web servers is going to come in hard and fast, its not going to be spread out, think more 10,000 visitors …
Macgyver
  • 135
  • 4
0
votes
1 answer

Failover strategy for memcached

I am trying to understand how memcached works (newbie) to anticipate the sudden failure of a node using/offering memcached. I have a couple of questions to ask: i) If a have a system with 3 nodes offering 1 GB each, do I need to install the…
Jérôme Verstrynge
  • 4,787
  • 7
  • 24
  • 35
0
votes
1 answer

Storing cached files so they are accessible by more than one server

I want to start using multiple front-end Apache servers for my website. At the moment I store various HTML files in a caching directory, e.g. "/htmlcache/homepage.html" Obviously I don't want to re-cache these files on a per-server basis, I'd rather…
Jon M
  • 457
  • 1
  • 6
  • 11