mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-11 12:52:23 +00:00
agent: increase LimitNOFILE in the systemd service
Increase the NOFILE limit in the systemd service, this helps with running databases in the Kata runtime. Signed-off-by: Champ-Goblem <cameron@northflank.com>
This commit is contained in:
parent
3f5dc87284
commit
f4007e5dc1
@ -15,7 +15,7 @@ Wants=kata-containers.target
|
|||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=@BINDIR@/@AGENT_NAME@
|
ExecStart=@BINDIR@/@AGENT_NAME@
|
||||||
LimitNOFILE=1048576
|
LimitNOFILE=1073741824
|
||||||
# ExecStop is required for static agent tracing; in all other scenarios
|
# ExecStop is required for static agent tracing; in all other scenarios
|
||||||
# the runtime handles shutting down the VM.
|
# the runtime handles shutting down the VM.
|
||||||
ExecStop=/bin/sync ; /usr/bin/systemctl --force poweroff
|
ExecStop=/bin/sync ; /usr/bin/systemctl --force poweroff
|
||||||
|
Loading…
Reference in New Issue
Block a user