[exim-dev] [Bug 728] New: SMTP listener keeping log file ope…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Haber
Dátum:  
Címzett: exim-dev
Új témák: [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days, [exim-dev] [Bug 728] SMTP listener keeping log file open for days
Tárgy: [exim-dev] [Bug 728] New: SMTP listener keeping log file open for days
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=728
           Summary: SMTP listener keeping log file open for days
           Product: Exim
           Version: 4.69
          Platform: Other
               URL: http://bugs.debian.org/476958
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Logging
        AssignedTo: nigel@???
        ReportedBy: mh+exim-bugzilla@???
                CC: exim-dev@???



one Debian exim user reports (see http://bugs.debian.org/476958) that
his exim SMTP listener process (the one running with -bd -q30m) keeps
/var/log/exim/mainlog open for days after log rotation:

|# ps auxww | grep [4]349
|102       4349  0.0  0.2  11756  2884 ?        Ss   Apr26   0:01
/usr/sbin/exim4 -bd -q30m
|# lsof -p 4349
|COMMAND  PID        USER   FD   TYPE   DEVICE    SIZE   NODE NAME
|[snippage]
|exim4   4349 Debian-exim    6w   REG      3,5  184728    128
/var/log/exim4/mainlog.1 (deleted)


Since Debian rotates mainlog daily, this means that the file wasn't
closed for at least more than 24 hours, after /var/log/exim4/mainlog
was rotated to /var/log/exim4/mainlog.1 and, the day later, was
compressed to /var/log/exim4/mainlog.2.gz and deleted.

I reported this on exim-users in May
(http://lists.exim.org/lurker/message/20080502.092655.fa909510.en.html), Tony
investigated and saw the same behavior on one of his sytems. Sander reported
that he sees the issue as well.

Unfortunately, investigations stalled after reaching that state.

Greetings
Marc


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email