Run scylla-jmx in a systemd slice (#79)
Scylla now supports server-defined systemd slices that are used to provide isolation between components. This patch adds scylla-jmx to the helper slice. This will guarantee that scylla-jmx does not use too much resources, influencing the server performance. Signed-off-by: Glauber Costa <glauber@scylladb.com>
This commit is contained in:
parent
fa00e84794
commit
27fed6136a
1
dist/common/systemd/scylla-jmx.service
vendored
1
dist/common/systemd/scylla-jmx.service
vendored
@ -11,6 +11,7 @@ Group=scylla
|
||||
ExecStart=/opt/scylladb/jmx/scylla-jmx $SCYLLA_JMX_PORT $SCYLLA_API_PORT $SCYLLA_API_ADDR $SCYLLA_JMX_ADDR $SCYLLA_JMX_FILE $SCYLLA_JMX_LOCAL $SCYLLA_JMX_REMOTE $SCYLLA_JMX_DEBUG
|
||||
KillMode=process
|
||||
Restart=on-abnormal
|
||||
Slice=scylla-helper.slice
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user