Re: Memcached+SASL going down after multiple request with wrong credentials.

2017-04-26 Thread Atul Waghmare
Hi Jack, 

I see the exported "MEMCACHED_SASL_PWDB" is not set as expected. If you 
look at your supplied logs, the memcached is still looking for the DB under 
/etc/sasldb2, which is wrong in your case. Try to echo the env variable 
MEMCACHED_SASL_PWDB and verify its really getting set to $HOME/

saslmemcached/memcached-sasl.db


Thanks,

Atul
.  

On Tuesday, April 25, 2017 at 5:16:10 PM UTC-7, Jack2498 wrote:
>
> Hello Team,
>
> I have followed these steps to compile & Instances working fine but it was 
> going down when our application trying to connect our sasl memcached 
> instances with wrong credentials.
>
> tar -xvf  memcached-1.4.36.tar.gz
>
> cd memcached-1.4.36
>
> ./configure --enable-sasl-pwdb --prefix=$HOME/memcached;make;make install
>
>   echo "user@hostname:pass" >memcached-sasl-db
>
>  echo "mech_list: plain" >memcached.conf
>
>  export MEMCACHED_SASL_PWDB=$HOME/memcached/memcached-sasl-db
>
>  export SASL_CONF_PATH=$HOME//memcached/memcached.conf
>
> ./memcached -S -B binary -vvv
>
>
> Can you please provide help me on this issue?
>
>
> Thank you,
>
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Memcached Binary protocol

2017-04-26 Thread Atul Waghmare
Hi there, 

I am facing one issue with memcached binary protocol. Whenever I force the 
memcached to use the binary protocol, my application get occasional 
timeouts and occasional success. The percentage of failure(set timeouts) is 
more than 80% when the memcached spawn with binary protocol . The moment I 
remove the binary option, the success rate is 100%.  

memcached - v1.4.36
libmemcached -v1.0.18

Any idea what may be wrong? 

Thanks,
Atul 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.