Consultor Eletrônico



Kbase 15978: Sockets and Error 1160 - Accept failed from Listen Socket
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Sockets and Error 1160 - Accept failed from Listen Socket

When debugging error 1160 "Accept failed from listen socket (1160)"
keep in mind that sockets are files for which a file descriptor is
needed. Check the kernel parameters NFILE and NOFILES or the
appropriate parameters for your system to indicate the maximum number
of open files per session and per system as they may be too low.

On V.4 system there is another file that may need to be modified.
/etc/conf/sdevice.d/sockmod is a file that specifies the maximum
number of sockets that can be used. The file contents may look like
this:

sockmod Y 128 0 0 0 0 0 0

By default this may specify 128 as the maximum number of sockets that
can be in use. This can be increased to 4096.

You may also need to edit the file /etc/conf/cf.d/mdevice. Search for
sockmod. The line may read like this:

sockmod I iSf sock 0 0 0 255 -1

Change the 255 to agree with the number specified in sockmod (4096).

It may be necessary to consult with your OS vendor for further
information on these parameters and others that may relate to sockets
and file descriptors.

AUGUST 1996

Progress Software Technical Support Note # 15978