Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SFTP file transfer taking longer than usual #884

Open
DileepMK7 opened this issue Jul 26, 2023 · 0 comments
Open

SFTP file transfer taking longer than usual #884

DileepMK7 opened this issue Jul 26, 2023 · 0 comments

Comments

@DileepMK7
Copy link

SFTP File transfer is taking longer than usual time.

In some cases the SFTP file transfer took 35 min for 5MB of file transfer.

After checking the logs I could see that the sshj library is using the BouncyCastleRandom class to generate the random seed, and it took approximately 2154399 milliseconds (or around 35 minutes)

2023-07-07-T08:03:09.506+0200 | xxxx| | pool-flow.seda.xxx-xx-xx-thread-142339 | INFO | net.schmizz.sshj.transport.random.BouncyCastleRandom | Generating random seed from SecureRandom. 2023-07-07-T08:39:03.906+0200 | xxxx| | pool-flow.seda.xxx-xx-xx-thread-142339 | DEBUG | net.schmizz.sshj.transport.random.BouncyCastleRandom | Creating random seed took 2154399 ms

We have checked the system CPU and memory usage and they were within limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant