What makes you think that netmon, trapd, snmpCollect, and nvcorrd, just to
name a few daemons which do many gethostbyaddr calls will not have the
same problem that syslogd does? Sooner or later, they will. gethostbyaddr
/ gethostbyname is a system call, and if it is slow for one process, it
will be slow for all.
James Shanks
Level 3 Support for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
"Francois Le Hir" <flehir@ca.ibm.com>
03/25/2003 01:40 PM
To: nv-l@lists.tivoli.com
cc:
Subject: [nv-l] name resolution on netview server
Did any of you try using the "NSORDER" environment variable to alter the
name resolution for Netview ?
here is my situation:
I started entering a lot of entries in the /etc/host file for Netview in
order to have specific name resolution because the dns service that is
running on the server itself resolve different interfaces of the same
object to different names (services). Now we have over 1300 lines in the
hosts file and other applications are suffering: syslogd which does a
gethostbyaddr for every entries it receives was dropping over 75% of the
data and taking 100 % of one of the cpu. (we receive lots of syslog data
from the network)
I would like to change the name resolution to "hosts=bind,local" in
netsvc.conf in order to make the whole system (including syslogd) use
named
first but at the same time continue to use the hosts file first for
Netview.
after changing netsvc.conf, I tried to enter "export NSORDER=local,bind"
in
netnmrc.pre but the system didn't like it. I restarted the daemons several
times but netviewd and ems_log_agent would not restart.
any idea ?
Salutations, / Regards,
Francois Le Hir
Network Projects & Consulting Services
IBM Global Services
Phone: (514) 205 6695
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|