There is currently a runtime issue using libevent 2.1 (Cygwin build) on old Windows versions : _WIN32_WINNT <= 0X601
*** fatal error - couldn't dynamically determine load address for 'QueryUnbiasedInterruptTime' (handle 0x7FEFD430000), Win32 error 127
see https://gitter.im/msys2/msys2?at=5ce7e6578f019114aeab45c0
So, I provide memcached with both libevent versions:
2.0.22
<= Windows 7 & cygwin x643.4.X
2.1.12
> Windows 7 & cygwin x643.5.X
Don't hesitate to test both of them on your system and give me some feedback because I didn't find a lot of topics on it!
-
Check your cpu supported instructions with CPU-Z
⏩ TLS support
- Ff you need tls support, just choose
*-tls.exe
version
⚠️ Only x64 libevent 2.1 is maintained
Older versions1.4.25. 1.4.33 1.4.35 1.4.36 1.4.39 1.5 1.5.1 1.5.2 1.5.3
are available under tag memcache-1.5.3...
-
x64
- ✅ 1.6.32: libevent
2.1.12
**_2024-10-21 **- cygwin
3.5.4
gcc13.3.1
openssl3.0.15
- cygwin
- ⏸️1.6.24: libevent
2.0.22
2024-02-29
- ✅ 1.6.32: libevent
-
x86
- ⏸️1.6.21: libevent
2.1.12
2023-07-03 - ⏸️1.6.21: libevent
2.0.22
2023-07-23
- ⏸️1.6.21: libevent
x64
- ☝️ cygwin
3.X.X
- cygwin1.dll
- ☝️ libevent
2.X.Y
- cygevent_core-2-X-Y.dll
- cygevent_extra-2-X-Y.dll
- cygevent_openssl-2-X-Y.dll
- cygevent_pthreads-2-X-Y.dll
- cygevent-2-X-Y.dll
- openssl
3.0.13
- cygssl-3.dll
- cygcrypto-3.dll
- zlib
1.3.1
- cygz.dll
x86
-
cygwin
3.3.6
- cygwin1.dll
-
☝️ libevent
2.X.Y
- cygevent_core-2-X-Y.dll
- cygevent_extra-2-X-Y.dll
- cygevent_openssl-2-X-Y.dll
- cygevent_pthreads-2-X-Y.dll
- cygevent-2-X-Y.dll
- openssl
1.1.1s
- cygssl-1.1.dll
- cygcrypto-1.1.dll
- zlib
1.2.13
- cygz.dll
- libgcc
11.3.0
- cyggcc_s-1.dll
-d install
is not anymore available. You might use nssm
to install memcached as a Windows service:
-
copy nssm-2.25.0.exe corresponding to your system arch in memcached folder or somwhere in a Windows
%PATH%
folder -
run theses command - changing absolute path
C:\memcached
corresponding to your confignssm-2.25.0.exe install memcached C:\memcached\memcached-avx.exe nssm-2.25.0.exe set memcached AppParameters "-vv -m 512 -I 256m" nssm-2.25.0.exe set memcached AppDirectory C:\memcached nssm-2.25.0.exe set memcached AppExit Default Restart nssm-2.25.0.exe set memcached AppNoConsole 1 nssm-2.25.0.exe set memcached AppPriority ABOVE_NORMAL_PRIORITY_CLASS nssm-2.25.0.exe set memcached AppStderr C:\memcached\logs\memcached.log nssm-2.25.0.exe set memcached AppStopMethodSkip 6 nssm-2.25.0.exe set memcached AppTimestampLog 1 nssm-2.25.0.exe set memcached DisplayName memcached nssm-2.25.0.exe set memcached ObjectName LocalSystem nssm-2.25.0.exe set memcached Start SERVICE_AUTO_START nssm-2.25.0.exe set memcached Type SERVICE_WIN32_OWN_PROCESS