Re: tweaking max sessions / scaling

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 9/26/2017 9:07 PM, Peter Stuge wrote:
> Mike Tancsa wrote:
>> Without leaving the server at debug2 logging level, is there a way
>> to find out if I am hitting application limits vs OS limits ?
> 
> If you run sshd under ktrace maybe you can spot resource limit errors
> for relevant syscalls in the kdump output.

Thanks! Although in this case, the measurement seems pretty resource
intensive.  I increased the MaxSessions and as well as MaxStartups and I
have the failure rate down to under 10 per day.  So it seems based on
changing that, it is application limits ?

I added

MaxSessions 920
ClientAliveInterval 15 # get rid of procs sitting arround
MaxStartups 30:50:500

Most of the clients come behind a single natted IP.

	---Mike

-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@xxxxxxxxxx
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux