Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 29 Jun 2023 03:54:46.843 * monotonic clock: POSIX clock_gettime
                _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 7.0.11 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                  
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 1
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           https://redis.io       
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

1:M 29 Jun 2023 03:54:46.844 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 29 Jun 2023 03:54:46.844 # Server initialized
1:M 29 Jun 2023 03:54:46.844 # Fatal: Can't initialize Background Jobs.

Comment From: chrisinmtown

For what it's worth, here's the same issue reported for version 6: https://github.com/redis/redis/issues/12364

Comment From: flooopro

Same issue on RHEL8 with docker image and Redis Version 7.0.11 and 6.2.12 .

Downgrade to 7.0.10 and 6.2.11 and everything is running again.

Very interesting is the fact that the 7.0.11 and 6.2.12 Images worked with podman in WSL2 and with docker on RHEL7 without issues.

Maybe worth to note: Transparent Huge Pages are disabled on the RHEL8 hosts.

Comment From: gomesrup

This might, or might not be the problem, but when running on Docker <20.10.10, images with binaries linked against glibc>=2.34 will get EPERM on clone syscalls (which happen when forking or creating threads), because it was not included in the default seccomp profile until 20.10.10.

As I see it, latest minor versions (6.2.12 and 7.0.11) were rebuilt on a bookworm base image (see https://github.com/docker-library/redis/commit/7e4a3dd9d2644458a40700a96620f6f028887a25), which ships with glibc 2.34.

More details : https://github.com/moby/moby/issues/42680

Comment From: vpicavet

@gomesrup Thanks, I had a similar problem with redis 6:0 and 7.2 included in WebODM docker-compose. Upgrading to the latest ubuntu 23.04 did not solve the problem, but upgrading docker engine to version 24 thanks to official APT packages from the Docker project made everything ok.Since the docker.io package on Ubuntu 23.04 is still 20.10.08, your suggestion sounds right !

Comment From: ericjuice

I solved my problem running container in privilege mode . For example, add a sentence privileged: true in my docker-compose file and it worked !

Comment From: kehtabp

@ericjuice thanks, that works if you're using docker run just add --privileged