[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference forty2::x500

Title:X.500 Directory Services
Notice:Sprt: FORTY2::X500_SUPPORT, Kits: 216.*, try dir/titl=OFFICIAL
Moderator:FORTY2::PULLEN
Created:Tue Jan 30 1990
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1016
Total number of notes:4299

1010.0. "slow ncl response on naming context query, why??" by IJSAPL::DEWIJK (GJ from the Dutchlands) Fri May 23 1997 10:42

Hi,

When issueing the

ncl> sho dsa naming context 'context-name'

command, the response is fast, but when issueing the

ncl> sho dsa naming context 'context-name' all

the dsa seems to hang for a few minutes and after a while the expected 
response ( the supplier info ) appears on the screen.


What explains the difference in response?
What does the dsa do more when asked for 'all' information?

thanks
GJ, who wants to understand what happens
    
T.RTitleUserPersonal
Name
DateLines
1010.1FORTY2::PALKAFri May 23 1997 11:458
    I suspect the key difference is that some presentation addresses
    containing rfc1006 nsaps are displayed. The nsap is stored in binary,
    and an attempt is made to convert it to the node name. This involves
    use of the bind service to do a back-translation (gethostbyaddr).
    
    Possibly your bind service is slow.
    
    Andrew
1010.2DSA does not respond during the ncl-showIJSAPL::DEWIJKGJ from the DutchlandsMon May 26 1997 10:477
    Andrew,
    
    rfc1006 nsaps could play a role, but during the activity, the DSA does
    not respond to any ncl-command or dxim-search. ( on another terminal )
    Is this normal?
    
    GJ
1010.3a-133.tunnel.crl.dec.com::FORTY2::PALKAAndrew Palka Altavista DirectoryTue May 27 1997 16:5010
It is possible that the gethostbyaddr routine is not known as being
thread safe, so the global lock is taken out around it. This might
well cause other parts of the dsa to wait until the lock is released.

This would be unfortunate, but if this is the case there is not
much that we can do about it.

I will investigate this further.

Andrew