[FROG] Frrouting log files are kept open after logrotate?
Cloud Operations
operations at redmatter.com
Tue Sep 21 14:27:01 UTC 2021
Hi,
I've just noticed an issue on our production servers whilst investigating a
BGP problem that FRR doesn't close the (previous) log file when logrotate
happens apparently?
# lsof -n | grep bgpd
...
bgpd_ka 83886 83889 frr 317w REG 8,2 6820199
2490648 /var/log/frr/bgpd.log-20210829 (deleted)
bgpd_ka 83886 83889 frr 318w REG 8,2 4972381
2490637 /var/log/frr/bgpd.log-20210830 (deleted)
bgpd_ka 83886 83889 frr 319w REG 8,2 5836081
2490654 /var/log/frr/bgpd.log-20210908 (deleted)
bgpd_ka 83886 83889 frr 320w REG 8,2 4705731
2490650 /var/log/frr/bgpd.log-20210831 (deleted)
bgpd_ka 83886 83889 frr 321w REG 8,2 4873053
2490640 /var/log/frr/bgpd.log-20210901 (deleted)
bgpd_ka 83886 83889 frr 322w REG 8,2 3415500
2490625 /var/log/frr/bgpd.log-20210918 (deleted)
bgpd_ka 83886 83889 frr 323w REG 8,2 5120763
2490603 /var/log/frr/bgpd.log-20210903 (deleted)
bgpd_ka 83886 83889 frr 324w REG 8,2 4928209
2490677 /var/log/frr/bgpd.log-20210904 (deleted)
bgpd_ka 83886 83889 frr 325w REG 8,2 6398055
2490614 /var/log/frr/bgpd.log-20210914 (deleted)
bgpd_ka 83886 83889 frr 326w REG 8,2 4632644
2490643 /var/log/frr/bgpd.log-20210906 (deleted)
bgpd_ka 83886 83889 frr 327w REG 8,2 6893498
2490683 /var/log/frr/bgpd.log-20210910 (deleted)
...
Sending a USR1 signal had no effect.
This is FRR 7.5.1 on CentOS 7. Can someone else please check and confirm
this issue?
Thank you!
--
Natterbox Limited
Registered address: No 1 Croydon,
12-16 Addiscombe Road, Croydon CR0 0XT, UK
Company number: 06968249 VAT
number: 293 7488 48
This email and any files transmitted with it are
confidential, intended solely for the use of the addressee and are not to
be used, disseminated, forwarded, printed or copied by any other person.
Any views or opinions are solely those of the author and do not necessarily
represent those of Natterbox Limited unless specifically stated. If you
have received this communication in error, please accept our apologies and
promptly inform the sender by email or by telephoning the above number.
Please also immediately delete this message and any attachments from your
systems. Thank you. The files attached and/or any website linked to this
email may contain viruses which could damage your computer, Natterbox
Limited cannot accept liability for such damage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20210921/d2faf8a4/attachment.htm>
More information about the frog
mailing list