we are facing Very High CPU usage problen with latest ver of JSch - jsch-0.1.29.jar.
This high CPU usage occures when we have 50 parallel sftp connection for file transfers. The thread dump shows session.connect() call taking lot of CPU & time
"java.util.AbstractList$Itr@5bb966" prio=5 tid=0x000e3490 nid=0x50 runnable [0xcae7e000..0xcae7fc30]
at COM.rsa.jsafe.SunJSSE_ep.a(Unknown Source)
at COM.rsa.jsafe.SunJSSE_ep.b(Unknown Source)
at COM.rsa.jsafe.SunJSSE_ep.b(Unknown Source)
at COM.rsa.jsafe.SunJSSE_c3.a(Unknown Source)
at COM.rsa.jsafe.SunJSSE_c3.a(Unknown Source)
at COM.rsa.jsafe.SunJSSE_bn.c(Unknown Source)
at COM.rsa.jsafe.SunJSSE_bh.k(Unknown Source)
at com.sun.net.ssl.internal.ssl.JS_Signature.engineSign(Unknown Source)
at java.security.Signature$Delegate.engineSign(Unknown Source)
at java.security.Signature.sign(Unknown Source)
at com.jcraft.jsch.jce.SignatureRSA.sign(SignatureRSA.java:60)
at com.jcraft.jsch.IdentityFile.getSignature_rsa(IdentityFile.java:402)
at com.jcraft.jsch.IdentityFile.getSignature(IdentityFile.java:380)
at com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:188)
- locked <0xd7209ba0> (a java.util.Vector)
at com.jcraft.jsch.Session.connect(Session.java:353)
Can some body please help us in this ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
we are facing Very High CPU usage problen with latest ver of JSch - jsch-0.1.29.jar.
This high CPU usage occures when we have 50 parallel sftp connection for file transfers. The thread dump shows session.connect() call taking lot of CPU & time
"java.util.AbstractList$Itr@5bb966" prio=5 tid=0x000e3490 nid=0x50 runnable [0xcae7e000..0xcae7fc30]
at COM.rsa.jsafe.SunJSSE_ep.a(Unknown Source)
at COM.rsa.jsafe.SunJSSE_ep.b(Unknown Source)
at COM.rsa.jsafe.SunJSSE_ep.b(Unknown Source)
at COM.rsa.jsafe.SunJSSE_c3.a(Unknown Source)
at COM.rsa.jsafe.SunJSSE_c3.a(Unknown Source)
at COM.rsa.jsafe.SunJSSE_bn.c(Unknown Source)
at COM.rsa.jsafe.SunJSSE_bh.k(Unknown Source)
at com.sun.net.ssl.internal.ssl.JS_Signature.engineSign(Unknown Source)
at java.security.Signature$Delegate.engineSign(Unknown Source)
at java.security.Signature.sign(Unknown Source)
at com.jcraft.jsch.jce.SignatureRSA.sign(SignatureRSA.java:60)
at com.jcraft.jsch.IdentityFile.getSignature_rsa(IdentityFile.java:402)
at com.jcraft.jsch.IdentityFile.getSignature(IdentityFile.java:380)
at com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:188)
- locked <0xd7209ba0> (a java.util.Vector)
at com.jcraft.jsch.Session.connect(Session.java:353)
Can some body please help us in this ?