Forum Discussion
yue_zheng1
Dec 13, 2024Cirrus
syslog-ng anf errdefsd service err
When executing the errdefsd command on the 15.1.10.5 command line, mcpd resources are consumed by 95% and the web page cannot be opened. What is the problem? The ltm log indicates that errdefsd keeps...
HarunT
Dec 16, 2024Cirrus
Hi yue_zheng1,
The reason could be...
- The errdefsd service is likely failing due to a corrupted or misconfigured log file, error definition file, or system logging configuration.
- The constant restarts of errdefsd could trigger cascading issues, causing the mcpd process to utilize excessive resources while trying to maintain stability.
- This could also lead to a feedback loop where syslog-ng and errdefsd interact incorrectly, generating an error storm.
Likely solutions....
- Clear Stale or Corrupted Logs: - cd /var/log
find . -type f -name '*.log' -size +500M -exec truncate -s 0 {} \; - - Check the Error Definition Files, - Review and validate the errdefsd configuration and error definition files -
- cd /var/log
find . -type f -name '*.log' -size +500M -exec truncate -s 0 {} \; - || Ensure the file is not corrupted. If needed, restore it from a backup. - Restart Services in Proper Order - Restart dependent services in this sequence -
- bigstart stop syslog-ng errdefsd
bigstart start syslog-ng errdefsd
bigstart restart mcpd
- bigstart stop syslog-ng errdefsd
- Verify System Logs - Use journalctl to check for specific errors causing errdefsd restarts -
- journalctl -xe | grep errdefsd
If these do not work, reboot your device in maintenance window.
Please let me know if it works.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects