[Pdns-users] pdns_recursor stops getting queries on Solaris 10 sparc

Christian Kuehn christian.kuehn at mcs.de
Wed Sep 12 13:22:32 UTC 2007


HI,

we found the same problem and it looks like a problem with Sol10.

Our fix was a small change in sysdeps/SunOS.inc

ifeq ($(CC),cc)
        CC:=gcc
endif

LDFLAGS+=-lresolv -lsocket -lnsl
OS_SPECIFIC_INSTALL=mkdir -p $(DESTDIR)/etc/init.d ; cp pdns-recursor.init.d $(D
ESTDIR)/etc/init.d/pdns-recursor

#OPTIONALS:=optional/portsmplexer.o

#optional/portsmplexer.o: portsmplexer.cc
#       $(CXX) $(CXXFLAGS) -c $< -o $@  ; true


Good luck!

Cheers
Christian








Alex Kiernan wrote:
> I ran into this problem on a live box, so I ended up backing out and
> going back to bind, but I've grabbed a set of queries which reproduce
> the problem (eventually).
> 
> When it stops doing stuff it, it looks like its not getting new queries:
> 
> port_getn(7, 0x0012D108, 1024, 1, 0xFFBEF44C)   = 0 [62]
> port_getn(7, 0x0012D108, 1024, 1, 0xFFBEF44C)   = 0 [62]
> port_getn(7, 0x0012D108, 1024, 1, 0xFFBEF44C)   = 0 [62]
> port_getn(7, 0x0012D108, 1024, 1, 0xFFBEF44C)   = 0 [62]
> port_getn(7, 0x0012D108, 1024, 1, 0xFFBEF44C)   = 0 [62]
> port_getn(7, 0x0012D108, 1024, 1, 0xFFBEF44C)   = 0 [62]
> port_getn(7, 0x0012D108, 1024, 1, 0xFFBEF44C)   = 0 [62]
> 
> But it seems like it only happens after ~250K queries. I'm pushing my
> queries at it using UDP (using perl ParaDNS), once it has given up,
> its only the UDP queries which break - TCP still works.
> 
> Any pointers where to start looking?
> 

-- 
Christian Kühn
(Technical Consultant / Hostmaster)

======================================================
MCS MOORBEK COMPUTER SYSTEME GmbH
Essener Bogen 17 - 22419 Hamburg - Germany
Tel +49 (0)40 53773 0 - Fax: +49 (0)40 53773 200
E-Mail: christian.kuehn at mcs.de
Web: http://www.mcs.de
Eingetragen im Handelsregister Hamburg B62933
Geschäftsführer: Kai Brandes & Eckard Kabel
GPG 8B52 41A1 4B8F 4DE7 9064  2073 6168 137A 3DDA 0F36
======================================================


More information about the Pdns-users mailing list