/etc/systemd/system/redis.service.d/limit.conf - CentOS Linux 8

This is the default example configuration of limit.conf provided by Redis. This config file was generated by Redis running on CentOS 8.

It is located under: /etc/systemd/system/redis.service.d/limit.conf

    # If you need to change max open file limit
# for example, when you change maxclient in configuration
# you can change the LimitNOFILE value below
# see "man systemd.exec" for information

[Service]
LimitNOFILE=10240

    
  

Config Details

Location
/etc/systemd/system/redis.service.d/limit.conf
Operating system
CentOS Linux 8
Length
7 lines
MD5 checksum
8ec06ebd82cf8bf35eb485ea68056123

Usage

Download the raw file with wget or curl

Wget

wget -O limit.conf.example http://exampleconfig.com/static/raw/redis/centos8/etc/systemd/system/redis.service.d/limit.conf

cURL

curl http://exampleconfig.com/static/raw/redis/centos8/etc/systemd/system/redis.service.d/limit.conf > limit.conf.example