Problems with 2.9.6 on Linux

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with 2.9.6 on Linux

Mario Cole
Hello,

I am experiencing a strange problem with my PowerDNS server running
2.9.6 on Linux (Intel).  I am using a MySQL backend (MySQL 4.0.11).
Here is the info that appears in the logs:

Mar 10 19:30:02 snake pdns[7782]: /lib/i686/libpthread.so.0 [0x402c5a85]
Mar 10 19:30:02 snake pdns[7778]:
/usr/local/lib/libstdc++.so.4(_ZNSs9_M_mutateE
jjj+0x7d) [0x4010febd]
Mar 10 19:30:02 snake pdns[7775]: /lib/i686/libc.so.6 [0x401a6928] Mar
10 19:30:02 snake pdns[7782]: /lib/i686/libc.so.6 [0x401a6928] Mar 10
19:30:02 snake pdns[7778]:
/usr/local/lib/libstdc++.so.4(_ZNSs7replaceEN9
__gnu_cxx17__normal_iteratorIPcSsEES2_jc+0x61) [0x401126b1]
Mar 10 19:30:02 snake pdns[7775]:
/usr/local/lib/libstdc++.so.4(_ZNSs4_Rep8_M_cl
oneERKSaIcEj+0x49) [0x40113809]
Mar 10 19:30:02 snake pdns[7782]:
/usr/local/lib/libstdc++.so.4(_ZNSs4_Rep8_M_cl
oneERKSaIcEj+0x49) [0x40113809]
Mar 10 19:30:02 snake pdns[7778]:
/usr/local/lib/libstdc++.so.4(_ZNSs6appendEjc+
0x7c) [0x40111aec]
Mar 10 19:30:02 snake pdns[7775]:
/usr/local/lib/libstdc++.so.4(_ZNSs7reserveEj+
0x76) [0x40111566]
Mar 10 19:30:02 snake pdns[7771]: Got a signal 11, attempting to print
trace: Mar 10 19:30:02 snake pdns[7782]:
/usr/local/lib/libstdc++.so.4(_ZNSs7reserveEj+
0x76) [0x40111566]
Mar 10 19:30:02 snake pdns[7778]:
/usr/local/sbin/pdns_server(_ZN11GSQLBackend9s
qlEscapeERKSs+0x54) [0x80eb2f4]
Mar 10 19:30:02 snake pdns[7775]:
/usr/local/lib/libstdc++.so.4(_ZNSs6appendERKS
s+0xb0) [0x401118c0]
Mar 10 19:30:02 snake pdns[7771]: /usr/local/sbin/pdns_server
[0x80a6ab1] Mar 10 19:30:02 snake pdns[7782]:
/usr/local/lib/libstdc++.so.4(_ZNSs6appendEPKc
j+0x8f) [0x40111a5f]
Mar 10 19:30:02 snake pdns[7778]:
/usr/local/sbin/pdns_server(_ZN11GSQLBackend6l
ookupERK5QTypeRKSsP9DNSPacketi+0x624) [0x80edd34]
Mar 10 19:30:02 snake pdns[7775]:
/usr/local/sbin/pdns_server(_ZStplIcSt11char_t
raitsIcESaIcEESbIT_T0_T1_ERKS6_S8_+0x2d) [0x80ff61d]
Mar 10 19:30:03 snake pdns[7771]: /lib/i686/libpthread.so.0 [0x402c5a85]
Mar 10 19:30:03 snake pdns[7782]:
/usr/local/sbin/pdns_server(_ZN12UeberBackend1
1addOneCacheERKNS_8QuestionERK17DNSResourceRecord+0x6a) [0x80ac16a] Mar
10 19:30:03 snake pdns[7778]:
/usr/local/sbin/pdns_server(_ZN12UeberBackend6
lookupERK5QTypeRKSsP9DNSPacketi+0x10d) [0x80ac99d]
Mar 10 19:30:03 snake pdns[7775]:
/usr/local/sbin/pdns_server(_ZN12UeberBackend1
1addOneCacheERKNS_8QuestionERK17DNSResourceRecord+0xef) [0x80ac1ef] Mar
10 19:30:03 snake pdns[7771]: /lib/i686/libc.so.6 [0x401a6928] Mar 10
19:30:03 snake pdns[7782]:
/usr/local/sbin/pdns_server(_ZN12UeberBackend3
getER17DNSResourceRecord+0xd7) [0x80ad137]
Mar 10 19:30:03 snake pdns[7778]:
/usr/local/sbin/pdns_server(_ZN13PacketHandler
11makeCanonicEP9DNSPacketS1_RSs+0x109) [0x807cbf9]
Mar 10 19:30:03 snake pdns[7775]:
/usr/local/sbin/pdns_server(_ZN12UeberBackend3
getER17DNSResourceRecord+0xd7) [0x80ad137]
Mar 10 19:30:03 snake pdns[7771]:
/usr/local/sbin/pdns_server(_ZNSs12_S_construc
tIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag+0x34) [0x8105d64] Mar 10
19:30:03 snake pdns[7782]:
/usr/local/sbin/pdns_server(_ZN13PacketHandler
11makeCanonicEP9DNSPacketS1_RSs+0x13b) [0x807cc2b]
Mar 10 19:30:03 snake pdns[7778]:
/usr/local/sbin/pdns_server(_ZN13PacketHandler
8questionEP9DNSPacket+0xf2c) [0x80806cc]
Mar 10 19:30:03 snake pdns[7775]:
/usr/local/sbin/pdns_server(_ZN13PacketHandler
11makeCanonicEP9DNSPacketS1_RSs+0x13b) [0x807cc2b]
Mar 10 19:30:03 snake pdns[7771]:
/usr/local/lib/libstdc++.so.4(_ZNSsC1EPKcRKSaI
cE+0x44) [0x40110784]
Mar 10 19:30:03 snake pdns[7782]:
/usr/local/sbin/pdns_server(_ZN13PacketHandler
8questionEP9DNSPacket+0xf2c) [0x80806cc]
Mar 10 19:30:03 snake pdns[7778]:
/usr/local/sbin/pdns_server(_ZN11DistributorI9
DNSPacketS0_13PacketHandlerE10makeThreadEPv+0x159) [0x8113bc9] Mar 10
19:30:03 snake pdns[7775]:
/usr/local/sbin/pdns_server(_ZN13PacketHandler
8questionEP9DNSPacket+0xf2c) [0x80806cc]
Mar 10 19:30:03 snake pdns[7771]:
/usr/local/lib/libstdc++.so.4(_ZSt20__throw_ou
t_of_rangePKc+0x33) [0x400dfaa3]
Mar 10 19:30:03 snake pdns[7782]:
/usr/local/sbin/pdns_server(_ZN11DistributorI9
DNSPacketS0_13PacketHandlerE10makeThreadEPv+0x159) [0x8113bc9] Mar 10
19:30:03 snake pdns[7778]: /lib/i686/libpthread.so.0 [0x402c2c6f] Mar 10
19:30:03 snake pdns[7775]:
/usr/local/sbin/pdns_server(_ZN11DistributorI9
DNSPacketS0_13PacketHandlerE10makeThreadEPv+0x159) [0x8113bc9] Mar 10
19:30:03 snake pdns[7771]:
/usr/local/sbin/pdns_server(_ZN9DNSPacket7toqn
ameEPKcRSsb+0x2be) [0x806fbae]
Mar 10 19:30:03 snake pdns[7782]: /lib/i686/libpthread.so.0 [0x402c2c6f]
Mar 10 19:30:03 snake pdns[7778]: /lib/i686/libc.so.6(__clone+0x3a)
[0x402654fa]

Any suggestions?

Best Regards,
Mario





Reply | Threaded
Open this post in threaded view
|

Re: Problems with 2.9.6 on Linux

bert hubert
On Mon, Mar 10, 2003 at 07:50:17PM -0500, Mario Cole wrote:
> Hello,
>
> I am experiencing a strange problem with my PowerDNS server running
> 2.9.6 on Linux (Intel).  I am using a MySQL backend (MySQL 4.0.11).
> Here is the info that appears in the logs:

Are you on an SMP system? Do you run with a selfcompiled version, if so,
which version of gcc? How often do you get this error? Immediately, or only
under load?

Do you have 'receiver-threads' set in your configuration? Can you show your
configuration?

Thanks. If you want to try something different, try our static release.


--
http://www.PowerDNS.com      Open source, database driven DNS Software
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
http://netherlabs.nl                         Consulting
Reply | Threaded
Open this post in threaded view
|

RE: Problems with 2.9.6 on Linux

Mario Cole
In reply to this post by Mario Cole
> -----Original Message-----
> From: bert hubert [mailto:[hidden email]]
> Sent: Friday, March 14, 2003 4:39 AM
> To: Mario Cole
> Cc: [hidden email]
> Subject: Re: [Pdns-users] Problems with 2.9.6 on Linux
>
> On Mon, Mar 10, 2003 at 07:50:17PM -0500, Mario Cole wrote:
> > Hello,
> >
> > I am experiencing a strange problem with my PowerDNS server running
> > 2.9.6 on Linux (Intel).  I am using a MySQL backend (MySQL 4.0.11).
> > Here is the info that appears in the logs:
>
> Are you on an SMP system? Do you run with a selfcompiled version, if
so,
> which version of gcc? How often do you get this error? Immediately, or
> only
> under load?

Lemme see...I am on an SMP system.  I *did* run a self-compiled version
of gcc 3.1.1.  The error started after I upgraded from 2.9.5.  Before
the upgrade, PDNS stopped responding.  After a restart (with 2.9.5) it
would take about 1 minute before it stopped responding.  With 2.9.6, it
took about the same amount of time.

> Do you have 'receiver-threads' set in your configuration? Can you show
> your
> configuration?
>
> Thanks. If you want to try something different, try our static
release.

I switched to using the pre-compiled binaries and all is fine now.  :-)
In fact, the rpms are much easier to use.  I can still send you my
configs if you still want to see it.

Thanks for the response!

Mario



Reply | Threaded
Open this post in threaded view
|

Re: Problems with 2.9.6 on Linux

bert hubert
On Fri, Mar 14, 2003 at 10:25:22AM -0500, Mario Cole wrote:
> I switched to using the pre-compiled binaries and all is fine now.  :-)
> In fact, the rpms are much easier to use.  I can still send you my
> configs if you still want to see it.

Ok - it turns out that gcc <3.2 has problems with SMP and PowerDNS. Not sure
whose bug it is.

Regards,

bert

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