[exim-dev] [Bug 972] File Already Exists in Spool Directory

Top Page

Reply to this message
Author: Simon Arlott
To: exim-dev
Subject: [exim-dev] [Bug 972] File Already Exists in Spool Directory
------- You are receiving this mail because: -------
You are on the CC list for the bug.


--- Comment #4 from Simon Arlott <bugzilla.exim.simon@???> 2010-04-16 15:24:35 ---

If two messages are created in the same SMTP session they will have the same
PID. If the delay to ensure the clock ticks is not working correctly then the
problem you're having would occur.

The kernel version you're using may be relevant. I've seen Linux doing some
very odd things with specific delays (e.g. waiting until X.000000 will
consistently not wake up on the second, but X.999999 will).

As this is a local delivery if the delay function returned immediately it would
be possible to have two deliveries occur before the generated ID changed.

exim_wait_tick() should verify that the given time has passed (although there's
nothing that can be done if time goes backwards) and sleep some more if

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