Browse Source

Ajout conf sysctl

develop
Teddy Cornaut 4 months ago
parent
commit
9bfa3a41f5
2 changed files with 3 additions and 0 deletions
  1. 1
    0
      dicos/90_redis.xml
  2. 2
    0
      tmpl/redis_sysctl.conf

+ 1
- 0
dicos/90_redis.xml View File

@@ -2,6 +2,7 @@
2 2
 <creole>
3 3
     <files>
4 4
         <!-- System configuration -->
5
+        <file filelist='redis' name='/etc/sysctl.d/100-redis-tuning.conf' source='redis_sysctl.conf' mkdir='True' rm='True'/>
5 6
         <file filelist='redis' name='/etc/redis/redis.conf' mkdir='True' rm='True'/>
6 7
         <file filelist='redisSlave' name='/etc/redis/redis-slave.conf' mkdir='True' rm='True'/>
7 8
         <file filelist='redisCl' name='/etc/redis/cluster.conf' source='redis-cluster.conf' mkdir='True' rm='True'/>

+ 2
- 0
tmpl/redis_sysctl.conf View File

@@ -0,0 +1,2 @@
1
+
2
+net.core.somaxconn = 512

Loading…
Cancel
Save