Re: Core dumps

Scott Haneda <[email protected]> Fri, 8 May 2009 15:32:52 -0700
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <[email protected]>
Hi Todd, thanks for the reply, some questions below...

On May 8, 2009, at 12:10 PM, Todd Lyons wrote:

> On Fri, May 8, 2009 at 12:50 AM, Scott Haneda <[email protected]>  
> wrote:
>> Thanks.  Does that mean that this is normal and that even a non DLZ
>> driven system is doing the same things in the background?  I have a a
>> few non DLZ systems in place, with query logging on, and I have never
>> seen it do so.
>
> Core dumps are not normal.  Chances are that threads are biting you.
> I'll bet you don't have this set:
>
> CentOS52[root@ivdns51 ~]# egrep '^OPTIONS' /etc/sysconfig/named
> OPTIONS="-n 1"

I do not have a /etc/sysconfig can you tell me where I am to be  
looking at to confirm?

> Explanation from: http://bind-dlz.sourceforge.net/mysql_driver.html

I remember reading that before I did any installs.  I thought I  
conformed to it.  There was a chart on the site, and leaving the ones  
that say have threads:

Operating System	BIND built threaded
dec-osf			true
solaris			true
ibm-aix			true
hp-hpux 11		true
sgi-irix		true
Windows NT/2K		true

Since the hardware I am targeting is not those, I figured I was ok.

> To ensure BIND runs with a single
> thread pass "-n 1" on the command line when starting BIND (named).
> This should not be a limitation on most UN*X systems as BIND is
> normally compiled single threaded (there are some exceptions).

I was pretty sure BIND was built single threaded.  How can I check?

> Even if
> BIND is compiled to support threads passing "-n 1" on the command line
> will cause it to use a single thread. Also, if the MySQL driver is
> compiled into BIND but NOT USED then "-n 1" is not required. The "-n
> 1" command line parameters are only required when the MySQL driver is
> USED.

Well, I am certainly using the MySql driver, but I would like to  
figure out if I have threads or not, before I change a flag, just to  
make sure I understand what I am up to.

>> While I can live with this multiple query issue, and learn about it
>> later, the main issue is the core dumps and DLZ/SBD going totally  
>> deaf
>> over time.
>
> After reading that paragraph, I'm positive the answer lies in the  
> above option.


Your confidence in this matter makes me a feel a lot better :) I  
really hope you are correct, as this would save me a lot of hassle in  
fixing, or moving to a totally new solution this late in the game.
-- 
Scott * If you contact me off list replace talklists@ with scott@ *


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com