Can I get Memcached running on a Windows (x64) 64bit environment?

前端 未结 13 1237
一个人的身影
一个人的身影 2020-11-28 01:01

Does anyone know IF, WHEN or HOW I can get Memcached running on a Windows 64bit environment?

I\'m setting up a ne

相关标签:
13条回答
  • 2020-11-28 01:26

    I have an memcached-1.2.1 for win32 originally downloaded from here: http://jehiah.cz/projects/memcached-win32/ (but now for some reason it is a broken link).

    This is how I managed to run memcached for Win32 on Windows Server 2008 R2, 64 bit. memcached.exe -> properties -> Compatibility -> Run this program in compatibility mode for: Windows XP (SP 3). Notice that the user Uriel Katz mention in this discussion that this method restricted to 2GB memory of use.

    0 讨论(0)
  • 2020-11-28 01:26

    If this can help, I've done a wrapper based on a compilation of memcached 1.4.5 64-bits found through this page (direct link to NorthScale binary).

    It's a windows service and it works perfectly well in a production environment:
    https://github.com/eric-b/MemcachedService64

    0 讨论(0)
  • 2020-11-28 01:32

    You could always run multiple instances of 32-bit memcached processes on one box, allowing that machine to serve a total of > 2GB memcache space.

    0 讨论(0)
  • 2020-11-28 01:34

    FYI, I couldn't get the 64 bit version (from here http://labs.northscale.com/memcached-packages/) to install as a service until I ran memcached as administrator.

    I just went to the executable's properties, then the Compatibility tab, and checked "Run this program as an administrator" (There a ton of other ways to do this, but it seemed simplest)

    Then I was finally able to successfully run: memcached -d install

    Don't forget to start the service after it is installed too :)

    0 讨论(0)
  • 2020-11-28 01:36

    Are you sure that the 32-bit version doesn't just run on 64-bit Windows, without modification? Most things do.

    Failing that, have you actually tried just compiling it for 64-bit? A brief scan of a few Google Groups etc where people asked this same question suggests that that may be exactly the solution to this. I think you're probably overestimating the difference between 32-bit and 64-bit Windows (at least as far as compiling a native application goes).

    0 讨论(0)
  • 2020-11-28 01:39

    Dude, Codeplex is your friend -> check out this port of it. It used to have a 64bit release, but u can either download the latest and compile for 64bit (pretty easy) or check the previous releases.

    0 讨论(0)
提交回复
热议问题