• 3 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle










  • ZebraGoose@sh.itjust.worksOPtoNextcloud@lemmy.world100% CPU load
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    Thanks!

    I checked crontab -l

    root@f6449ccdbac8:/#crontab -l do daily/weekly/monthly maintenance min hour day month weekday command */15 * * * * run-parts /etc/periodic/15min

    0 * * * * run-parts /etc/periodic/hourly

    0 2 * * * run-parts /etc/periodic/daily

    0 3 * * 6 run-parts /etc/periodic/weekly

    0 5 1 * * run-parts /etc/periodic/monthly

    And under daily i found logrotate:

    !/bin/sh

    if [ -f /etc/conf.d/logrotate ]; then . /etc/conf.d/logrotate fi

    if [ -x /usr/bin/cpulimit ] && [ -n “$CPULIMIT” ]; then _cpulimit=“/usr/bin/cpulimit --limit=$CPULIMIT” fi

    $_cpulimit /usr/sbin/logrotate /etc/logrotate.conf -s /config/log/logrotate.status EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/logger -t logrotate “ALERT exited abnormally with [$EXITVALUE]” fi exit 0

    But i dont understand what could be wrong 🤔 maybe something with the logfile which is in a bind mount?

    I will investigate further!