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

Is t1.micro enough? Seeing random server dropouts

5 replies [Last post]
  • Login or register to post comments
Thu, 01/17/2013 - 11:25
cachvico
Offline
Joined: 06/21/2012
Groups:

Hello,

I have three nodes running version 2.0.0 enterprise edition (build-1976), on ec2 t1.micro.

I have a very small amount of data held in a single bucket with 2 replicas, and very small numbers of connections so there is no issue of load, but I'm seeing servers struggling to stay up with very high CPU load (beam.smp 70%+)

Should t1.micro be enough to run Couchbase?

Thank you,

Darren

Top
  • Login or register to post comments
Thu, 01/17/2013 - 12:35
cachvico
Offline
Joined: 06/21/2012
Groups:

I just noticed http://www.couchbase.com/forums/thread/high-cpu-usage-memcached-process-...

except as I said my high CPU usage appears to be beam.smp, not memcached, which was around 10%

Any thoughts? I can contribute my logs also if it would help.

Top
  • Login or register to post comments
Tue, 01/22/2013 - 10:48
tgrall
Offline
Joined: 09/05/2012
Groups: None

Hello,

Could you describe your configuration and application:
- Number of Buckets
- Number and size of the documentation
- Number of Design Document (Views)
- Type of usage when it failed

t1.micro is probably too small to run in production.

Feel free to upload the logs to our S3 server and drop me a MP with the location

Can you switch to a m1?

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
Tue, 01/22/2013 - 17:34
cachvico
Offline
Joined: 06/21/2012
Groups:

1 bucket, < 1000 documents, all < 0.5k in size, observed no usage (servers are idling) when failure occurs, repeatedly. In between failures, usage should have been no more than about 10 concurrent connections.

One question; is there a way to find out how many open client connections a server is holding? I'm running a wsgi webserver and celeryd queue and just want to make sure my connection pooling is working and not flooding the cb server with connections.

I don't have the logs any more but will start again with m1.large and see if the dropouts keep happening.

Thank you!

Top
  • Login or register to post comments
Wed, 01/23/2013 - 07:13
weichin
Offline
Joined: 01/21/2013
Groups: None

I'm going to say no: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts_micro_instan...
The problem is that the cpu availability varies dramatically and unpredictably (see the graphs on the above link). This is not "normal" VM behavior, and should not be used for acceptance testing of a product. Instead, use m1.small or larger.

I use a couple of t1.micro instances full-time. One is a web server; the other is an email/dns server. The load on the email server is getting a bit much for a t1.micro, due to increasing spam volumes (running spamassassin and greylistd). The DNS load is practially zero, and the average load on the web server is around 1%.

Top
  • Login or register to post comments
Wed, 01/23/2013 - 12:40
cachvico
Offline
Joined: 06/21/2012
Groups:

Makes sense - thanks for the info!

Might be worth putting a note to this effect in the docs :)

Darren

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