This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

/var/log/ filling up

Could anyone help me with this issue? My ASLrecently shut down because the log partition filled up so I compressed some old logs and set it to keep the logs for three months instead of a year. That immediately brought the size down to around 75% and it has been stable around that since. However, ASL sent me an e-mail every once in a while, saying that the log partition is full, even though I had set the first threshhold at 85%. And now over the past few days I have been getting this e-mail almost every hour!! Still everything is fine, with the partition still being around 75%. 

I have threshhold 1 set at 85%, threshhold 2 at 90% and 3 at 95%

Any ideas?

  Gísli


This thread was automatically locked due to age.
Parents
  • What you received before was a notification by the log subsystem of the ASL. This is configurable via the WebAdmin, but does only run and check at log rotation time.

    To cover the 24 hours between two checks (which might be too big if you get attacked with a DOS which fills your logs _fast_), we added a selfomonitor check. The selfmonitoring has a fixed threshold at 75% (INFO-153), it checks every minute, and indeed - you get that mail every hour.

    You can manually tune the selfmonitor settings via /etc/selfmonng.d/partitions.check : search for 
    [var_log_freeSpace] and tune the freespace percentage.
Reply
  • What you received before was a notification by the log subsystem of the ASL. This is configurable via the WebAdmin, but does only run and check at log rotation time.

    To cover the 24 hours between two checks (which might be too big if you get attacked with a DOS which fills your logs _fast_), we added a selfomonitor check. The selfmonitoring has a fixed threshold at 75% (INFO-153), it checks every minute, and indeed - you get that mail every hour.

    You can manually tune the selfmonitor settings via /etc/selfmonng.d/partitions.check : search for 
    [var_log_freeSpace] and tune the freespace percentage.
Children
  • Thanks a lot for a very quick response! Funny how these things seem to solve themselves right after you've asked for help. When I checked the log settings later that day it had deleted some old logs and was down to 57%. 
    But thanks a lot. I'll know what to do the next time my log partition goes over 75%.

      Gísli