cron が同時に多くのコマンドを起動すると、"user-runtime-dir@<USERID>.service: Failed with result 'start-limit-hit'." エラーが発生する
Issue
-
cron
がコマンドを実行すると、systemd
によって以下のようなエラーログが発生することがあります。Nov 30 10:05:01 rhel8 systemd[1]: user-runtime-dir@<USERID>.service: Failed with result 'start-limit-hit'.
Nov 30 10:05:01 rhel8 systemd[1]: Failed to start User runtime directory /run/user/<USERID>.
Nov 30 10:05:01 rhel8 systemd[1]: Dependency failed for User Manager for UID <USERID>.
Environment
- Red Hat Enterprise Linux 8 以降
- systemd
- cron、sudo、または sshd セッション
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.