mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 22:11:39 +02:00
etcd: use LimitNOFILE for etcd service
Docker and flannel already use these, and we've seen issues where etcd runs out of file handles. [marineam: not a sure-fire *fix* for etcd but should help 0.4.7 limp along]
This commit is contained in:
parent
531332bfca
commit
442fb9633c
@ -6,6 +6,7 @@ User=etcd
|
||||
PermissionsStartOnly=true
|
||||
Environment=ETCD_DATA_DIR=/var/lib/etcd
|
||||
Environment=ETCD_NAME=%m
|
||||
ExecStart=/usr/bin/etcd
|
||||
ExecStart=/usr/bin/etcd
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
LimitNOFILE=40000
|
||||
|
Loading…
x
Reference in New Issue
Block a user