[Post New]posted Yesterday 8:15:59 PM
Quote Edit [Up]
I am running a Axis2 web service server application on SUSE 11.2 Linux. I also have a web service client on a windows machine which connects to the server application. My client submits job to the server by calling the underlying API methods which are exposed over the web services.
My problem is everything works fine as long as I submit a single job at a time as user “john”. But when I increase the load on the server by sending 40-50 submit job thread requests concurrently within 60 seconds I get Jsch exception as follows in the web server’s log file. Not all but some of the job submissions are failing.
ERROR - -----------------------------------
ERROR - Failed to login, user: john
javax.security.auth.login.FailedLoginException: Authentication failed: com.altair.jaas.exceptions.JaasException: Authentication Failed: com.jcraft.jsch.JSchException:
Session.connect: java.net.SocketException: Connection reset
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
I have also checked the sshd log on the Linux machine & it shows the below error messages when multiple requests are send simultaneously to the server. The 1st set of messages are ssh error messages & the bottom or 2nd set of messages are success messages when a single job submit request is made over the web service call.
Feb 2 17:50:03 blrm123 avahi-daemon: Received response with invalid source port 39983 on interface 'eth0.0'
Feb 2 17:51:42 blrm123 avahi-daemon: Received response with invalid source port 39983 on interface 'eth0.0'
Feb 2 17:52:33 blrm123 smartd: Device: /dev/sda [SAT], 3601 Currently unreadable (pending) sectors
Feb 2 17:52:33 blrm123 smartd: Device: /dev/sda [SAT], 48 Offline uncorrectable sectors
Feb 2 17:52:38 blrm123 sshd: Accepted keyboard-interactive/pam for john from 127.0.0.1 port 39539 ssh2
Feb 2 17:52:38 blrm123 sshd: Accepted keyboard-interactive/pam for john from 127.0.0.1 port
Help from anyone to solve this issue will be just great. This will help me in improving the scalability of my application.