Category: aria

aria for logs, aria for logs, aria for networks, aria suite lifecycle

  • Aria for Logs root partition is full – a permanent fix!

    Aria for Logs root partition is full – a permanent fix!

    This is a commonly encountered issue with Aria for Logs and although the guidance from Broadcom helps, there isn’t a permanent solution provided and this is where I make use of a Cron job.

    What’s a cron job?

    Cronjob is the Linux equivalent of a Windows scheduled task. It can be used to automate any action that can be performed within the OS.

    I use the Crontab.guru expression scheduler to help create the schedule for what it is I want to do and then put the job into the local machines cronjob list.

    Configuring a cron job to remove .hprof files

    The syntax for the job is below and this invoke a task to search for .hprof files in /usr/lib/loginsight every Mon/Wed/Fri and then delete any that are older than 5 days.

    0 3 * * 1,3,5 find /usr/lib/loginsight -name "*.hprof" -type f -mtime +5 -delete
    1. SSH to the target Aria for Logs node as root.
    2. Open cron tab scheduler. The console will become a text entry window as below:
    crontab -e

    Paste the above cron job text into the scheduler file.

    4. Save, write and quit by entering:

    :wq

    5.Repeat this on all affected nodes in the Aria for Logs cluster.