Prev | Current Page 769 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

8.3 Persistent Queue Runners with -qp
V8.12 sendmail introduced persistent queue runners as a solution to some of the
problems caused by periodic queue runners. Periodic queue runners are the result of
a normal -qinterval command-line switch, or a Runners= queue-group equate. Either
causes:
??? sendmail to fork one or more queue runners to process a queue or queue group
each interval
??? Every queue runner to open and read all the files in the queue to gather a list of
envelopes to deliver
Persistent queue runners avoid these problems because a single process is dedicated
to a queue, a queue group, or a grouping of queue groups (called a ???workgroup???). A
persistent queue runner is launched just like the periodic command-line queue runner,
but with the addition of a p character:
-qpinterval
The p causes one or more persistent queue runners to be launched, one per queue
group. One will be launched to handle your default queue group, and one more will
be launched to handle each queue group defined by a QUEUE_GROUP mc option.
Depending on the number of queue directories in each, these can be combined into a
single workgroup. When you have many queue groups, you can end up with multiple
workgroups controlling persistent runners.
Eachpersistent queue runner will sleep for interval. When it awakes, it reads all the
files in the queues that belong to its workgroup, and sorts all the envelopes it finds
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc.


Pages:
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781
rury kondensacyjne życzenia z okazji urodzin pozycjonowanie Tango Olsztyn bajka