[Pdns-users] TCP nameserver had error, cycling backend

Eugene Pefti eugenep at w3media.net
Fri Jun 6 16:24:03 UTC 2008


Hi Daniel,

I found your suggestion very helpful, thanks. The irony is that after deleting those "\" characters in four domains pdns still complains about unknown escape sequence. Could it be the character other than "\" that makes exceptions?

Eugene

-----Original Message-----
From: Daniel Greene - (mt) Media Temple [mailto:daniel at mediatemple.net] 
Sent: Thursday, June 05, 2008 10:52 PM
To: Eugene Pefti
Cc: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] TCP nameserver had error, cycling backend

Eugene,

I can't speak for the first, but:

Exception: unknown escape sequence

was a real performance killer for us, causing pdns to have to do some sort of internal reload (it reset its uptime, at least) and not serve queries for a couple of seconds. 

Evidently -- at least with a mysql backend -- it meant that we had escape sequences ("\") in our records somewhere. It turned out to be TXT records containing "\;". We found ours with: 

select * from records where content like '%\\\%';  



-- 
Daniel Greene
Systems Engineer, R&D
(mt) Media Temple, Inc
877 578.4000 x515

----- Original Message -----
From: "Eugene Pefti" <eugenep at w3media.net>
To: pdns-users at mailman.powerdns.com
Sent: Thursday, June 5, 2008 10:08:39 PM GMT -08:00 US/Canada Pacific
Subject: [Pdns-users] TCP nameserver had error, cycling backend

Hi folks,

What could this error message mean?

Jun  5 21:28:53 ns2 pdns[5778]: TCP nameserver had error, cycling backend:
Reading data: Connection reset by peer

They are numerous indeed. I believe they affect the overall performance.
And why would this stats show up in the log:

Jun  5 21:44:33 ns2 pdns_recursor[5200]: stats: 181355 questions, 86152
cache entries, 363 negative entries, 15% cache hits         
Jun  5 21:44:33 ns2 pdns_recursor[5200]: stats: throttle map: 41, ns speeds:
135                                                    
Jun  5 21:44:33 ns2 pdns_recursor[5200]: stats: outpacket/query ratio 166%,
1% throttled, 0 no-delegation drops                     
Jun  5 21:44:33 ns2 pdns_recursor[5200]: stats: 353 outgoing tcp
connections, 4 queries running, 18833 outgoing timeouts

Can these recursor erros be correlated with pdns errors?

And finally, can somebody interpret this even more numerous message:
Exception: unknown escape sequence

Eugene


_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users



More information about the Pdns-users mailing list