Quantcast
Channel: How can we create two instances of memcached server in same server in different port? - Stack Overflow
Browsing all 8 articles
Browse latest View live

Answer by narasi for How can we create two instances of memcached server in...

In case someone else stumbles upon this question, there is a bug on the debian distribution of memcached (which means flavours like Ubuntu would also be affected)....

View Article



Answer by gohdan for How can we create two instances of memcached server in...

Simple solution to Centos 6 First copy /etc/sysconfig/memcached to /etc/sysconfig/memcached2 and write new settings to the new file. Then copy /etc/init.d/memcached to /etc/init.d/memcached2 and change...

View Article

Answer by Yuri Malov for How can we create two instances of memcached server...

Ok, very good answer, Tristan CHARBONNIER. Please replace code into file /usr/share/memcached/scripts/start-memcached: #!/usr/bin/perl -w # start-memcached # 2003/2004 - Jay Bonci # This script handles...

View Article

Answer by Tristan CHARBONNIER for How can we create two instances of...

The answer from David Dzhagayev is the best one. If you don't have the correct version of memcache init script, here is the one he is talking about: It should work with any linux distro using init. #!...

View Article

Answer by xiongjiabin for How can we create two instances of memcached server...

in /etc/memcached.conf you can just edit like below -l 192.168.112.22,127.0.0.1 must use comma between two ip address

View Article


Answer by Davyd Dzhahaiev for How can we create two instances of memcached...

First I used mikewied's solution, but then I bumped into the problem of auto starting the daemon. Another confusing thing in that solution is that it doesn't use the config from etc. I was about to...

View Article

Answer by mikewied for How can we create two instances of memcached server in...

Here's what memcached says the -l command is for: -l <addr> interface to listen on (default: INADDR_ANY, all addresses) <addr> may be specified as host:port. If you don't specify a port...

View Article

How can we create two instances of memcached server in same server in...

I tried to add in the way -l 11211 -l 11212 in memcached conf file. But it is just listening to first one i.e 1121

View Article

Browsing all 8 articles
Browse latest View live




Latest Images