[OpenSIPS-Users] Memcached non-blocking mode
Tim Burke
timdburke at gmail.com
Fri Dec 13 00:18:43 CET 2013
I seem to have had trouble using memcached module in 1.7 to write to a
remote instance where I see timeouts for a period of time where the target
vm seemed to be up but non-responsive.
Here's the code I'm using:
loadmodule "memcached.so"
modparam("memcached", "server","local=localhost:11211")
#the following is your other sip proxy
modparam("memcached", "server","remote=[remoteip]:11211")
...
This is where I'm using it:
cache_store("memcached_remote", "$var(slotID)", "$ci", 120);
This is the error I see in the log:
Dec 12 06:54:57 nvtxsip091 /usr/sbin/opensips[3277]:
ERROR:memcached:wrap_memcached_insert: Failed to insert: A TIMEOUT OCCURRED
Is there some way I can configure the module as non-blocking?
Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131212/b20dec8f/attachment.htm>
More information about the Users
mailing list