When the sftp traffic is high, the sftp service stop working intermitterntly.
From the ssg log, there is exception as below,
2020-07-27T22:15:28.023-0400 SEVERE 1667 com.l7tech.external.assertions.ssh.server.ae: Exception caught in SFTP subsystem
java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 20, active threads = 20, queued tasks = 25, completed tasks = 118]
The FTP client has error message like "Too many concurrent connections",
The gateway has default limit as 20 for the concurrent SFTP download threads
Release : 9.4
Component : API GTW ENTERPRISE MANAGER
Increase the value of following cluster wide property as per the requirement of the current traffic, for example, set it as 50,
ssh.responseDownloadThreadLimit
It's a hidden cwp, on cluster wide properties window, click Add button, manually input the above cwp, it will show the default value as below,