[comp.sys.apollo] NCS sockets

agq@itd1.dsto.oz (Ashley Quick) (08/28/90)

A week or two ago, I was asking about NCS sockets, and so on.

I had a number of replies, and posted a summary back here. A summary of
the summary follows:

   The problem:
!!            [ part of message deleted ]
!! > message "unable to locate printers for site xxxxx - unable to bind
!! > socket". When it is sick the /etc/ncs/lb_admin utility will not talk
!! > to the local location broker (llbd), you cannot CRP off or on the
!! > node, etc.
!! A summary of the answers:
!! (ULEK%HPUSTOA.HP.COM)   writes:
!! > It is possible that you are simply running out of Domain (DDS) sockets
!! > (not the same thing as BSD sockets). There are 23 such sockets
!! > available on a node at SR10.1, 64 at SR10.2 . The socket limit is
!! > documented on the limits(7) man page (limits(5) in SysV).
!! > In your case, what is probably happening is that your NCS servers and
!! > clients are consuming all of the 23 available sockets. When you do
!! > "prf -list_printers", prf contacts the prmgr:s, and to do this, prf
!! > must allocate a socket for communication with (first) the glbd (to get
!! > a list of prmgr:s) and the prmgr:s. However, since there are no free
!! > sockets, the prf commands fails with "unable to bind socket".
!!    [ art of msg deleted ]
!! > (1) Move some of the NCS servers to other machines.
!! > (2) Upgrade to SR10.2 (this raises the limit to 64 sockets).
!! > (3) Install patch 49 (for SR10.1). The release notes for this patch
!! >     (available on patch tapes for August through December 1989) says,
!! >     among other things:
!! >                    o The number of user sockets was not large enough
!! >                      (APR dd0fb). The number of user sockets was
!! >                      increased to 96. This fix is for sau7 only.  DO
!! >                      NOT use this include file for building other
!! >                      saus; it will cause global B overflow.
!! >
!! >     I should add that I don't know anybody who has actually verified
!! >     that this patch _will_ raise the DDS socket limit.
!! (root@ICAEN.UIOWA.EDU (Super user) )
!! > Yes, there is a limit that is set by the number of NCS sockets that you
!! > can have open. This limit is OS revision dependent. (See next question)
!! >       [deleted]

After posting this, we tried to get hold of Patch 49 (for SR10.1).
Our sys admin installed this last week. This appears to have cured the
problem: I ran lots of print servers, brokers, registry, about 10 CRP's,
a few prf -list_pr's, etc and it would not break.

Issuing 'bldt' gives a version of 10.1.1.4.

Apparently, the patch actually creates a completely new version of the
OS kernel.


Ashleigh Quick
AGQ@dstos3.dsto.oz.au