Summary: | systemd floods its own logs and eats the all the CPU | ||
---|---|---|---|
Product: | systemd | Reporter: | higuita |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | freedesktop |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
higuita
2013-03-31 02:07:32 UTC
Could it be that your syslog-ng.service file is missing a "RestartPreventExitStatus=" line? if syslog-ng uses the exit values from sysexits.h it sould be: [Service] RestartPreventExitStatus=78 this will prevent systemd from restarting your service when it exits with code 78 (EX_CONFIG). see systemd.service(5) for more details Be that as it may, we can't really predict all the conditions that will cause $RANDOM_DAEMON to exit quickly, so systemd really should have some way of detecting at least the: start.... 5 seconds FAIL! case if it repeats more than $SMALL_INT times and Do The Right Thing. Defaulting to spamming the logs till drive space runs out just looks Stupid This should be fixed now, as as service failing conitnously will now propagate back to the socket unit that activates it. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.