Re: [Pdns-users] Debugging Information Pipe-Backend

2015-08-29 Thread Aki Tuomi
On Sat, Aug 29, 2015 at 12:35:20PM -0400, Stan Weatherby wrote:
 Is there any more debugging information I can get from the pipebackend?  I’m 
 randomly (seems it anyway) receiving very general errors as such:
 
 ==
 
 [PIPEBackend] Fatal argument error: Timeout waiting for data from coprocess
 
 Caught an exception instantiating a backend: Timeout waiting for data from 
 coprocess
 
 Distributor caught fatal exception: Timeout waiting for data from coprocess
 
 ==
 
 I don’t see any escalation in cpu usage or memory in these instances and am 
 not seeing any pipe script errors logged.  The pipe-timeout is set to 5000.  
 How can I further debug where this is dying?
 
 Any help/advice would be greatly appreciated!
 
 -Stan
 

Hi! 

Best way to debug your pipe backend is to log all received questions and 
answers. Usually this error indicates that you forgot to reply with something 
that was expected.

Aki

 ___
 Pdns-users mailing list
 Pdns-users@mailman.powerdns.com
 http://mailman.powerdns.com/mailman/listinfo/pdns-users


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Debugging bogus NXDOMAIN replies

2014-06-30 Thread Curtis Maurand
Since it's all myisam, you may be running into a concurrence problem where a 
select has a table locked for a split second and a new request comes in at the 
same time.  Innodb gets you row level locking.  It's probably nothing to worry 
about if it doesn't happen that often.  If you turn on query logging in mysql, 
you could probably see what's going on.


Sent on a Sprint Samsung Galaxy S® III

div Original message /divdivFrom: Willem de Groot 
wil...@byte.nl /divdivDate:06/30/2014  11:15 AM  (GMT-05:00) 
/divdivTo: pdns-users@mailman.powerdns.com /divdivSubject: [Pdns-users] 
Debugging bogus NXDOMAIN replies /divdiv
/divHi pdns people! The following issue has kept me busy for many days to no 
avail. Suggestions are much appreciated.

My pdns auth server answers 2M queries per day. At random times, but about once 
or twice per day, an unexpected NXDOMAIN reply is sent out. The auth log 
(loglevel 9) dutifully but sparingly reports:
 
Jun 30 14:31:49 dns2.c1.internal pdns[2100]: Authoritative NXDOMAIN to 
10.1.2.222 for 'database25.c1.internal' (A)

This record certainly exists in the gmysql backend, as is demonstrated by the 
thousands of successful lookups [1]. How would I debug this issue? Is there 
perhaps a way to crank up logging for the gmysql module (queries and replies)? 
I couldn't find any references to this record in the mysql-slow.log, while 
other queries 1sec are logged there.

NB, there some suspects:

* pdns auth version is 2.9.22-8+squeeze1 (standard Debian)
* mysql db schema is still myisam, with 1M+ rows in the records table (very 
infrequent updates though)

Because updating is quite a hassle, I'd like to do that as a last resort. Plus, 
I can't stand not knowing where the failure is coming from ;)

TIA!
Willem

[1] As witnessed by tcpdump:

A good reply:
10.1.2.222.53  10.1.2.222.9617: 62526*- q: A? dbint029896.c1.internal. 
2/0/0 dbint029896.c1.internal. CNAME database25.c1.internal., 
database25.c1.internal. A 10.1.2.126 (82)

A bad reply (cname yes, a record no)
10.1.2.222.53  10.1.2.222.12384: 28255 NXDomain*- q: A? 
dbint029896.c1.internal. 1/1/0 dbint029896.c1.internal. CNAME 
database25.c1.internal. ns: internal. SOA nsa.company.nl. 
hostmaster.company.nl. 2009121500 10800 3600 604800 3600 (124)


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


RE: [Pdns-users] Debugging

2006-08-26 Thread Michael C. Gates
Hi Bert,

I get about 3 different types of crashes. There is no rhyme or reason to
them. I watch the command prompt log to see if it crashes on the same type
of action, and it doesn't. I was hoping setting up the service to restart
after a failure would fix the problem, but it seems that the program is
still running, just not answering. I have been trying to figure out why 1
server works fine, and 2 others don't. There is no rhyme or reason to them
either.

Is there an older build of the windows version that is more stable? I don't
need bells and whistles, just simple A, CNAME, MX, SOA records, etc. And I
don't need primary and slave servers because I simply use replication in my
MS SQL DB so if I update one, they all get updated.

Thanks for your help.

Michael C. Gates

-Original Message-
From: bert hubert [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 26, 2006 4:53 AM
To: Michael C. Gates
Cc: pdns-users@mailman.powerdns.com
Subject: Re: [Pdns-users] Debugging


On Fri, Aug 25, 2006 at 07:08:43PM -0400, Michael C. Gates wrote:
 Any way to create a program log so I can figure out why mine is 
 crashing every once in a while? If I download the source, can I open 
 it in Visual Studio 2005? Or was it written in something else? I know 
 C#, but not much of
 C++. I wouldn't mind figuring it out if it solved the crashing 
 C++problem.

The PowerDNS Recursor compiles in Visual Studio 2005, the authoritative
server doesn't. The currently last released version of the PowerDNS
Authoritative server is known to have many, many bugs.

Can you let us know more about your specific problem?

Thanks.

-- 
http://www.PowerDNS.com  Open source, database driven DNS Software 
http://netherlabs.nl  Open and Closed source services

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users