Commit 0ed7d159 authored by godog's avatar godog

base: limit mtail.service memory

parent 77c9ee38
Pipeline #3277 failed with stage
in 4 minutes and 53 seconds
......@@ -8,6 +8,9 @@ Type=simple
ExecStart=/usr/bin/mtail -progs /etc/mtail -logtostderr -port 3903 -logfds 3
Restart=on-failure
User=mtail
# mtail can leak memory (https://github.com/google/mtail/issues/61) although
# limiting the cgroup seems to make Go happy
MemoryLimit=512M
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment