-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supervised systemd option not working with keydb 6 #226
Comments
Please note that all is well with the exact same configuration, system, etc when using forking mode without supervised.
Hence I am really thinking the issue is related to redis issue redis/redis#7217 |
Did you compile KeyDB yourself or use a docker image? I think its that we're not building with systemd as part of our docker images. |
Assigned to ben to compile with USE_SYSTEMD=yes |
I am using the "official" PPA from https://docs.keydb.dev/docs/ppa-deb/ for Debian buster |
Having the same issue here with Tried the steps listed in redis/redis#7217 but doesn't fix it unfortunately. It's strange because I'm running the exact same config setting and systemd service file with Here's my
It just times out when trying to run Was looking at migrating to KeyDB after reading the blog post on TLS performance. |
Changing the Type to simple gets it running as expected so it must be an issue with the $NOTIFY_SOCKET.
|
Hi all, We weren't passing in the right flags for SYSTEMD support, the fix is coming in the next release. |
Describe the bug
After updating my keydb installation to 6.0.13 (running on Debian), systemd keeps rebooting my keydb instances. After some investigation, systemd seems not to receive notification events anymore. Please note, I am running keydb with
Type=notify
in systemd andsupervised systemd
.It may be "simply" due to the issue described here redis/redis#7217 (see also redis/redis@129d14e). Which would be resolved by installing
pkg-config
andlibsystemd-dev
package on the build server.Log Files
The log is just fine and keeps doing this endlessly because of systemd keeps rebooting
To Reproduce
Running on
Linux mail01 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux KeyDB server v=6.0.13 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=5055ac929b8ff5fb
Systemd unit file
/etc/keydb/keydb-test.conf
After running
service keydb-test start
, the command hangs and finally times out. The keydb-test server is actually during his time running, but systemd is not aware and will restart it after the default timeout.The text was updated successfully, but these errors were encountered: