nv-l
[Top] [All Lists]

RE: netmon and /etc/hosts ?

To: nv-l@lists.tivoli.com
Subject: RE: netmon and /etc/hosts ?
From: REIBENSCHUH Alfred <alfred.reibenschuh@it-austria.com>
Date: Wed, 14 Jun 2000 19:39:14 +0200
are there any rules for successful writing
a hosts-file ?

or a combination of hosts and seedfile for discovery ?

yours,

mfG. Alfred Reibenschuh
INFORMATIONSTECHNOLOGIE AUSTRIA GMBH
TELEKOMMUNIKATION
Networkmanagement
A-1020 Wien, Lassallestrasse 5
T: ++43-1-21717-58947
F: ++43-1-21717-58979
E: alfred.reibenschuh@it-austria.com


-----Original Message-----
From: James_Shanks@TIVOLI.COM [mailto:James_Shanks@TIVOLI.COM]
Sent: Wednesday, June 14, 2000 7:36 PM
To: IBM NetView Discussion
Subject: Re: [NV-L] netmon and /etc/hosts ?




You have found the major disadvantage of using a large /etc/hosts file.  It
takes a long time to resolve.  Everything in your stack above
"gethostbyaddr"
is the OS, not netmon.
#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

James Shanks
Tivoli (NetView for UNIX and NT) L3 Support


REIBENSCHUH Alfred <alfred.reibenschuh@it-austria.com> on 06/14/2000
01:20:28 PM

Please respond to IBM NetView Discussion <nv-l@tkg.com>

To:   IBM NetView Discussion <nv-l@tkg.com>
cc:    (bcc: James Shanks/Tivoli Systems)
Subject:  [NV-L] netmon and /etc/hosts ?




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
F: ++43-1-21717-58979
E: alfred.reibenschuh@it-austria.com
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


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

Archive operated by Skills 1st Ltd

See also: The NetView Web