On Wed, May 22, 2013 at 01:53:15PM +0300, Selcuk Yazar wrote: > we have Postfix with LDAP backend , everything is working good but i think > we have some performance issues , but i can't sure :/ ( Our mailbox > folders are located Storage Drive mapped at Redhat Enterprise) > > > Every 5.0s: ./qshape.pl
Running qshape every 5s is too often. Qshape is disk intensive. Run it every 5 minutes or so. > > Wed May 22 13:37:53 2013 > > T 5 10 20 40 80 160 320 640 1280 1280+ > TOTAL 25 25 0 0 0 0 0 0 0 0 0 > our domain name 24 24 0 0 0 0 0 0 0 0 0 > u-picardie.fr 1 1 0 0 0 0 0 0 0 0 0 > > above is watch command results of qshape command after approx. 5 minutes > later results are below > > Every 5.0s: ./qshape.pl > > Wed May 22 13:41:20 2013 > > T 5 10 20 40 80 160 320 640 1280 1280+ > TOTAL 0 0 0 0 0 0 0 0 0 0 0 If your content filter is not very fast, bursts of mail will accumulate while they are waiting to be scanned. Then the queue becomes empty. You may also have deferred mail that is retried periodically. You logs have a more complete picture. To improve content filter performance, eliminate remote DNS lookups in the filter, or increate concurrency. If the problem is lack of sufficient CPU resources, try to find a more performant scanner or turn off optional scanning features you don't need. Since mail is not delayed for very long, there is no problem (certainly not with Postfix itself, but scanning could perhaps be tuned). -- Viktor.