Guest User!

You are not Sophos Staff.

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

log filling up on Astaro HA /var/log/reporting

I receive this error:

Log Disk is filling up - please check. Current usage: 97%

-- 
HA Status          : HA SLAVE (node id: 1)



On the master:

 fw:/var/log/reporting # du -sh pgsql/*
7.4G    pgsql/24580
4.0K    pgsql/PG_VERSION
4.0K    pgsql/pgsql_tmp
 fw:/var/log/reporting # 


On the slave :
 fw:/var/log/reporting # du -sh pgsql/*
27G     pgsql/16519
4.0K    pgsql/PG_VERSION
4.0K    pgsql/pgsql_tmp
 fw:/var/log/reporting # 

How to purge this data on the slave and why the slave has not the same data.

Thanks

Arnaud


This thread was automatically locked due to age.
Parents
  • Arnaud, Just last Tuesday, our V7.305 Astaro had a similar problem.  It was instantly resolved by rebooting.  It is unclear why this occurred.

    It never happened before, but the growth started again yesterday, so I just rebooted it again. 

    Cheers - Bob
  • Hi, Bob; Arnaud...
     
    I'm seeing this on one of my client's boxes. Uptime is 101 days. It was running 7.305 (I just bumped it to 7.306). I'm hesitant to start rebooting it, though I have temporarily trimmed the number of days to keep logs from 30 days to 20. So far, I'm not seeing much improvement (it will take time to purge the old logs). The log volume is 4.7GB, and currently 91% used.
     
    From a terminal, I'm seeing (edited for brevity):

    total 70300
    40180 -rw-r----- 1 root log  41098924 Feb 24 20:00 http.log
    13388 -rw-r----- 1 root log  13688251 Feb 24 20:03 ipsec.log
    10216 -rw-r--r-- 1 root root 10441728 Feb 24 19:55 wtmp
     3972 -rw-r----- 1 root log   4063108 Feb 24 20:03 smtp.log
      704 -rw-r----- 1 root log    713495 Feb 24 20:03 system.log
      640 -rw-r----- 1 root log    651113 Feb 24 20:03 confd.log
      364 -rw-r----- 1 root log    366412 Feb 24 19:59 packetfilter.log
      216 -rw-r----- 1 root log    213350 Feb 24 19:55 named.log
      192 -rw-r----- 1 root log    191770 Feb 24 20:03 up2date.log
       88 -rw-r----- 1 root log     84820 Feb 24 20:03 selfmon.log
       60 -rw-r----- 1 root log     53785 Feb 24 20:03 httpd.log
       28 -rw-r----- 1 root log     26066 Feb 24 19:50 openvpn.log
       16 drwx------ 2 root root    16384 Jan 31  2008 lost+found
       16 -rw-r----- 1 root log     13952 Feb 24 19:50 mdw.log
       12 -rw-r----- 1 root log     11777 Feb 24 19:55 notifier.log
        8 -rw-r----- 1 root log      8136 Feb 24 19:55 logging.log
        8 -rw-r----- 1 root log      4631 Feb 24 19:50 fallback.log
    [...]
    /var/log/reporting/adbs:
     
    total
  • Quick follow-up:

    Though I did not notice this earlier, the release notes for 7.305 indicate:

    News:
    - Improved overall database stability
    - Improved log cleaning process

    I'm thinking that something may have happened with 7.305 (the update was posted 13 November, 2008; I don't recall when I applied it to this particular box) which caused the condition...

    Just some more to add to the mix.

    Cheers.
  • All I can tell you, Lewis, is that the only place I saw logs with withis problem was on our own Astaro and on none of our clients.  I rebooted two, maybe three, times and that was the end of it.  I have no idea what happened.
  • Interesting... 
     
    Well, if it's only two or three times, I may give it a whirl. Thanks for the follow-up, Bob. I'll check our other clients, but so far, as in your case, only one (our own boxes look fine).
     
    Weird.
     
    Cheers.
Reply Children
No Data