[ 
https://issues.apache.org/jira/browse/SSHD-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17531316#comment-17531316
 ] 

Lyor Goldstein commented on SSHD-1265:
--------------------------------------

{quote}
But in the logs, I don't see any heart beat starting for the server. All I see 
is this.
02 May 2022 22:39:20,418 [sshd-SshServer[7d9e974a](port=59119)-nio2-thread-2] 
DEBUG ServerConnectionService - 
stopHeartBeat(ServerSessionImpl[[email protected]/10.84.45.195:58239]) no 
heartbeat to stop
{quote}
Have you enabled TRACE level logging ? Heartbeat messages are logged at that 
level:
{code:java|title=AbstractConnectionService}
protected boolean sendHeartBeat() {
        HeartbeatType heartbeatType = getSessionHeartbeatType();
        Duration interval = getSessionHeartbeatInterval();
        Session session = getSession();
        boolean traceEnabled = log.isTraceEnabled();
        if (traceEnabled) {
            log.trace("sendHeartbeat({}) heartbeat type={}, interval={}",
                    session, heartbeatType, interval);
        }
{code}

+Note+ that enabling TRACE level globally dumps *a lot* of data - consider 
limiting it only for {{ServerConnectionService}}

> maximum number of concurrent connections to SFTP Server?
> --------------------------------------------------------
>
>                 Key: SSHD-1265
>                 URL: https://issues.apache.org/jira/browse/SSHD-1265
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Sreedhar J
>            Priority: Major
>
> as part of my performance test, I am sending 180 concurrent requests to 
> Apache SFTP Server, but I can got the test completed.  around 10 to 15 
> requests gets timed out.   Are there any known tuning properties on the 
> SSHD/SFTP Server  which increases the concurrent connecttion request 
> processing.
> Also, Anyone has some data around max concurrent connections?  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to