Mailscanner generated duplicate message.
Julian Field
MailScanner at ecs.soton.ac.uk
Mon Dec 24 16:07:12 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alex Broens wrote:
>
>
>
>
> On 12/24/2007 3:23 PM, Mark Sapiro wrote:
>> Alex Broens wrote:
>>> probably totally irrelevant yet got a hunch...
>>>
>>>
>>> what are your settings in MailScanner.conf for
>>>
>>> Queue Scan Interval
>>>
>>> Max Unscanned Messages Per Scan
>>>
>>> Max Unsafe Messages Per Scan
>>
>>
>> Queue Scan Interval = 6
>>
>> Max Unscanned Messages Per Scan = 30
>>
>> Max Unsafe Messages Per Scan = 30
>>
>>
>>> Could it be you're seeing a race condition between scanning threads?
>>
>>
>> This is exactly what the problem seems to be, but I don't know what to
>> do to prevent it or what I could have done or omitted to cause it.
>>
>> I suppose I could set
>>
>> Max Children = 1
>>
>> but that seems extreme, and it seems if it were necessary, more than
>> just me would be seeing this problem.
>
> Single CPU:
>
> Max Children = 5
>
> Dual:
>
> Max Children = 8
>
> (keep the box relaxed till you get the stuff to process)
>
> Pls try:
>
> Queue Scan Interval = 15
>
> Max Unscanned Messages Per Scan = 5
> Max Unsafe Messages Per Scan = 5
>
> You may need to tweek "Queue Scan Interval" to your box's perfomance
>
> my rule of thumb:
>
> Queue Scan Interval = thread_count + 3
>
> keep us posted
>
> h2h
>
> Alex
>
I've gone to quite some lengths to stop problems like this, and would be
very interested in working out what might have caused it. The child
processes should not be able to grab each other's messages, so unless a
problem has arisen with the recent code for handling Postfix milters
(which I didn't write all of) this really should not be possible. It
never used to be a problem, which does seem to point a bit towards the
milter handling code.
I don't really have the time required to go through all that code I
didn't write looking for possible problems of this nature (it's a far
bigger job than just reading the code); I will have to rely on the
author of that bit of code to do it. Sorry about that, but work (my
bill-paying day job at the University) has been pretty busy recently.
But even so, I'm always open to bribes of any nature :-)
Happy Christmas!
Jules
- --
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.7.0 (Build 1012)
Comment: Use Thunderbird's Enigmail add-on to verify this message
Charset: ISO-8859-1
wj8DBQFHb9k0EfZZRxQVtlQRAm/DAJ4o1zApXAauaURkdkCSGK7OvnhJnACg0z6w
MlPoedROcxT4wJ2Oz2pfbLk=
=KJI5
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list