[torqueusers] Warewulf NHC 1.2.2 Release
msbritt at umich.edu
Thu Jan 24 13:26:14 MST 2013
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':
[root at nyx5506 msbritt]# time nhc (with check_ps_daemon)
[root at nyx5506 msbritt]# !vim
[root at nyx5506 msbritt]# time nhc (without check_ps_daemon)
On Wed, Jan 23, 2013 at 11:59 AM, Michael Jennings <mej at lbl.gov> wrote:
> On Wednesday, 23 January 2013, at 11:37:18 (-0500),
> Matthew Britt wrote:
> > Thanks Michael. I've upgraded from 1.2.1 to 1.2.2 and tested on
> > three different nodes, and the time to run went from an average of
> > .45 seconds to 3.5-5 seconds (same config). How do you enable debug
> > mode and does it give timing for each test being done so I can see
> > where the time is going?
> Do you use LDAP/NIS/etc. or have any userids or UIDs missing from your
> passwd file? Those are the most likely culprit. While previously
> failed lookups would be ignored, it's now using "getent" to try to
> resolve them.
> Debug mode can be enabled from the config, /etc/sysconfig/nhc, or the
> runtime environment by setting DEBUG=1. It won't give timing info,
> though; for that, you might want to use "bash -x /usr/sbin/nhc"
> instead. That should allow you to see where the blocking is
> If it turns out to be the fallback code, it's easy enough to make it
> disable-able. :-)
> Thanks for the feedback!
> Michael Jennings <mej at lbl.gov>
> Senior HPC Systems Engineer
> High-Performance Computing Services
> Lawrence Berkeley National Laboratory
> Bldg 50B-3209E W: 510-495-2687
> MS 050B-3209 F: 510-486-8615
> torqueusers mailing list
> torqueusers at supercluster.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the torqueusers