Multiple listen sockets
Wojtek Meler
wmeler at wp.pl
Thu Aug 23 10:24:27 UTC 2007
Hi there !
I've found in TODO:
* memcached to listen on more than one IP. mailing list request.
and created a patch.
It allows to listen both on one unix socket and multiple tcp/ip sockets.
Option -l can be repeated and may contain port number so
./memcached -l 127.0.0.1:1234 -l 127.0.0.1:1235
will cause memcached to listen on both sockets.
There is MAX_LISTEN_CONNS constant (in memcached.h) that limit number of
listen sockets.
Also -N option is introduced that disable network support (using unix
socket doesn't disable networking any more).
How about applying it ?
Regards,
Wojtek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multilistensocket.patch
Type: application/octet-stream
Size: 13525 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/memcached/attachments/20070823/83455577/multilistensocket.obj
More information about the memcached
mailing list