Getting exception [Thread-5] FaSession.run - Error reading from socket in RHEL 6
Issue
- We have a standalone Java process which publishes the data ( received over the socket ) to Tibco. After some time the processing stops and we get the below error.
19:05:39 [Thread-5] FaSession.run - Error reading from socket
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at strans.FaSession.run(FaSession.java:63)
at java.lang.Thread.run(Unknown Source)
- We have below questions on this :
1) How many maximum sockets Connections are possible for a particular port onthe Redhat Server?
2) Is there a kernel parameter which can be modified socket connections for a particular port to extend the number of socket connections for a particular User or a program?
3) what is the command to monitor the activity carried out on a particular network Port and network sockets related to a process port?
4) If Process XYZ is using a particular port 12344 , is there a forceful way by which another program ABC can interfere with Process XYZ and start using the port 12345 forcefully?
Environment
- Red Hat Enterprise Linux (RHEL)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.