<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:14pt"><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 14pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi <br><div style="font-family: times new roman,new york,times,serif; font-size: 14pt;"><div><br>I attached the ouput from your command in 10s.<br>Last time i tested, bind did reach to 1Gb but it still hang ( don't respond any query ). Could you help me take a look at this log? <br><br>Duc Tien.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 14pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Stacey Jonathan Marshall - Solaris Software <stacey.marshall@oracle.com><br><b><span style="font-weight: bold;">To:</span></b> khanh rua <duonghoahoc_k49cd@yahoo.com>; bind-users@lists.isc.org<br><b><span style="font-weight:
 bold;">Sent:</span></b> Fri, July 9, 2010 5:27:15 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: Bind hang out when named reach to 5-600 Mb<br></font><br>




  

On 07/09/10 07:36, khanh rua wrote:
<blockquote type="cite">
  
  <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 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`<br><br></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 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 rel="nofollow" class="moz-txt-link-rfc2396E" ymailto="mailto:fajar@fajar.net" target="_blank" href="mailto:fajar@fajar.net"><fajar@fajar.net></a><br>
  <b><span>To:</span></b> khanh rua <a rel="nofollow" class="moz-txt-link-rfc2396E" ymailto="mailto:duonghoahoc_k49cd@yahoo.com" target="_blank" href="mailto:duonghoahoc_k49cd@yahoo.com"><duonghoahoc_k49cd@yahoo.com></a><br>
  <b><span>Cc:</span></b> <a rel="nofollow" class="moz-txt-link-abbreviated" ymailto="mailto:bind-users@lists.isc.org" target="_blank" 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 rel="nofollow" ymailto="mailto:duonghoahoc_k49cd@yahoo.com" target="_blank" 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><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
bind-users mailing list
<a rel="nofollow" class="moz-txt-link-abbreviated" ymailto="mailto:bind-users@lists.isc.org" target="_blank" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a rel="nofollow" class="moz-txt-link-freetext" target="_blank" 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">-- <br>--Stacey</pre>
</div></div>
</div><br>

      </div></div>
</div><br>

      </body></html>