Questions tagged [memcache]

114 questions
1
vote
1 answer

How do I increase the curr_connections limit using memcache?

I am using a server with Centos 6.5 64 bits Kernel 2.6.32 and 64 GB RAM and 12 threads cores, and I cannot get increase the current connections used in memcache. This is my STATS output: # echo stats | nc 127.0.0.1 11211 STAT pid 356091 STAT uptime…
shakaran
  • 356
  • 1
  • 7
  • 19
1
vote
1 answer

memcache and memcached session not persisting

so I am having a problem with sessions persisting in an application, that is using the memcached php driver, while another existing application is using the memcache driver. On the server, I see both are installed I also see in the php config that…
Alexo
  • 11
  • 2
1
vote
0 answers

Why is memcache not functioning with elgg in debian 7?

I am moving a php website (built using elgg - www.elgg.org) from a CentOS server to a different Debian 7 server and have installed memcached + php5-memcache on both. I have recreated all the necessary setup steps that I am aware of on the Debian 7…
tunist
  • 53
  • 1
  • 9
1
vote
1 answer

Does PHP memcached client support prefix-based cache purge?

I'm looking for a simple answer to a simple question that is hard to search for. Does memcache support purging a subset of keys? Or is a purge call always going to flush the entire cache? More specifically, does PHP's memcached ("d" on the end)…
JDS
  • 2,598
  • 4
  • 30
  • 49
1
vote
1 answer

How do I configure Linux to use less memory for caching?

I have a follow up question to 377448, but not enough rep to comment there. Before I get dinged for asking the same dumb question, let me say I've been reading a lot of similar posts and answers regarding caching, and I understand what's going on…
CAB
  • 113
  • 6
1
vote
1 answer

PHP + Mysql and memcache or phpsessions

I currently manage a game that handles around 8K daily users, the current server setup is VPS: 16GB+8cores+ 160GBSSD. Handles 8K daily users that are generating 600K daily direct calls to the mysql DB; The situation is: The game is growing, and…
1
vote
1 answer

Configuring HAProxy with memcache with failover

I'm configuring a new set of servers for an existing Wordpress site, and it's been requested that memcache be available and made more resilient. The idea proposed is to have HAProxy send requests to one of the two servers; if that memcache instance…
1
vote
1 answer

Is ECC memory recommended for memcache?

I'm planning to buy new server for memcache/couchbase. Would you recommend using ECC memory for a memcache server, why/why not?
wlk
  • 1,713
  • 3
  • 14
  • 19
1
vote
2 answers

Memcached - i installed it on centOS and have it running. Will it auto run when i reboot?

I did this: sudo yum install memcached then sudo pecl install memcache then I restarted memcache (which actually only started it) with this: sudo /sbin/service memcached restart i have no idea if it will start when I reboot. How do i set that…
user144168
1
vote
0 answers

Is memcache impacting my performence negatively?

I am using pressflow 6 and NewRelic seems to suggest that memcache is infact hurting performance as shown below : My settings.php file : # Varnish reverse proxy on localhost $conf['reverse_proxy'] = TRUE; $conf['reverse_proxy_addresses']…
iTech
  • 355
  • 4
  • 15
1
vote
2 answers

Where to look if the website loses the user session?

Suddenly a few days ago I have noticed that in my website, when I complete a form of a place for example (POST) and then I do a redirect to view that place, the user session gets lost. If I refresh that page, I'm connected again. It happens also in…
fesja
  • 71
  • 8
1
vote
2 answers

How to install different versions of memcache with different versions of lampp

I need to use different versions of lampp (xampp for linux). I recently also need to use memcache with any version of lampp I might need to use. Everything is going right if I use the last lampp version 1.7.7 which contains PHP 5.3.8 I simply…
Luca Borrione
  • 755
  • 2
  • 9
  • 16
1
vote
3 answers

Would Memcached help in this scenario?

I work for a large internet site where people can share large pieces of text with each other. We store most information in InnoDB databases, but the actual pieces of text are stored somewhere in text based files. These text based files vary between…
Mr.Boon
  • 1,471
  • 4
  • 24
  • 43
1
vote
1 answer

How to debug/fix a php/apache segmentation fault while using memcache (redundant) for session storage?

os: debian squeeze (up2date) 2 apache mod php webserver 2 memcache server i have to apache mod_php nodes which use two memcache server for redundant session storage (used variant 3 from https://serverfault.com/a/165584).…
c33s
  • 1,515
  • 3
  • 21
  • 39
1
vote
1 answer

Memcached Cluster - better to have 3 smaller instances or 2 mediums ones?

Currently I have 2 small servers in an memcached cluster. We are approaching out limits with them and need to grow. What are the pros/cons or going adding another small instance compared with having 2 medium size instances?
ckliborn
  • 2,778
  • 4
  • 25
  • 37