Java call-in on Linux
Author: email@example.com (fkfausa)
gianni said [SOLVED] Solutions: Issue #1: TCP error : Too many open files
It depends from too low maximum number of open files at kernel level; taking a simplified approach there are 2 parameters to change: Step 1 - maximum number of opened files at system level: $ sudo vi /etc/sysctl.conf add:
net.core.somaxconn=131072 fs.file-max=131072 exec following comand to have your kernel considering modifications:
$ sudo sysctl -p Step 2 - maximum number of opened files at user session level: $ sudo vi /etc/security/limits.conf add:
* soft nofile 65535 * hard nofile 65535 Step 3 - maximum number of opened files as constant at kernel compile level: $ sudo vi /usr/include/linux/limits.h change:
NR_OPEN = 65536
Step #1 and #2 are mandatory; step #3 is optional.
Issue #2 - Failed to start (len=191) /home/usys/uniface9604/common/bin/userver -srvid=27 -dnp=TCP:+13001||06F416A6-E1D0-11E4-B2F7-D60C3E25F06A| -drv=ANY -ust=lisrv -dir=/home/usys/uniface9604/gest -asn=/opt/labinf/asn96/lisrv.asn
It depends from a bug in glibc; upgrade your glibc to version >=2.18 or to latest avalable for currently supported RedHat Enterprise and derivative.
Consider I didn't change ANYTHING on Uniface!!!
Hi Gianni! I was searching the forums for "Java call-in on Linux". This post seems to indicate that this is possible. Is that correct? If yes, how? I hope you can take som time to answer this, crossing my fingers . Regards, Frode EDIT [DISELI]: Created a new topic for this