ITEM: V0149L

pdnsd hogging cpu time


Question:

After the upgrade from CSet++ 2.1.2 to 2.1.4, the broswer name server
daemon (/usr/lpp/xlC/browser/pdnsd) seems to be using 100% of the CPU
time. What causes this and how can I fix it?

Response:

ENV
BOS 3.2.5
xlC 2.1.2

DESC
The customer is experiencing the menacing horror of 'THE PDNSD 
PROCESS THAT WOULDN'T DIE!!!'. E.G., the pdnsd process which is
being spawned from the /etc/inittab 'browser' entry keeps dying
and respawning, the practical offshoot of this is that it seems
to eat up all available CPU time on the machine.

ACTION
If you discover that pdnsd is hogging the CPU, the problem is that
pdnsd will enter a tight loop in which it attempts to get a
successful return from getservbyname("cppbrowse","tcp"). If you
are in a non-NIS environment the solution is as simple as adding
the line
cppbrowse       4242/tcp
to the /etc/services file.
However, if you are in an NIS environment where /etc/services is
mapped (which should always be the case), the procedure is a 
little different. First, add the line, 'cppbrowse 4242/tcp' to
the services file on the NIS master. You will then have to rerun
ypmake to refresh the services.byname and services.byport maps.
At this point you will probably have to use yppush to distribute
the new maps to the clients.


Support Line: pdnsd hogging cpu time ITEM: V0149L
Dated: June 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:34
Comments or suggestions? Contact us