<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 07/09/10 07:36, khanh rua wrote:
<blockquote cite="mid:849.90264.qm@web45407.mail.sp1.yahoo.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=us-ascii">
<div>
<div>Can u tell me how to do this ?<br>
<pre><span>If you enable query log, you might be able to see if it's actually</span>
<span>serving queries at that time.</span>
</pre>
I mean "it hang" is named process is still running but it cannot
respond any lookup query. CPU is almost at low rate 5-6 % or lower.
It's both hang with single thread or multithread. <br>
datasize is 9999m<br>
max-cache-size is 2000m;<br>
These are versions of bind i tried :<br>
bash-3.00# file /usr/sbin/named <br>
/usr/sbin/named: ELF 32-bit MSB executable SPARC Version 1,
dynamically linked, stripped<br>
bash-3.00# which named <br>
/usr/sbin/named<br>
bash-3.00# file /opt/SUNWbind9.6/sbin/named<br>
/opt/SUNWbind9.6/sbin/named: ELF 64-bit MSB executable SPARCV9
Version 1, dynamically linked, not stripped<br>
bash-3.00# file /usr/sbin/bind <br>
bind-9.7.1b1/ bind9.7.0P1/ <br>
bash-3.00# file /usr/sbin/bind-9.7.1b1/named<br>
/usr/sbin/bind-9.7.1b1/named: ELF 32-bit MSB executable SPARC Version
1, dynamically linked, not stripped<br>
</div>
</div>
</blockquote>
<br>
running 'named -V' is the best may to show version and configure
options.<br>
<blockquote cite="mid:849.90264.qm@web45407.mail.sp1.yahoo.com"
type="cite">
<div>
<div><br>
In my circumstance, i can try installing anything as long as it can fix
this bug. I saw on sunsolve there 's a patch for bind 119783-15. Don't
know is it useful to fix this bug? <br>
</div>
</div>
</blockquote>
<br>
No, that patch provides BIND 9.6.1-P3 with no specific changes.<br>
<br>
Could you collect some lock statistics using plockstat(1M)? i.e.:<br>
<br>
<pre> # plockstat -e 300 -p `pgrep ^named`
</pre>
The -e 300 causes it to collect statistics for 5 minutes - experiment a
little and feed back what is reported.<br>
<br>
<br>
<blockquote cite="mid:849.90264.qm@web45407.mail.sp1.yahoo.com"
type="cite">
<div>
<div><br>
Mb i will check with other version of bind. Hope this can help.<br>
<div> <b><span>From:</span></b> Fajar A. Nugraha
<a class="moz-txt-link-rfc2396E" href="mailto:fajar@fajar.net"><fajar@fajar.net></a><br>
<b><span>To:</span></b> khanh rua <a class="moz-txt-link-rfc2396E" href="mailto:duonghoahoc_k49cd@yahoo.com"><duonghoahoc_k49cd@yahoo.com></a><br>
<b><span>Cc:</span></b> <a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<b><span>Sent:</span></b> Thu, July 8, 2010 5:10:02 PM<br>
<b><span>Subject:</span></b> Re: Bind hang out when named reach to
5-600 Mb<br>
<br>
On Thu, Jul 8, 2010 at 4:30 PM, khanh rua <<a moz-do-not-send="true"
href="mailto:duonghoahoc_k49cd@yahoo.com">duonghoahoc_k49cd@yahoo.com</a>>
wrote:<br>
> Hi,<br>
><br>
> I install bind as a cache server on Solaris 10, Sun Sparc T5140.
It has<br>
> problem, bind always hang out when named reach to 5-600 Mb
('prstat' check).<br>
<br>
How did you determine that it "hang"?<br>
If you enable query log, you might be able to see if it's actually<br>
serving queries at that time.<br>
<br>
Also, how is the cpu and disk usage at that time (I'm trying to see if<br>
you have cpu or disk as bottleneck?<br>
<br>
My guess is that:<br>
- one of your CPU thread is at 100% usage<br>
- named is busy serving queries alreadt, so that the new query you<br>
issued does not get processed in a timely manner.<br>
<br>
> I have several servers and all have this problem even when i
install bind in<br>
> zone or try with a 64bit version. T5140's a powerful server but
bind can't<br>
> make use of its power.<br>
<br>
IMHO, it's not really named-specific problem. The thing is Sun/Oracle<br>
T-series processors doesn't perform well with single thread loads. And<br>
(last time I check anyway) even though bind can make use of multi<br>
processor/threads, single thread performance still matters a lot.<br>
<br>
So you'd probably get much better performance when running named with<br>
say ... a generic x86 server/PC with Intel Xeon/Core i-series.<br>
<br>
-- <br>
Fajar<br>
</div>
</div>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">--
--Stacey</pre>
</body>
</html>