limit systemd service limit systemd service under /etc/systemd/system create a directory <servicename>.service.dcreate a conf file under that directory 10-cpulimits.confinside the conf, add content [Service]LimitCPU=60 then systemctl daemon-reloadssytemctl restart