domgiles/swingbench-public

SwingBench 2.6 : Connection reset by peer- Authentication lapse 0ms is seen when using more than 2 users

mbadayil opened this issue · 0 comments

Hi,

I'm running some benchmark testing with SwingBench version 2.6 against Oracle 19c. My plan is to run with 100 users, however after 2 or3 users I started getting Connection reset by peer- Authentication lapse 0ms error, I tried this many times and all the time I'm hitting same error. Any help would be appreciated! Please take a look at the screenshot, if you need more info please let me know

Here is the error-stack :

Last login: Thu Jan 7 11:12:40 on ttys000
ddn11394m:~ $ ssh root@
root@'s password:
Last login: Wed Jan 6 18:07:50 2021
[root@LnxOra ~]# su oracle
(reverse-i-search)`sw': ./^Cingbench
[oracle@LnxOra root]$ pwd
/root
[oracle@LnxOra root]$ cd oor
bash: cd: oor: Permission denied
[oracle@LnxOra root]$ cd /home/oracle/
[oracle@LnxOra ~]$ ls
Desktop Downloads grid Music Public swing Videos
Documents error.log hammer Pictures scripts Templates
[oracle@LnxOra ~]$ vi error.log

SEVERE: Thread 53 : UserSession signalled an unrecoverable error, see following message, stopping thread!
Jan 10, 2021 11:05:06 PM com.dom.benchmarking.swingbench.kernel.UserSession processException
SEVERE: Could not establish/maintain connection :
com.dom.benchmarking.swingbench.kernel.SwingBenchException: com.dom.benchmarking.swingbench.kernel.SwingBenchException: java.sql.SQLRecoverableException: IO Error: Connection reset by peer, Authentication lapse 0 ms.
at com.dom.benchmarking.swingbench.kernel.UserSession.initialiseConnection(UserSession.java:497)
at com.dom.benchmarking.swingbench.kernel.UserSession.run(UserSession.java:157)
Caused by: com.dom.benchmarking.swingbench.kernel.SwingBenchException: java.sql.SQLRecoverableException: IO Error: Connection reset by peer, Authentication lapse 0 ms.
at com.dom.benchmarking.swingbench.kernel.SwingBenchConnectionFactory.getDedicatedConnection(SwingBenchConnectionFactory.java:92)
at com.dom.benchmarking.swingbench.kernel.UserSession.initialiseConnection(UserSession.java:485)
... 1 more
Caused by: java.sql.SQLRecoverableException: IO Error: Connection reset by peer, Authentication lapse 0 ms.
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:874)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:793)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:57)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:747)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:406)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:291)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:206)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:184)
at com.dom.benchmarking.swingbench.kernel.SwingBenchConnectionFactory.getDedicatedConnection(SwingBenchConnectionFactory.java:75)
... 2 more
Caused by: java.io.IOException: Connection reset by peer, Authentication lapse 0 ms.
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:870)
... 10 more
Caused by: java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:470)
at oracle.net.nt.TimeoutSocketChannel.write(TimeoutSocketChannel.java:203)
at oracle.net.ns.NIOPacket.writeToSocketChannel(NIOPacket.java:350)
at oracle.net.ns.NIONSDataChannel.writeDataToSocketChannel(NIONSDataChannel.java:199)
at oracle.net.ns.NIONSDataChannel.writeDataToSocketChannel(NIONSDataChannel.java:144)
at oracle.jdbc.driver.T4CMAREngineNIO.flush(T4CMAREngineNIO.java:743)
at oracle.jdbc.driver.T4CMAREngineNIO.prepareForUnmarshall(T4CMAREngineNIO.java:756)
at oracle.jdbc.driver.T4CMAREngineNIO.unmarshalUB1(T4CMAREngineNIO.java:429)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:407)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:268)
at oracle.jdbc.driver.T4CTTIoauthenticate.doOSESSKEY(T4CTTIoauthenticate.java:521)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:691)
... 10 more

I didnt attach the screenshot, its the same error in the stack