Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.7.x

Moxi connecting to a downstream server problem

1 reply [Last post]
  • Login or register to post comments
Wed, 10/12/2011 - 09:49
Troy
Offline
Joined: 10/12/2011
Groups: None

Hi,
I am trying to make failover memcached cluster with moxi:

/opt/moxi/bin/moxi -Z port_listen=11311,concurrency=1024,wait_queue_timeout=100,connect_timeout=100,connect_max_errors=4,connect_retry_interval=30000,downstream_conn_max=2,downstream_timeout=500 -z 11311=srv1:11211,srv2:11211,srv3:11211 -vvv

But when "srv1" is down, and client's request some keys, moxi say errors like that:

2011-10-12 20:40:42: (cproxy.c.1858) 52: assign_downstream, matched to upstream
2011-10-12 20:40:42: (cproxy.c.1932) 52: cproxy_forward prot 5 to prot 8
2011-10-12 20:40:42: (cproxy.c.1421) 52: cproxy_connect_downstream server_index 1 in 2
2011-10-12 20:40:42: (cproxy.c.3332) zacquire_dc, 127.0.0.1:11212:(null):(null):0, 5, 6825, (0)
2011-10-12 20:40:42: (cproxy.c.1911) 52: could not forward upstream to downstream
2011-10-12 20:40:42: (cproxy.c.2004) 52: upstream_error: END

and original request not proxified to next memcached server.

What I'm doing wrong?
Why client's requests not proxified to another downstream server?

Thanks,
Troy

Top
  • Login or register to post comments
Thu, 10/13/2011 - 09:23
alex
Offline
Joined: 08/29/2011
Groups: None

Hi,

I think you may need to configure your moxi with a different format for the server list. See here:
http://www.couchbase.org/wiki/display/membase/Standalone+Moxi+Component#...

-Alex

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker