Kbase P17184: SCO OpenServer: TCP sockets causing OS function Accept() fails with errno=6
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/9/2006 |
|
Status: Verified
FACT(s) (Environment):
SCO OpenServer 5.0.4
SYMPTOM(s):
Error reading socket, ret=0, errno=2 (778)
Accept() system call failed, error=6 (4961)
When the 25th user connects to the database, the connection fails with error 778
error 4961 is recorded in the log file
The 25th user can be from any PC
CAUSE:
The Accept() that fails with errno=6 (#define ENXIO 6 No such device or address) is failing at the *OS level*. The system is running out of TCP sockets.
FIX:
Check that the following supplements are installed on the 5.0.4 system:
rs504c, oss46d and oss623a
TCP sockets can be increased by logging in as root (or administrator) and using the "netconfig" configuration manager:
highlight TCP protocol -> select modify -> Increase number of TCP connections, and pseudo terminals if required.
After this, relink the kernel:
cd /etc/conf/cf.d
./link_UNIX
and then reboot the system for the changes to take effect.
Finally, it is also be worth using the /etc/tunek utility to ensure that the system is tuned for the licensed number of users. For specific details on how to use this utility see:
http://osr5doc.sco.com:457/cgi-bin/man/man?tunek+ADM