[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #33850 [Core Tor/Tor]: log rotation for /var/log/tor/debug.log did not close handle to old file after compression
#33850: log rotation for /var/log/tor/debug.log did not close handle to old file
after compression
--------------------------+------------------------
Reporter: MaKoTor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------
Comment (by MaKoTor):
After rebooting the machine ~1.5 days ago, it starts happening again:
{{{
$ sudo find /proc/*/fd -ls | grep '(deleted)'
11271 0 l-wx------ 1 debian-tor debian-tor 64 Apr 8 14:12
/proc/509/fd/9 -> /var/log/tor/debug.log.1\ (deleted)
11272 0 l-wx------ 1 debian-tor debian-tor 64 Apr 8 14:12
/proc/509/fd/10 -> /var/log/tor/notices.log.1\ (deleted)
}}}
I will enable similar log configurations on other hosts with other linux
flavors and start tracking down if the problem is related to
/etc/logrotate.d/tor , tor itself or if it is a one-off on the currently
affected machine.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33850#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs