Continuos issues with Couchbase running under osx for development
Hey All,
I am having pretty annoying crashes of couchbase under osx almost constantly.
The environment is pretty simple:
+ Lion Macbook Pro with 8G of ram, and a SSD
+ Version: 2.0.0 community edition (build-730)
+ Three membase buckets, each sharing 256M of ram (I have played with these values a bit)
Whats happening:
+ Couchbase refuses connections for clients to the memcached ports, and throws a java exception
__EXCEPTION__:com.couchbase.client.vbucket.config.ConfigParsingException: Number of buckets must be a power of two, > 0 and <= 65536 at com.couchbase.client.vbucket.config.DefaultConfigFactory.parseEpJSON(DefaultConfigFactory.java:135) at com.couchbase.client.vbucket.config.DefaultConfigFactory.parseJSON(DefaultConfigFactory.java:95) at com.couchbase.client.vbucket.config.DefaultConfigFactory.create(DefaultConfigFactory.java:82) at com.couchbase.client.vbucket.config.ConfigurationParserJSON.parseBucketFromJSON(ConfigurationParserJSON.java:125) at com.couchbase.client.vbucket.config.ConfigurationParserJSON.parseBuckets(ConfigurationParserJSON.java:102) at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:165) at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:125) at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig(CouchbaseConnectionFactory.java:139) at com.couchbase.client.CouchbaseClient.(CouchbaseClient.java:155) at com.couchbase.client.CouchbaseClient.(CouchbaseClient.java:124) at com.couchbase.client.CouchbaseClient.(CouchbaseClient.java:76)
+ In the web management console, the node is showing as down and when I try and rebalance it fails without giving any reason.
The logging interface, most of the time does not tell me anything informative, but today I found a new message.
Port server memcached on node 'ns_1@127.0.0.1' exited with status 133. Restarting. Messages: dyld: Symbol not found: _genhash_string_hash Referenced from: /Applications/Couchbase Server.app/Contents/Resources/couchbase-core/bin/memcached Expected in: /Users/michaellawson/Downloads/couchbase-server-community_x86_64_2.0.0-dev-preview-4/Couchbase Server.app/Contents/Resources/couchbase-core/lib/libmemcached_utilities.0.dylib in /Applications/Couchbase Server.app/Contents/Resources/couchbase-core/bin/memcached
There are also alot of:
Server error during processing: ["web request failed",
{path,
"/pools/default/buckets/advertBucket/nodes/127.0.0.1:8091/stats"},
{type,error},
{what,function_clause},
{trace,
[{lists,map,
[#Fun<menelaus_stats.26.31532668>,
undefined]},
{menelaus_stats,jsonify_hks,1},
{menelaus_stats,
'-handle_bucket_node_stats/4-fun-0-',7},
{menelaus_web_buckets,
checking_bucket_access,4},
{menelaus_web,loop,3},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]}] But I guess that is normal when the its not responding properly.
Also worth noting is that the setup of this node is scripted with the command line tools, and a restart sometimes gets it going for about 20 minutes before it dies again in a fireball. This has also been tested on other osx machines, with the same result.
Any ideas ?
memcached deamon also running?
we have kind of this errors also if we run memcached daemon and couchbase on the same server