[exim-dev] [Bug 1322] New: Long running time condition in a …

Top Page
Delete this message
Reply to this message
Author: Reinaldo Matukuma
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 1322] Long running time condition in a router permits race condition between exim daemon and exim queue runner process, duplicating the delivery, [exim-dev] [Bug 1322] Long running time condition in a router permits race condition between exim daemon and exim queue runner process, duplicating the delivery, [exim-dev] [Bug 1322] Long running time condition in a router permits race condition between exim daemon and exim queue runner process, duplicating the delivery, [exim-dev] [Bug 1322] Long running time condition in a router permits race condition between exim daemon and exim queue runner process, duplicating the delivery, [exim-dev] [Bug 1322] Long running time condition in a router permits race condition between exim daemon and exim queue runner process, duplicating the delivery, [exim-dev] [Bug 1322] Long running time condition in a router permits race condition between exim daemon and exim queue runner process, duplicating the delivery, [exim-dev] [Bug 1322] Long running time condition in a router permits race condition between exim daemon and exim queue runner process, duplicating the delivery
Subject: [exim-dev] [Bug 1322] New: Long running time condition in a router permits race condition with exim queue runner process, duplicating the delivery
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1322
           Summary: Long running time condition in a router permits race
                    condition with exim queue runner process, duplicating
                    the delivery
           Product: Exim
           Version: 4.77
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: low
         Component: Routing
        AssignedTo: nigel@???
        ReportedBy: ramatukuma@???
                CC: exim-dev@???



I have a setup where all routers have conditions that sometimes are slow to
run, causing sometimes the race condition where the message already stay in
spool (files id-D and id-H already in spool/input/) when the queue runner
process read the queue for retry. As consequence, the delivery occasionally
duplicates, giving me this error message:

exim[31739]: 2012-11-21 15:08:26 1TbDmc-000821-JQ failed to unlink
/var/spool/msglog/c/1TbDmc-000821-JQ: No such file or directory

I saw that really the journal file doesn't exists anymore because the daemon
process (the process accepting smtp connections) remove it when finish to
route-and-deliver the message. But the queue-runner process has already started
delivering the same message (same id) and don't find the journal file when
finish.


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