couchbasemodels.com

121 views
Skip to first unread message

Brad Wood

unread,
Jan 13, 2014, 4:58:28 PM1/13/14
to couchbase-8091
So, I just came across Jasdeep's http://couchbasemodels.com site which is pretty cool.  I see it is not officially supported by Couchbase, but I figured I would post here instead of mailing him directly just since the others on this list might be interested.

Jasdeep, I assume the code samples on your site are in Ruby since that's what the site is written in (I'm not a ruby dev myself so I don't quite recognize all the syntax).  What are your thoughts on letting the community contribute to your examples to add other languages to your site?  

I've only been browsing the site for a few minutes so I apologize if this is answered somewhere already, but are the code samples on GitHub at all?  Is there a way that examples could be maintained in multiple languages via a branching or folder mechanism so you could receive pull requests to add/update available platforms easily?

Also, check out http://runnable.com/.  They are a really cool site that lets you create runnable code samples in any language that people can run right from their browser.  They already have MongoDB examples on their site and I've pinged Tug and Ali already as well to look into the possibility of getting Couchbase examples up there.  It would be pretty cool to have a link on each couchbasemodels.com sample for people to actually play with runnable examples of your code samples.  

I just finished getting CFML set up on Runnable.com to create my own tutorials with it and you can read about my work on my blog: http://www.codersrevolution.com/blog/category/runnable

Great site!

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp 

ColdBox Platform: http://www.coldbox.org 

Jasdeep - @scalabl3

unread,
Jan 13, 2014, 5:10:53 PM1/13/14
to couchba...@googlegroups.com
This is a great idea. I made that site before I joined Couchbase actually, and the whole thing is in Github (https://github.com/scalabl3/couchbasemodels.com). I agree, it needs some love. I have another person that reached out to me as well about collaborating on it. 

Maybe we can for a small crew and make it a bit better. I only did it in Ruby because at that time I was doing things in Ruby, not because I don’t know other languages!

Most of those examples ended up being added to our docs conceptually, but not necessarily sample code for each language...

--
Jasdeep Jaitla
@scalabl3

--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/CALbQ1o%3DV0TLSuWPJXGu_S7xc9JhDnyJFw-cQmPCD9ncv0YK8Yg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Pablo Casado

unread,
Feb 7, 2014, 9:49:12 AM2/7/14
to couchba...@googlegroups.com
Hi guys,

I'm facing this problem I've never seen before related something call babysitter

I'm running Couchbase 2.1.0 on a single machine for doing some stress tests and it restarts every few minutes

These lines are on the logs:

1)
Port server ns_server on node 'babysitte...@127.0.0.1' exited with status 137. Restarting. Messages: Apache CouchDB 1.2.0a-1969a70-git (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
working as port


2)
Fri Feb 7 14:33:45.769091 UTC 3: (TwUsers) Total memory in memoryDeallocated() >= GIGANTOR !!! Disable the memory tracker...


3)
Port server ns_server on node 'babysitte...@127.0.0.1' exited with status 134. Restarting. Messages: Apache CouchDB 1.2.0a-1969a70-git (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
working as port
/opt/couchbase/lib/erlang/lib/os_mon-2.2.7/priv/bin/memsup: Erlang has closed. 
Erlang has closed

Crash dump was written to: erl_crash.dump.02-07-2014-12:58:57.28607
eheap_alloc: Cannot allocate 125380480 bytes of memory (of type "heap").



Am I running out of physical memory?

Thanks a lot

Pablo Casado
---
@hardlifeofapo
Skype: p.casado

Matt Ingenthron

unread,
Feb 7, 2014, 11:22:14 AM2/7/14
to couchba...@googlegroups.com
Hi Pablo,

Unfortunately this means you've hit a memory stats underflow issue.  It may have been fixed in 2.2.

Can you:
1) run a cbcollect_info?
2) upgrade to 2.2 using the offline method?

If it goes away, no reason to file an issue, but if it persists, please file at couchbase.com/issues

Thanks!

Matt

--
Matt Ingenthron
Couchbase, Inc.
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091.

Pablo Casado

unread,
Feb 7, 2014, 2:15:52 PM2/7/14
to couchba...@googlegroups.com
Hi Matt,

Thank you so much for your reply.

I've uploaded the generated file and the output of the command to https://s3.amazonaws.com/customers.couchbase.com/sisu_labs/

Hope this helps you, guys.

Pablo Casado
---
@hardlifeofapo
Skype: p.casado

Matt Ingenthron

unread,
Feb 7, 2014, 3:28:03 PM2/7/14
to couchba...@googlegroups.com
Hi Pablo,

No worries!  Question inline…

From: Pablo Casado <p.casad...@gmail.com>
Reply-To: "couchba...@googlegroups.com" <couchba...@googlegroups.com>
Date: Friday, February 7, 2014 11:15 AM
To: "couchba...@googlegroups.com" <couchba...@googlegroups.com>
Subject: Re: [Team 8091] Issue with "babysitter"

Hi Matt,

Thank you so much for your reply.

I've uploaded the generated file and the output of the command to https://s3.amazonaws.com/customers.couchbase.com/sisu_labs/


Did an upgrade  help?  I'm glad to get someone to look at it if not, but probably not a good use of time if it's a known/fixed bug.

Thanks in advance,

Matt



-- 
Matt Ingenthron
Couchbase, Inc.
Reply all
Reply to author
Forward
0 new messages