After that single queue runner has read the queue,
it forks multiple child queue runners to process the queue, with each child sharing
the parent??™s queue information:
/usr/sbin/sendmail -qp10m
Here, the -qp causes one or more persistent queue runners to launch. One is
launched for each queue group, and will persist to run, sleeping 10 minutes between
each reading of the queue. When it awakes, it gathers a list of queue files and
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
11.3 Using Multiple Queue Directories | 407
launches multiple child processes to handle that list. After the last child has finished
delivery and exited, the parent sleeps again.
Even withqueue groups and persistent queue runners, you are encouraged to spread
queues across many directories and across many disks and controllers. This increases
parallelism and dramatically lessens the likelihood that any given queue will overfill.
11.3.4 Recover from a Full Queue
When a queue directory is exceptionally full, you will likely notice the problem only
when performance on your queue-handling machine becomes unusually sluggish. By
that time, however, a drastic measure, such as rebooting the server, might be the
only cure. Clearly, early detection is desirable.
Early signs that a queue is filling can be seen in the logging messages that sendmail
produces.
Pages:
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733