[Post New]posted Yesterday 8:15:59 PM
Quote Edit [Up]
Hi All,
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 - Authentication failed: com.altair.jaas.exceptions.JaasException: Authentication Failed: com.jcraft.jsch.JSchException: Session.connect:
java.net.SocketException: Connection reset
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 com.altair.jaas.module.JschLoginModule.login(JschLoginModule.java:100)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
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[3146]: Received response with invalid source port 39983 on interface 'eth0.0'
Feb 2 17:51:42 blrm123 avahi-daemon[3146]: Received response with invalid source port 39983 on interface 'eth0.0'
Feb 2 17:52:33 blrm123 smartd[3538]: Device: /dev/sda [SAT], 3601 Currently unreadable (pending) sectors
Feb 2 17:52:33 blrm123 smartd[3538]: Device: /dev/sda [SAT], 48 Offline uncorrectable sectors
Feb 2 17:52:38 blrm123 sshd[20290]: Accepted keyboard-interactive/pam for john from 127.0.0.1 port 39539 ssh2
Feb 2 17:52:38 blrm123 sshd[20283]: 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.
Thanks
Ayaskant
Bangalore
India