Windows install failing to store items
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
Iain,
Can you please send the diagnostic report over.
Thanks
Bhawana
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
Iain,
Can you please send it to bhawana-at-membase-dot-com
Thanks
Sent now, thanks.
Iain,
How much disk space (total and available) do you have on the box?
Bhawana
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