[Pdns-users] Cannot allocate memory

Schramm e.K. [ Deutschland ] info at schramm.es
Mon Jun 25 08:55:10 UTC 2007


Hello Mr Hubert,

ok now i will explain my current setting.
i have a mysql master slave setup with one
master and 4 slave mysql server.

every mysql master/slave server is designed
for one powerdns server.

on every host machine you find a mysql server
4.1 and a powerdns server.

AFXR querys are very low.

the querys/minute are round about 3000 - 3500
the latency is very good and there are no problems.
the dnsstuff.com dns timing reports me a B mark.

now to the logs:

Jun 24 23:35:51 dns4 pdns[28707]: Received a malformed qdomain from
213.134.45.241, 'http://www.onkelzradio.de': dropping
Jun 24 23:35:54 dns4 pdns[28707]: Not authoritative for 'vl-p.net',
sending servfail to 206.13.6.166
Jun 24 23:36:00 dns4 pdns[28707]: Exception: invalid unknown record
Jun 24 23:36:00 dns4 pdns[28707]: gmysql Connection succesful
Jun 24 23:36:09 dns4 pdns[28707]: Exception: Unknown record was
stored incorrectly, need 3 fields, got 1:
server at fink.ug24-systems.de|kmk at ug24.com
Jun 24 23:36:09 dns4 pdns[28707]: gmysql Connection succesful
Jun 24 23:36:11 dns4 pdns[28707]: Exception: Unknown record was
stored incorrectly, need 3 fields, got 1:
server at fink.ug24-systems.de|kmk at ug24.com
Jun 24 23:36:13 dns4 pdns[28707]: Not authoritative for
'webringer.de', sending servfail to 202.71.101.36
Jun 24 23:36:14 dns4 pdns[28707]: Exception: invalid unknown record
Jun 24 23:36:15 dns4 pdns[28707]: gmysql Connection succesful
Jun 24 23:36:15 dns4 pdns[28707]: Exception: invalid unknown record
Jun 24 23:36:21 dns4 pdns[28707]: gmysql Connection succesful
Jun 24 23:36:27 dns4 pdns[28707]: gmysql Connection succesful
Jun 24 23:36:43 dns4 pdns[28707]: Exception: Unknown record was
stored incorrectly, need 3 fields, got 1:
server at fink.ug24-systems.de|kmk at ug24.com
Jun 24 23:36:44 dns4 pdns[28707]: gmysql Connection succesful
Jun 24 23:36:46 dns4 pdns[28707]: Exception: Unknown record was
stored incorrectly, need 3 fields, got 1:
server at fink.ug24-systems.de|kmk at ug24.com
Jun 24 23:36:47 dns4 pdns[28707]: Exception: invalid unknown record
Jun 24 23:36:50 dns4 pdns[28707]: gmysql Connection succesful
Jun 24 23:36:52 dns4 pdns[28707]: Ignoring packet: too short from
64.22.79.60
Jun 24 23:36:56 dns4 pdns[28707]: Not authoritative for 'avilon.eu',
sending servfail to 207.46.116.16
Jun 24 23:36:56 dns4 pdns[28707]: gmysql Connection succesful
Jun 24 23:37:04 dns4 pdns[28707]: Ignoring packet: too short from
64.22.79.60
Jun 24 23:37:04 dns4 last message repeated 3 times

the command you send me reports every time an "0"

but i could find out one thing.
for internal use i inserted in the "records" table
an own record type called "EML" with the following specs:

content: 123 at test.de|123 at test2.de
name: domain.tld
prio: 0
ttl: 0

with this records in the pdns db i got the errors
above. i have now dropped the records from the records
table and put them into an own one. now the problems have
left, but i dont know if the "cannot alloc memory" problem
will come again and perhaps it was produced through my records
which werent real dns records.
but think, will this ever happens when a record get stored
in the record database? for an example, an php script for
managing the records in the database has an error and put
false types into the db. will then the dns got throttled?
iam afraid of this....

the next thing i saw is:

every time pdns cought an exception error, it will regenerate
the gmysql connector. is this right ?

--
Mit freundlichem Gruß



Dominique H. Schramm (Kfm)
Geschäftsführender Inhaber
Firma Schramm e.K.
HRA 13762 - ReG Nürnberg

Ust-ID: DE240536723
Finanzamt Nürnberg Süd


T: 0800.3366888777
F: 0911.881941111
I: www schramm-ek de

Geschäftszeiten:
Mo - Fr von 8 - 12 Uhr u. 14 - 20 Uhr
Sa von 14 - 16 Uhr
So nur nach Absprache

Ein Unternehmen der
Schramm eSales Verwaltung un Limited & Co KG
Ansbacherstrasse 124, 90449 Nürnberg
HR A 14579, Registergericht Nürnberg
UstID -beantragt-

Komplementärin der Kommanditgesellschaft:
SCHRAMM eSales Verwaltung un LIMITED
69 GREAT HAMPTON STREET
Birmingham
B18 6EW
Company No. 06014468

Director:
Dominique Holger Schramm (Kfm, CEO)

> -----Original Message-----
> From: bert hubert [mailto:bert.hubert at netherlabs.nl]
> Sent: Monday, June 25, 2007 7:29 AM
> To: Schramm e.K. [ Deutschland ]
> Cc: pdns-users at mailman.powerdns.com
> Subject: Re: [Pdns-users] Cannot allocate memory
> 
> On Mon, Jun 25, 2007 at 12:03:20AM +0200, Schramm e.K. [
> Deutschland ] wrote:
> 
> > I recently upgraded one of our pdns servers from 2.6.20 to
> 2.6.21. After
> > 12-15 hours of operation TCP requests started to fail and the
> following is
> > written to the logfile(s) :
> 
> Can you run:
> netstat -an | grep ESTAB | grep ":53 " -c
> 
> For a few times while running powerdns, and report if the
> number is growing?
> 
> Is there anything special about your setup? A lot of AXFRs?
> 
> Can you show me other log messages reported often?
> 
> > I hope there is any solution for this problem,
> 
> There will be, no worries :-)
> 
> 	Bert
> 
> --
> http://www.PowerDNS.com      Open source, database driven DNS
> Software
> http://netherlabs.nl              Open and Closed source
> services
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3536 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20070625/6e39ddb9/attachment-0001.bin>


More information about the Pdns-users mailing list