Bind is hanging on CentOS 4.4

Jesse Cabral jcabral at mtsolutions.net
Thu May 28 19:55:28 UTC 2009


Here is the output from ps -eLf

ps -eLf | grep named
named    32231     1 32231  0    7 May26 ?        00:00:00 /usr/sbin/named
-u named -t /var/named/chroot
named    32231     1 32232  0    7 May26 ?        00:15:04 /usr/sbin/named
-u named -t /var/named/chroot
named    32231     1 32236  0    7 May26 ?        00:15:04 /usr/sbin/named
-u named -t /var/named/chroot
named    32231     1 32237  0    7 May26 ?        00:14:58 /usr/sbin/named
-u named -t /var/named/chroot
named    32231     1 32238  0    7 May26 ?        00:15:06 /usr/sbin/named
-u named -t /var/named/chroot
named    32231     1 32239  0    7 May26 ?        00:00:07 /usr/sbin/named
-u named -t /var/named/chroot
named    32231     1 32240  0    7 May26 ?        00:12:40 /usr/sbin/named
-u named -t /var/named/chroot


I rebuild named with threads disabled and I still hand a hang afterward.

Jesse Cabral 
Solutions Engineer 

Micro Technology Solutions, Inc. 
Phone:508.324.9475  Fax:508.324.4477 
21 Father DeValles Blvd, Suite 101, Fall River, MA 02723 
www.mtsolutions.net 

     




-----Original Message-----
From: Jeff Lightner [mailto:jlightner at water.com] 
Sent: Thursday, May 28, 2009 1:27 PM
To: jcabral at mtsolutions.net
Subject: RE: Bind is hanging on CentOS 4.4

The implementation of ps has a lot to do with whether you see threads.

You might try:
To get info about threads:
   ps -eLf
   ps axms

-----Original Message-----
From: bind-users-bounces at lists.isc.org [mailto:bind-users-bounces at lists.isc.
org] On Behalf Of Jesse Cabral
Sent: Thursday, May 28, 2009 1:16 PM
To: 'JINMEI Tatuya / 神明達哉'
Cc: bind-users at lists.isc.org
Subject: RE: Bind is hanging on CentOS 4.4
Importance: High

I have decided to rebuild named with threads disabled. I will update you on
the results. I am hoping that will remedy the issue.

Thanks for your support.

Jesse Cabral 
Solutions Engineer 

Micro Technology Solutions, Inc. 
Phone:508.324.9475  Fax:508.324.4477 
21 Father DeValles Blvd, Suite 101, Fall River, MA 02723 
www.mtsolutions.net 

     




-----Original Message-----
From: JINMEI Tatuya / 神明達哉 [mailto:Jinmei_Tatuya at isc.org] 
Sent: Tuesday, May 26, 2009 3:14 PM
To: jcabral at mtsolutions.net
Subject: Re: Bind is hanging on CentOS 4.4

At Tue, 26 May 2009 09:23:22 -0400,
"Jesse Cabral" <jcabral at mtsolutions.net> wrote:

> When I run a ps ax | grep named 
> 
> I only see a single thread for named ? If I was using multi-threads it
> should show an additional thread for each instance correct ?

It depends on the ps implementation.  To be sure, you should start
named with the -g command line option and see initial log messages
on stderr.  If you see something like this:
26-May-2009 12:11:39.619 found 1 CPU, using 1 worker thread

threads are enabled.  If the threads are enabled, the best way to
eliminate the possibility of dead lock is to rebuild named
--disable-threads.  If you cannot do it, maybe you want to try
invoking named with the '-n 1' command line option.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.

p.s. if you don't mind, please cc follow up messages to the bind-users
list.  Then you can expect more help from others.   I'm just back from
vacation with so many email backlogs and my responses may be overly
delayed.

_______________________________________________
bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
 
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential
information and is for the sole use of the intended recipient(s). If you are
not the intended recipient, any disclosure, copying, distribution, or use of
the contents of this information is prohibited and may be unlawful. If you
have received this electronic transmission in error, please reply
immediately to the sender that you have received the message in error, and
delete it. Thank you.
----------------------------------




More information about the bind-users mailing list