Skip to content

Commit

Permalink
Use systemd memory control
Browse files Browse the repository at this point in the history
  • Loading branch information
RDruon committed Aug 5, 2024
1 parent dbdd115 commit b3cc413
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lustrefs-exporter/lustrefs_exporter.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Documentation=https://github.com/whamcloud/lustrefs-exporter
Environment=RUST_LOG=info
Restart=on-failure
ExecStart=/usr/bin/lustrefs_exporter
MemoryHigh=1750M
MemoryMax=2G

[Install]
WantedBy=multi-user.target

0 comments on commit b3cc413

Please sign in to comment.