Maximum concurrent sessions in Rebex SFTP server

0 votes
asked Sep 11, 2019 by asgallant (240 points)

I've been combing through the Rebex documentation, but I can't seem to find an answer to this. How many concurrent sessions does the Rebex SFTP server support?

Applies to: Rebex SFTP

1 Answer

+2 votes
answered Sep 12, 2019 by Lukas Pokorny (126,870 points)
selected Sep 12, 2019 by asgallant
Best answer

Rebex File Server, our SFTP server library, doesn't currently have any built-in or configurable limitations on the maximum number of concurrent sessions.

In scenarios where it is sensible to limit this to a reasonable number (in order to prevent the server from running out of resources, for example), the recommended solution is to use FileServer object's Connecting and Disconnecting events (see here) to keep track of the number of active sessions, making it possible to refuse additional connection attempts in the Connecting event if there are already too many sessions.