Problem using nsd

Hello I have this problem since a week or so:

The nsd daemon crashes unexpectedly and the nsd log files shows this:

[1200299533] nsd[3736]: info: XSTATS 1200299533 1200298484 RR=0 RNXD=0
RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=0
SAns=40 SFwdQ=0 SDupQ=0 SErr=0 RQ=37 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0
SFail=30 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=1
[1200299533] nsd[3731]: error: problems sending command 5 to server 3734:
Broken pipe
[1200299533] nsd[3731]: error: problems sending command 5 to server 3735:
Broken pipe
[1200299533] nsd[3731]: error: problems sending command 5 to server 3736:
Broken pipe
[1200299533] nsd[3731]: error: problems sending command 5 to server 3737:
Broken pipe
[1200299533] nsd[3731]: error: problems sending command 5 to server 3738:
Broken pipe
[1200299533] nsd[3731]: error: problems sending command 5 to server 3739:
Broken pipe
[1200299533] nsd[3731]: error: problems sending command 5 to server 3740:
Broken pipe
[1200299533] nsd[3731]: error: problems sending command 5 to server 3741:
Broken pipe
[1200299533] nsd[3731]: error: problems sending command 5 to server 3742:
Broken pipe
[1200299533] nsd[3731]: error: problems sending command 5 to server 3743:
Broken pipe
[1200299533] nsd[3731]: warning: signal received, shutting down...

[1200386455] nsd[4767]: error: failed reading from tcp: Connection reset by
peer
[1200386455] nsd[4769]: error: failed reading from tcp: Connection reset by
peer

I would appreciate any help or suggestion. Thank you

Thank you for your response.

The NSD version if 3.0.7
The OS is red hat enterprise 4, 32 bit, i686, dual xeon 4 gb of ram and
3ware raid 10. Kernel is 2.6.23.9
The compilation flags were:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"

the configure line:

./configure --prefix=/pdb/dns --mandir=/usr/share/man
--with-configdir=/pdb/dns/etc --with-pidfile=/var/run/nsd.pid
--with-zonesfile=/pdb/dns/db --with-conffile=/pdb/dns/etc/nsd.conf
--with-zonesdir=/pdb/dns/db --with-dbfile=/pdb/dns/db/nsd.db --with-user=dns

I start nsd with:

/pdb/dns/sbin/nsd -c /pdb/dns/etc/nsd.conf -n 9 -u dns