[Pdns-users] Core dumps

Adam Breaux abreaux at domainbank.com
Thu Jan 29 15:48:22 UTC 2004

uname -a
FreeBSD service2.domainbank.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon
Jan  5 12:13:37 EST 2004
abreaux at service2.domainbank.net:/usr/obj/usr/src/sys/SERVICE2  i386 

postgresql-7.3.5    The most advanced open-source database available
postgresql-libpq++-4.0_1 C++ interface for  PostgreSQL
powerdns-2.9.15     An advanced DNS server with SQL backend

It happens often enough to be a concern. We routinely have these kinds
of numbers:

Uptime: 10.2 hours Queries/second, 1, 5, 10 minute averages: 55.5, 60.3,
60.9. Max queries/second: 484
Cache hitrate, 1, 5, 10 minute averages: 74%, 75%, 75%
Backend query cache hitrate, 1, 5, 10 minute averages: 51%, 52%, 53%
Backend query load, 1, 5, 10 minute averages: 42.8, 45.6, 44.7. Max
queries/second: 53.2
Total queries: 1955435. Question/answer latency: 0.19ms

The longest runtime between cores is about 8 days, but has also been as
much as 4 times in a 24 hour period.

Core was generated by `pdns_server'.
Program terminated with signal 11, Segmentation fault.
#0  0x807e880 in basic_string<char, string_char_traits<char>,
__default_alloc_template<false, 0> >::replace ()

-----Original Message-----
From: bert hubert [mailto:ahu at ds9a.nl] 
Sent: Thursday, January 29, 2004 10:26 AM
To: Adam Breaux
Cc: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] Core dumps

On Thu, Jan 29, 2004 at 10:18:11AM -0500, Adam Breaux wrote:
> pdns[32137]: Our pdns instance (32456) exited after signal 11
> pdns[32137]: Dumped core
> pdns[32137]: Respawning
> pdns[32582]: Guardian is launching an instance
> I'm also getting a lot of these: Received a malformed qdomain from ...

Please please please tell me more about your set. Operating system,
powerdns version, query load, does this happen often, Received a
malformed qdomain from whom etc etc.

Also, running:

gdb /usr/sbin/pdns_server core

Might help a lot - if you can find the coredump.


http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control

More information about the Pdns-users mailing list