On Thu, 2010-12-23 at 11:59 +0800, Yaoxing wrote: > Hi all, > I'm looking for some help of postfix server configuration. hope this is > the right place to ask. > I have a mail server running iRedMail (which is based on postfix). It > sends mails to our subscribers every 4s. I think this doesn't seem to be > a very heavy load. however, there're likely 140,000 mails congesting > after several days' running. So I tried qshape to analyse the queue, and > found that almost all mails are congesting in incoming queue, while > active queue reaches it's limit of 20,000 mails. Mails rarely went to > deferred queue. I think this means something reaches its limitation. So > I checked the following features, and this is the result: > 1. CPU is not busy at all > 2. Almost 3GB memory left > 3. 3.2MB/s disk IO write, 0.01MB/s read. > 4. Less than 20 postfix process (while limitation is explicitly set to 100) > There seems to be nothing wrong (or did I miss anything?). Can anybody > provide some more information on locating the problem? > Any help is appreciated. >
If you have a lot of RAM you could increase the active queue size. Where are these mails getting delivered to ? Is they are going to the same destination then you may require to increase the default_destination_concurrency_limit If you are choking on I/O iostat can indicate that or else go to your spool directory and do a du -s * .. see if some directory is taking really too long to du Thanks Ram