<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<BR>As for the file descriptors, I already added the following:<BR>
 <BR>
- in sysctl.conf : fs.file-max = 65535<BR>
 <BR>
- in /etc/init.d/pdns-recursor  <BR>
 <BR>
#!/bin/sh<BR># chkconfig: - 80 75<BR># description: pdns_recursor is a versatile high performance recursing nameserver<BR>ulimit -HSn 65536<BR><BR>
How can I know that the above settings are working? with squid for example, I can know by doing squidclient -p port mgr:info.... <BR>
 <BR>
Please advise.<BR>
 <BR>
Thanking you in advance<BR> <BR>
> Date: Sun, 6 Feb 2011 14:34:36 +0100<BR>> From: bert.hubert@netherlabs.nl<BR>> To: maroon_ibrahim@hotmail.com<BR>> CC: pdns-users@mailman.powerdns.com<BR>> Subject: Re: [Pdns-users] PDNS Recursor on Debian / Low performance !!!URGENT!!!!<BR>> <BR>> Hi!!!! Please se my answers below.<BR>> <BR>> On Sun, Feb 06, 2011 at 12:35:35PM +0000, Maroon Ibrahim wrote:<BR>> > Dear PDNS Admins/Users<BR>> > I have installed PDNS Recursor on Debian Lenny 64-bit with kernel 2.6.32 (downloaded the PDNS Recursore .deb from www.powerdns.com webpage) and install it using dpkg -i pdn_recursor_3.3.deb <BR>> > As for the setup, all went fine so far !!! <BR>> <BR>> Great!!!<BR>> <BR>> > But i ran queryperf -q 4000 -d queries (3million record) -l 120 and I noticed lots of query timed out and ended up with a very bad result almost 143 qps !!!! <BR>> <BR>> If you want to run with 4000 parallel, which is a lot, you'll need to add<BR>> more filedescriptors on Linux. This can be achieved by setting 'ulimit -n<BR>> 16384' before starting the recursor.<BR>> <BR>> Can you try to reproduce your problem with -q 1000 first?<BR>> <BR>> > Do I need to fine tune the kernel? or is there any tweaks in powerdns recursor i have missed ? do you recommend to manually compile powerdns recusor?? please advise <BR>> > it is really urgent <BR>> <BR>> In addition, if you run with this many parallel queries, please read<BR>> http://doc.powerdns.com/recursor-performance.html<BR>> <BR>> Especially this bit about iptables.<BR>> <BR>> Good luck!!!<BR>> <BR>> Bert<BR>                                           </body>
</html>