PROBLEM:	(IPMT Case CFS.27284)	(Patch ID: OSF365-350169)
********
The DEC SNA PeerServer product instantiates a new (protocol engine) daemon that
connects to the mold daemon component of the Common Agent each time an incoming
request is received by the DEC SNA PeerServer product from the network. 

The PeerServer product can handle hundreds of requests per minute, each time
starting and then stopping its protocol engine daemon that connects to the 
mold daemon.  The mold daemon does not clean up the socket connection that 
gets created each time the PeerServer creates a new connection to the mold, 
leaking several thousand bytes of virtual memory per connection, plus leaves 
the socket connection dangling.

Over time, the mold component can consume all available virtual memory, 
causing unpredictable results and system performance degradation.  
Ultimately, the customer is forced to stop and restart the PeerServer product, 
which is not acceptable to the customer, as this process is very resource 
intensive and can take many minutes to complete.

Errors may get logged in the /var/adm/syslog.dated/<date>/daemon.log file, 
including messages similar to these (t21mcd and t21mad are DEC SNA PeerServer
daemon components; mold is a Common Agent daemon component):

<timestamp><nodename> t21mcd[1184]: Daemon process t21mad(1188)
                terminated, signal=6
<timestamp><nodename> t21mcd[1184]:
                Started daemon process t21mad (3617)
<timestamp><nodename> mold[324]: S011 - mold_*() call failed -
                (MAN_C_OBJECT_ALREADY_EXISTS)
<timestamp><nodename> last message repeated 6 times
<timestamp><nodename> t21mcd[1184]: Daemon process t21mad(3617)
                terminated, signal=6
<timestamp><nodename> t21mcd[1184]:
                Started daemon process t21mad (3892)
<timestamp><nodename> mold[324]: S011 - mold_*() call failed -
                (MAN_C_OBJECT_ALREADY_EXISTS)
<timestamp><nodename> last message repeated 6 times
<timestamp><nodename> t21mcd[1184]: Daemon process t21mad(3892)
                terminated, signal=6
<timestamp><nodename> t21mcd[1184]: Started daemon process -
                t21mad (3910)
<timestamp><nodename> mold[324]: S011 - mold_*() call failed -
                (MAN_C_OBJECT_ALREADY_EXISTS)
etc., etc.


FILE(s):

/usr/sbin/mold 		subset OSFCOMAGENT350
CHECKSUM: 19886    176	RCSfile: sck_mold_sstb.c RCS: 1.1.6.2
			RCSfile: socket.c       RCS: 1.1.6.2
