<div dir="ltr">Thanks Michael - that got me pointed in the right direction. We're just using /etc/passwd, and it should be up to date. The function using the time was 'check_ps_daemon sshd root':<div><br></div>
<div><div>[root@nyx5506 msbritt]# time nhc (with check_ps_daemon) </div>
<div><br></div><div>real 0m5.785s</div><div>user 0m5.565s</div><div>sys 0m0.101s</div><div>[root@nyx5506 msbritt]# !vim</div><div>vim /etc/nhc/nhc.conf </div><div>[root@nyx5506 msbritt]# time nhc (without check_ps_daemon)</div>
<div><br></div><div>real 0m0.185s</div><div>user 0m0.109s</div><div>sys 0m0.055s</div></div><div><br></div><div style>Thanks again,</div><div style> - Matt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jan 23, 2013 at 11:59 AM, Michael Jennings <span dir="ltr"><<a href="mailto:mej@lbl.gov" target="_blank">mej@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wednesday, 23 January 2013, at 11:37:18 (-0500),<br>
<div class="im">Matthew Britt wrote:<br>
<br>
> Thanks Michael. I've upgraded from 1.2.1 to 1.2.2 and tested on<br>
> three different nodes, and the time to run went from an average of<br>
> .45 seconds to 3.5-5 seconds (same config). How do you enable debug<br>
> mode and does it give timing for each test being done so I can see<br>
> where the time is going?<br>
<br>
</div>Do you use LDAP/NIS/etc. or have any userids or UIDs missing from your<br>
passwd file? Those are the most likely culprit. While previously<br>
failed lookups would be ignored, it's now using "getent" to try to<br>
resolve them.<br>
<br>
Debug mode can be enabled from the config, /etc/sysconfig/nhc, or the<br>
runtime environment by setting DEBUG=1. It won't give timing info,<br>
though; for that, you might want to use "bash -x /usr/sbin/nhc"<br>
instead. That should allow you to see where the blocking is<br>
happening.<br>
<br>
If it turns out to be the fallback code, it's easy enough to make it<br>
disable-able. :-)<br>
<br>
Thanks for the feedback!<br>
<div class="HOEnZb"><div class="h5"><br>
Michael<br>
<br>
--<br>
Michael Jennings <<a href="mailto:mej@lbl.gov">mej@lbl.gov</a>><br>
Senior HPC Systems Engineer<br>
High-Performance Computing Services<br>
Lawrence Berkeley National Laboratory<br>
Bldg 50B-3209E W: <a href="tel:510-495-2687" value="+15104952687">510-495-2687</a><br>
MS 050B-3209 F: <a href="tel:510-486-8615" value="+15104868615">510-486-8615</a><br>
_______________________________________________<br>
torqueusers mailing list<br>
<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
<a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
</div></div></blockquote></div><br></div>