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

Issues running Couchbase / memcached on Windows 8 RTM?

8 replies [Last post]
  • Login or register to post comments
Thu, 08/23/2012 - 22:03
reverentgeek
Offline
Joined: 08/23/2012
Groups: None

I know Windows 8 is not officially supported. However, has anyone else successfully run Couchebase 1.8 on Windows 8 RTM? I've had Couchbase running on previous versions of Windows 8, and on Windows 7. Our platform specifically uses memcached. We do our development on Windows 7, where everything runs fine. Here's what I'm seeing in the log:

Service memcached exited on node 'ns_1@127.0.0.1' in 0.45s

Port server memcached on node 'ns_1@127.0.0.1' exited with status 255. Restarting. Messages: Check failed: false && "Unable to patch because there is an unhandled branch " "instruction in the initial preamble bytes.": false && "Unable to patch because there is an unhandled branch " "instruction in the initial preamble bytes."

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

Top
  • Login or register to post comments
Sat, 08/25/2012 - 16:55
Lars
Offline
Joined: 08/25/2012
Groups: None

I'm having the same issue, on a domain-joined Windows Server 2012 RC (x64) (fully patched) with the firewall turned off for now (I'm in an isolated virtual environment :)), using Couchbase Community 1.8.1 Build 937.

Would really appreciate any suggestions - I've been looking through the manual on troubleshooting with little success.

Note that Couchbase 1.8.0 Community Build 55 seems to work fine. Couchbase 2.0.0 Preview 4 Community Build 724 works as well. (I'll work with 2.0.0 for now, and hope that a working + stable version is available by the time I have to go to production.)

Top
  • Login or register to post comments
Mon, 08/27/2012 - 23:23
dipti
Offline
Joined: 11/02/2011
Groups:

Hello folks,

Unfortunately, we currently don't support Windows 8. (http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-sta...)

The issue is being tracked with this bug in JIRA: http://www.couchbase.com/issues/browse/MB-6395. The problem is with the memcached process. At the moment there isn't a workaround for this issue.

Top
  • Login or register to post comments
Wed, 10/10/2012 - 11:32
wundram
Offline
Joined: 10/10/2012
Groups: None

I got stuck on this issue with the beta release of 2.0, after having no issue with the dev preview. So I dug a bit, and discovered that the problem wasn't exactly with the memcached code, but with the tcmalloc dll it was using. Since there really isn't any need for something like tcmalloc on windows where the low fragmentation heap already performs so well, I made a little shim library to take the place of the libtcmalloc_minimal-4.dll dll. The shim simply exports the __tcmalloc function, and then just calls plain old malloc. Putting the shim in the place of libtcmalloc_minimal-4 eliminates the issue, and I now have the 2.0 beta couchbase running just fine on the RTM build of Windows 8.

So there is a workaround. If anyone else needs this, I can send them the shim library.

-Chris Wundram

Top
  • Login or register to post comments
Wed, 10/10/2012 - 12:16
steve
Offline
Joined: 03/15/2010
Groups: None

Hi Chris,
That's _very_ cool! One issue that pops to mind is that the system uses some tcmalloc-only statistics functions in order to manage its overall memory utilization (such as to decide when to start ejecting values from memory). Not sure how just the __tcmalloc function export covers that, so I'm amazed it works! But, I'm not the expert in that area.

Steve

Top
  • Login or register to post comments
Fri, 10/19/2012 - 22:44
andrei
Offline
Joined: 10/19/2012
Groups: None

Hi Chris,

The groundwork sounds great , can you please share the new shim library.

Thanks

Andrei

Top
  • Login or register to post comments
Wed, 11/14/2012 - 11:24
sallgeud
Offline
Joined: 10/23/2012
Groups: None

Would you mind cross posting your fix information on their JIRA, so they can get to fixing it?

http://www.couchbase.com/issues/browse/MB-7016

Top
  • Login or register to post comments
Wed, 11/14/2012 - 11:41
wundram
Offline
Joined: 10/10/2012
Groups: None

I put the info in http://www.couchbase.com/issues/browse/MB-6395

Top
  • Login or register to post comments
Wed, 12/05/2012 - 07:25
zissop
Offline
Joined: 11/29/2012
Groups: None

Do we have an estimate when Windows 2012 x64 will be officially supported?

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