Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Random disconnecting errors with latest build

3 replies [Last post]
  • Login or register to post comments
Tue, 11/06/2012 - 04:28
Idan
Offline
Joined: 05/18/2012
Groups: None

Me and another guy having problems with the latest build on Ubuntu. Random Disconnecting errors, can't view documents, you can see the errors on this thread.

Top
  • Login or register to post comments
Tue, 11/06/2012 - 14:49
mikew
Offline
Joined: 03/14/2011
Groups:

I looked at the thread that you linked to and think I know what the issue is. Since you are using a micro instance you don't have a lot of memory. When you create your memcached bucket and everything starts running Couchbase quickly consumes whatever memory you have left over. This causes the os oom killer to take down the process that is consuming the most memory which it looks like is memcached. Error 137 means that the process was killed due to a fatal error, in this case signal 9, which is sigkill. I would recommend trying to use a larger ec2 instance if you are going into production, but for development on a micro instance you can just set up some swap space on the server.

Top
  • Login or register to post comments
Tue, 11/06/2012 - 23:30
Idan
Offline
Joined: 05/18/2012
Groups: None

What do you mean by 'swap space', do you mean assigning less memory space for couchbase. I thought that couchbase shouldn't fail on such situation - how can I prevent is from happening so couchbase can work with a micro instance too, MySQL never failed to work when I tested it on micro for development.

Top
  • Login or register to post comments
Wed, 11/07/2012 - 12:10
mikew
Offline
Joined: 03/14/2011
Groups:

Couchbase doesn't appear to be failing, your operating system is killing it. Even with any other application if someone or something sends sigkill to it it will crash. You can liken the situation to not having the appropriate resources that the application needs in order to run. You can get around this by enabling swap space which is described by the link below.

https://help.ubuntu.com/community/SwapFaq

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