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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to