Re: Need to improve named performance

2012-11-18 Thread nudge
Sorry for arriving late and making points that might go without saying but... On Mon, Nov 12, 2012, at 05:23 PM, Ed LaFrance wrote: > Hello Alan - > > Of course you are right, my bad. > > Here's the entirety of my named.conf - there's nothing pertaining to > logging in here, so I guess that mea

RE: Need to improve named performance

2012-11-13 Thread Jack Tavares
@lists.isc.org] on behalf of Florian Weimer [f...@deneb.enyo.de] Sent: Sunday, November 11, 2012 13:46 To: Ed LaFrance Cc: bind-users@lists.isc.org Subject: Re: Need to improve named performance * Ed LaFrance: > Running BIND 9.3.6-P1-RedHat-9.3.6-16.P1.el5 on a quadcore xeon server >

Re: Need to improve named performance

2012-11-12 Thread Jeremy C. Reed
On Mon, 12 Nov 2012, Ed LaFrance wrote: > Currently I'm not using query logging, it's not in my options at all. I think "rndc querylog" was used to enable it (even if no corresponding logging configuration). You can use it again to toggle it off. "rndc status" will show if query logging is on

Re: Need to improve named performance

2012-11-12 Thread Ed LaFrance
The developer of some software we use has come up with this and it appears to work: logging{ channel error_log { file "/var/log/bind.log" versions 3 size 5m; severity error; print-time yes; print-severity yes; print-category yes; }; category default{ error_log; }; }; On 11/12/2012 8:49 AM, Davi

Re: Need to improve named performance

2012-11-12 Thread David Forrest
On Mon, 12 Nov 2012, Ed LaFrance wrote: Hello Alan - Of course you are right, my bad. Here's the entirety of my named.conf - there's nothing pertaining to logging in here, so I guess that means that 'log everything' is the default. I would only want to log critical named errors, so if anyone

Re: Need to improve named performance

2012-11-12 Thread Ed LaFrance
Hello Alan - Of course you are right, my bad. Here's the entirety of my named.conf - there's nothing pertaining to logging in here, so I guess that means that 'log everything' is the default. I would only want to log critical named errors, so if anyone has syntax they have my gratitude: opt

Re: Need to improve named performance

2012-11-12 Thread Barry Margolin
In article , Ed LaFrance wrote: > Hello Alan - > > Currently I'm not using query logging, it's not in my options at all. > Are you saying that named logging by syslog into /var/log/messages is > controlled by named.conf? Seems unlikely, I'd think it would be a > function of syslog.conf. I'm

Re: Need to improve named performance

2012-11-12 Thread Alan Clegg
On Nov 12, 2012, at 10:58 AM, Ed LaFrance wrote: > Currently I'm not using query logging, it's not in my options at all. Are you > saying that named logging by syslog into /var/log/messages is controlled by > named.conf? Seems unlikely, I'd think it would be a function of syslog.conf. > I'm t

Re: Need to improve named performance

2012-11-12 Thread Eliezer Croitoru
On 11/12/2012 5:58 PM, Ed LaFrance wrote: Hello Alan - Currently I'm not using query logging, it's not in my options at all. Are you saying that named logging by syslog into /var/log/messages is controlled by named.conf? Seems unlikely, I'd think it would be a function of syslog.conf. I'm trying

Re: Need to improve named performance

2012-11-12 Thread Ed LaFrance
Hello Alan - Currently I'm not using query logging, it's not in my options at all. Are you saying that named logging by syslog into /var/log/messages is controlled by named.conf? Seems unlikely, I'd think it would be a function of syslog.conf. I'm trying to learn more about it but I'm swamped

Re: Need to improve named performance

2012-11-12 Thread Alan Clegg
On Nov 12, 2012, at 10:23 AM, Ed LaFrance wrote: > I've been corresponding with several people on this issue but no one had > questioned that when I pointed it out. I don't think I'd seen the logging stanza, but yes, logging to syslog is a bad thing, and logging queries to syslog is even wors

Re: Need to improve named performance

2012-11-12 Thread Phil Mayers
On 12/11/12 15:23, Ed LaFrance wrote: I really don't need this kind of logging in the messages log. I can turn on query logging in the named.conf if I need more detail on named. I think the simplest thing would just be to have an exclusion in the syslog config for named. I confess some general i

Re: Need to improve named performance

2012-11-12 Thread Ed LaFrance
Hello Florian - You are my hero and new best friend. I stopped syslog: [root@ns1 lisinc]# /sbin/service syslog stop Shutting down kernel logger: [ OK ] Shutting down system logger: [ OK ] ...and all the problems cleared up instantl

Re: Need to improve named performance

2012-11-12 Thread G.W. Haywood
Hi there, On Mon, 12 Nov 2012, Ed LaFrance wrote: ... No idea on ip_conntrack. How do I check and if so, what setting should I try and how do I do it? Look for something like /proc/sys/net/netfilter/ip_conntrack_tcp_timeout_established and cat it to the terminal. It will just be a number (

Re: Need to improve named performance

2012-11-11 Thread Florian Weimer
* Ed LaFrance: > Thanks for chiming in. Named is PID 8349 in my case. Here's a snippet > of the output from strace: > [pid 8351] send(3, "<30>Nov 11 13:07:25 named[8349]:"..., 107, > MSG_NOSIGNAL) = 107 <0.015232> > [pid 8353] send(3, "<30>Nov 11 13:07:25 named[8349]:"..., 103, > [pid 8353]

Re: Need to improve named performance

2012-11-11 Thread Ed LaFrance
Hello - Thanks for chiming in. Named is PID 8349 in my case. Here's a snippet of the output from strace: [pid 8351] time( [pid 8352] <... sendmsg resumed> ) = 56 <0.000104> [pid 8352] recvmsg(515, {msg_name(16)={sa_family=AF_INET, sin_port=htons(38385), sin_addr=inet_addr("205.188.158

Re: Need to improve named performance

2012-11-11 Thread Florian Weimer
* Ed LaFrance: > Running BIND 9.3.6-P1-RedHat-9.3.6-16.P1.el5 on a quadcore xeon server > (3Ghz) with 2GB RAM. Named is being used only for rDNS queries against > our address space. You should really upgrade to the latest version on that branch (likely bind-9.3.6-20.P1.el5_8.5). > The bottom lin

Re: Need to improve named performance

2012-11-11 Thread Kevin Darcy
On 11/10/2012 1:39 PM, Ed LaFrance wrote: Hello all - First post to this list, hope I'm on the right place. Running BIND 9.3.6-P1-RedHat-9.3.6-16.P1.el5 on a quadcore xeon server (3Ghz) with 2GB RAM. Named is being used only for rDNS queries against our address space. The issue is that name

Re: Need to improve named performance

2012-11-11 Thread G.W. Haywood
Hi there, On Sun, 11 Nov 2012, Ed LaFrance wrote: Running BIND 9.3.6-P1-RedHat-9.3.6-16.P1.el5 ... Somebody already said upgrade. Generally that's the first thing to do in a case like this (before asking on mailing lists:). The issue is that named is not keeping up with rdns requests. The

Re: Need to improve named performance

2012-11-10 Thread Ed LaFrance
Hello Alan - It's also worth noting that, since I have more IPs on the box than the ones that are designated as nameservers, and since I have dns listening on all addresses, I can query named using one of the non-nameserver IPs - and it works fine! For instance: nslookup x.x.x.29 y.y.y.114 S

Re: Need to improve named performance

2012-11-10 Thread Ed LaFrance
Hello Alan - I will do an upgrade as soon as I get chance - a bit tied up right now. But in any case, since I posted this I've done some query logging for a bit and find that I'm getting an average of about 60 queries per second. All the dns queries are coming in via udp - the connections I me

Re: Need to improve named performance

2012-11-10 Thread Alan Clegg
On Nov 10, 2012, at 1:39 PM, Ed LaFrance wrote: > When I check the router above this server I'll see 200 - 500 legitimate > connections to this server at any given time. Having sent my snarky "update" e-mail, I now ask... you say later in the mail that you are doing about 20 queries per secon

Re: Need to improve named performance

2012-11-10 Thread Alan Clegg
On Nov 10, 2012, at 1:39 PM, Ed LaFrance wrote: > Running BIND 9.3.6-P1-RedHat-9.3.6-16.P1.el5 Before everyone else says it... upgrade. AlanC -- Alan Clegg | +1-919-355-8851 | a...@clegg.com signature.asc Description: Message signed with OpenPGP using GPGMail __