Can you advise which version and have you tried isolating the problem - this is first time I hear for such an issue (and I have customers with 3y VR uptime with no issues)
Perhaps something is broken inside that VR, thus the excessive logging, etc? Best, On Wed, 9 Jun 2021 at 10:07, Rakesh Venkatesh <www.rakeshv....@gmail.com> wrote: > Hello > > I have an issue in the virtual router where conntrackd(conntrack-tools) is > populating /var/log/daemon.log a lot and because of that VR is running out > of disk space. Do you guys know how to prevent conntrackd from logging too > much? I manually changed the logrotate.conf to rotate every hour and retain > only few copies but thats a quick fix. Is there any better fix to avoid > this issue? In our setup the VR has 2GB disk and even that got filled up > pretty quickly. > > The logrotate config for daemon.log is present in /etc/logrotate.d/rsyslog > and I added > > /var/log/daemon.log > { > hourly > rotate 1 > missingok > notifempty > compress > copytruncate > } > > > The config present in /etc/logrotate.d/conntrackd is pointing > to /var/log/conntrackd-stats.log and so changing that config wont help. > > -- > Thanks and regards > Rakesh > -- Andrija Panić