Hi;
 
I have tested a few things with the directives and it seems like the system does not really behave as stated.  I am not sure if this has been discussed before.
 
WAITFORMAIL    30000
 
the description states:
 
decludeproc will wait before checking the \proc directory once empty for new messages.
 
About 3 hours ago our server saw a huge spike in emails all at once.. so I monitored how this directive works.
 
It appears that the WORK directory never gets emptied.  Since we have THREADS  30 I saw 60 emails pushed into the WORK directory at once.. the emails that got there first stayed there until all emails in the PROC directory were emptied.
 
In other words..
 
Emails were going into the WORK directory one a time keeping the total emails in the WORK directory constantly at 60.  Emails that were last to get in the WORK directory were the first to be processed.. So if 2000 emails were in the Proc directory - the earliest arrivals would go into the work directory and get out regardless of how many were already in the WORK directory.
 
An email that got in the WORK directory at 4:30 p.m. stayed there until the entire PROC directory was emptied at 6:00 p.m.
 
My expectation, based on what I read, was to see WORK directory empty itself and then bring new batch from PROC directory therefore making sure the emails that were there first would be the first ones going out - FIFO.
 
Am I wrong in what I expected?
 
Regards,
- Kami

Reply via email to