Re: bind-dlz hanging
Felipe Neuwald <[email protected]>
| Newsgroups | gmane.network.dns.bind9.dlz |
|---|---|
| Message-ID | <[email protected]> |
Graeme Fowler escreveu: > Hi > > On Wed, 2008-01-23 at 22:24 -0200, Felipe Neuwald wrote: > >>> 1. Does bind simply stop responding? >>> >>> >> Yes. The process still run, but bind doesn't resolve hostnames. >> > > OK, cool, that's useful. > > >>> 2. If you configure it to log everything, does that stop too? >>> >>> >> I didn't tryed yet. I only got a lot of "named[27591]: mysql driver >> unable to return result set for findzone query" on logfile. >> > > That's also useful. Are you, by any chance, running several bind > threads? The MySQL driver, from memory, will only work in single-thread > mode. > > >>> 3. Does MySQL respond when bind stops? >>> >>> >> Yes. >> > > OK, that's also useful. > > >>> 4. Can you see queries from bind to MySQL when it all hangs? >>> >>> >> Yes, take a look: >> > > That's not a query; that's a sleeping client thread. You may need to > look up on http://dev.mysql.com/ how to turn on the "General Query Log", > if you don't already know how. That way you can trap *every* query MySQL > receives. Something tells me you'll see none when bind fails to respond. > > >> I've installed /usr/ports/dns/bind9-dlz, but there is bind94 on ports tree. Should I install bind94? The same named.conf will work ok? >> > > It *should* but you'll have to answer that one yourself. > Ok, I'll try to install bind94. > Going back to the threads comment: ensure bind is started with the > option "-n 1" as per the DLZ docs: > Ok, now bind isn't running with "-n 1" option. I'll try it now. > http://bind-dlz.sourceforge.net/mysql_driver.html > > Graeme > Thanks, Felipe. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bind-dlz-testers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/