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

Windows install failing to store items

6 replies [Last post]
  • Login or register to post comments
Fri, 12/03/2010 - 04:50
iain
Offline
Joined: 12/03/2010
Groups: None

Hi,

I am new to membase and having problems storing items. I have been able to write some unit tests to reliably store items but when I implement it in our application it fails after about 200 store commands. I have noticed that at the same time it fails to store items, the web console monitors stop updating.

We are using membase-server-enterprise_x86_64_1.6.0.1_setup on 64-bit Windows Server 2008. Our code is .Net 3.5 and we are using Enyim.Caching.dll version v2.0.50727.

This is a snippet of how we are using the client:

   cache = New MembaseClient("default")
   cache.Store(Memcached.StoreMode.Set, key, newCacheItem)  

This is our config (Membase is installed on the local machine):

<membase>
  <servers bucket="default" userName="Administrator" password="password">
    <add uri="http://192.168.1.155:8091/pools/default" />
  </servers>
</membase>

This is the log4net output from when it fails:

Adding item to membase. key: ObjName:NormaliseStatsClass:ICBNormSnapID:23980FactorID:45UniSnapID23980LowerLt
Acquiring stream from pool. 192.168.1.155:11210
Socket 53cf0c4b-5a01-46b5-98e8-892a4228f826 was reset
Socket was reset. 53cf0c4b-5a01-46b5-98e8-892a4228f826
Key ObjName:StyleResearch.SRPA.Business.Objects.NormaliseStatsClass:ICBNormSnapID:23980FactorID:45UniSnapID23980LowerLt was mapped to 231
System.IO.IOException: Failed to read from the socket '192.168.1.155:11210'. Error: ?
   at Enyim.Caching.Memcached.PooledSocket.BasicNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
   at Enyim.Caching.Memcached.PooledSocket.Read(Byte[] buffer, Int32 offset, Int32 count)   at Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse.Read(PooledSocket socket)
   at Enyim.Caching.Memcached.Protocol.Binary.BinarySingleItemOperation.ReadResponse(PooledSocket socket)
   at Enyim.Caching.Memcached.Protocol.Operation.Enyim.Caching.Memcached.IOperation.ReadResponse(PooledSocket socket)
   at Enyim.Caching.Memcached.MemcachedNode.ExecuteOperation(IOperation op)
Releasing socket 53cf0c4b-5a01-46b5-98e8-892a4228f826Are we alive? True
Marking node 192.168.1.155:11210 as dead
Node 192.168.1.155:11210 is dead.
We have a standard config, so we'll recreate the node locator.Initializing the locator with the list of working nodes.
Replaced the internal state.
Acquiring stream from pool. 192.168.1.155:11210
Are we alive? False
Replaced the internal state.
Starting the recovery timer.
Timer started. 

Does anyone have any ideas why we are seeing this behaviour? Any help would be greatly appreciated.

Thanks,

Iain

Top
  • Login or register to post comments
Fri, 12/03/2010 - 06:40
iain
Offline
Joined: 12/03/2010
Groups: None

Also, I am seeing the following entries in the web console logs:

Request with path /pools/default/bucketsStreaming/default took too long to execute: 95096 ms.

Server error during processing: ["web request failed", {path,"/pools/default/buckets/default/stats"}, {type,error}, {what,badarith}, {trace, [{menelaus_stats, '-samples_to_proplists/1-fun-3-',2}, {lists,zipwith,3}, {lists,zipwith,3}, {menelaus_stats,samples_to_proplists,1}, {menelaus_stats, build_buckets_stats_ops_response,3}, {menelaus_stats,handle_buckets_stats,3}, {menelaus_web_buckets, checking_bucket_access,4}, {menelaus_web,loop,3}]}]

I have access to the diagnostic report if that would be helpful.

Cheers,

Iain

Top
  • Login or register to post comments
Fri, 12/03/2010 - 11:36
bhawana@membase
Offline
Joined: 10/29/2010
Groups: None

Iain,

Can you please send the diagnostic report over.

Thanks

Bhawana

 

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
  • Login or register to post comments
Mon, 12/06/2010 - 03:38
iain
Offline
Joined: 12/03/2010
Groups: None

Hi Bhawana,

Thanks for you message. I have mailed the log to the community admin address; please let me know if I should have sent it to a different address.

Cheers,

Iain

Top
  • Login or register to post comments
Mon, 12/06/2010 - 10:33
bhawana@membase
Offline
Joined: 10/29/2010
Groups: None

Iain,

 

Can you please send it to bhawana-at-membase-dot-com

Thanks

 

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
  • Login or register to post comments
Mon, 12/06/2010 - 10:35
iain
Offline
Joined: 12/03/2010
Groups: None

 Sent now, thanks.

Top
  • Login or register to post comments
Mon, 12/06/2010 - 11:14
bhawana@membase
Offline
Joined: 10/29/2010
Groups: None

Iain,

How much disk space (total and available)  do you have on the box?

Bhawana

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

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