OP#179 add service control units for memory consumption
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
##### File created by Puppet - manual changes will be overwritten #####
|
||||
###############################################################################
|
||||
[Service]
|
||||
MemoryMax=<%= @ps_max_mem %>
|
||||
MemoryHigh=<%= @ps_high_mem %>
|
||||
MemorySwapMax=<%= @ps_swap_mem %>
|
||||
OOMScoreAdjust=<%= @ps_oom_score %>
|
||||
Environment="GOMAXPROCS=<%= @ps_max_procs %>"
|
||||
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/prometheus \
|
||||
--config.file=/etc/prometheus/prometheus.yml \
|
||||
|
||||
Reference in New Issue
Block a user