nv-l

netmon and /etc/hosts ?

2000-06-14 13:20:28
Subject: netmon and /etc/hosts ?
From: REIBENSCHUH Alfred <alfred.reibenschuh AT it-austria DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Wed, 14 Jun 2000 19:20:28 +0200
Hi !

the machine      : ibm-rs6000 s7a 4-way 8gb memory 9gb swap 72gb disks
the system       : aix 4.3.2
the program      : tivoli/netview 6.0a
the configuration: no DNS, a well established /etc/hosts (6000 lines plus)


on a " ovstart netmon ; netmon -M 53 " it takes hours
to get something other into the trace-file than
"event suppression installed"

then i used the gnu-debugger and found out that netmon
loops in various system-calls:
------------------------------------
#0  0xd0011e38 in fgets ()
#1  0xd0011d4c in fgets ()
#2  0xd00731dc in ho_next ()
#3  0xd0073758 in ho_byaddr ()
#4  0xd009621c in ho_byaddr ()
#5  0xd00d8194 in gethostbyaddr ()
#6  0xd22413d4 in gethostbyaddr_new ()
#7  0xd2ab3b3c in destDataByIpStr ()
#8  0xd2ab4244 in _OVsnmpConfLookupDestData ()
#9  0xd2aaabc8 in OVsnmpConfResolveDest ()
#10 0xd2ac07d0 in OVsnmpFindNodePwEx ()
#11 0xd2ac0940 in OVsnmpFindNodePw ()
#12 0x102084a8 in ?? () from netmon 
------------------------------------

which indicates he's readind the /etc/hosts and sometimes 
blocks in those calls :( for about 1-2 minutes

if i reduce the size of the /etc/hosts to about 200 lines
netmon requires only 40 seconds to write its trace as expected

has someone experienced that yet ?

is it the OS or the hosts-file ?

yours,

mfG. Alfred Reibenschuh
INFORMATIONSTECHNOLOGIE AUSTRIA GMBH
TELEKOMMUNIKATION
Networkmanagement
A-1020 Wien, Lassallestrasse 5
T: ++43-1-21717-58947


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