On Thu, 30 Nov 2006 13:45:45 -0000 "tailuo2002" <[EMAIL PROTECTED]> wrote:
> My OS is Freebsd. my os brings all the guys to the yard, and im like, it's better than yours. > > opening a directory for reading and processing over the entries > > once, might take a few seconds. but thereafter the inodes are stored > > in whats called the inode cache, so future cycles will not consume > > so many cycles as a bulk of the work has already completed. > > Do you think that qmail works like this way (scan directories > periodly) ? qmail-smtpd calls qmail-send as soon as the mail is accepted. qmail-send then either stores the mail in a queue directory, which is hashed, with control files so that full directory scans are not required, or qmail-send succeeds with it's initial call to qmail-remote, or qmail-local which send mail to remote locations or local mailboxes. > > if you are breaking your mail server into chunks so that you have > > control/queue files in certain locations, that are not part of the > > incomming mail process, why not just execute the sending process > > from within the process that accepts the mail? would avoid having to > > store the mail for the first instance. > > If the process that accepts the mail can't work as what I want , it > should place the file in a directory, so I have to use another process > scan the direcoties later to retry. avoid scans. scans are exponential in their duration. -- Regards, Ed :: http://www.openbsdhacker.com just another java person Peanuts are allergic to Vin Diesel.
