Re: netmon and /etc/hosts ?

2000-06-15 17:34:25
Subject: Re: netmon and /etc/hosts ?
From: Ray Schafer <schafer AT tkg DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Thu, 15 Jun 2000 21:34:25 +0000

This is just too interesting.  You are probably right about fgets and

How do you get this stack trace, and how do you know it's hung in those
routines?  When I run dbx, it stops the program and then I can look at the
trace, so all I get are snapshots.  Is this one such snapshot?

TKG has a nice tool called sctrace.  You could get a trial version that will
show you the last 30 system calls.  It shows more details than dbx does, and it
can show you the timings and arguments as well.  30 lines ain't much but it may
be all you need in this case.


I think it is interesting that it works fine after you clear the snmpconf

Note that the stack trace gets to the ho_get* calles from

I seem to recall that there were some issues with IPv6 and AIX 4.3 (maybe
4.3.2) that talk about using bind3 or some such.

I think you need some really good tracing tools for this problem.  Maybe not
clearing the cache will cause a bunch of host lookups to occur and that's what
is screwing you up.

Ray Schafer                   | schafer AT tkg DOT com
The Kernel Group              | Distributed Systems Management

<Prev in Thread] Current Thread [Next in Thread>