Slow MailScanner

DAve dave.list at pixelhammer.com
Tue Feb 13 21:11:03 CET 2007


Jay Chandler wrote:
> DAve wrote:
>> I highly recommend djbdns. You will need to install tcpserver but it 
>> is all very simple.
>> http://cr.yp.to/djbdns.html
>> http://cr.yp.to/daemontools/install.html
>> http://cr.yp.to/ucspi-tcp/install.html
>>
>> Once dbjdns is installed, follow these instructions.
>>
>> http://cr.yp.to/djbdns/run-cache.html
>>
>> That will get a simple dnscache running that will pretty much be 
>> bullet proof. We run it on all our servers, web, ftp, pop toasters, 
>> mail gateways, and media servers. It makes a considerable difference 
>> in DNS lookup times. It is light, simple, efficient, and code small.
>>
>> DAve
>>
> 
> The server I'd nominally use as a caching nameserver already runs 
> rbldnsd.  I suspect this would cause a conflict, correct?
> 

We install a copy on each server and replace the root servers entries 
with our own DNS servers. That way each server does it's lookups off our 
own DNS which is a bit quicker via our private network.

   PID USERNAME  PRI NICE   SIZE    RES STATE  C   TIME   WCPU    CPU 
COMMAND
40588 smmsp      98    0   273M   253M CPU2   0 415.9H 13.04% 13.04% 
milter-greylist
19620 root      113    0 27484K 26920K CPU3   3   0:03 52.47%  9.52% 
clamscan
19629 root      116    0 23068K 22448K RUN    1   0:02 54.97%  7.67% 
clamscan
16584 root       -8    0 31740K 30168K piperd 1   0:04  0.39%  0.39% 
perl5.6.2
16647 root        8    0 29296K 27888K nanslp 3   0:03  0.15%  0.15% 
perl5.6.2
19487 root        4    0  2696K  2132K connec 2   0:00  0.18%  0.15% 
sendmail
86396 Gdnscache  76    0  2588K  1916K select 2 698:49  0.05%  0.05% 
dnscache

It uses no resources to speak of yet makes DNS queries very rapidly. 
Especially where recurring queries for things like URIBL are concerned. 
DNScache will run locally on 127.0.0.1 in this manner.

DAve



-- 
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.


More information about the MailScanner mailing list