On Thu, Aug 27, 2020 at 02:52:04PM +0200, Mischa wrote: | Hi All, | | I am managing a OpenBSD instance for a customer of mine who uploads camera images via sftp to be used in a single location. | It looks like there are quite a number of camera’s uploading at once. | I am seeing a lot of message like: | | Aug 27 13:53:28 images sshd[68494]: error: do_exec_no_pty: fork: Resource temporarily unavailable | Aug 27 13:53:43 images sshd[53989]: error: do_exec_no_pty: fork: Resource temporarily unavailable
For the archives .. you're not running out of pty's but..... ^^^^ ....you can't fork. That's another resource that's limited. There's a kernel limit (sysctl kern.maxproc), but there's also ulimits (those you are more likely to hit, especially if it's all the same user). | I have tried adding a bunch of pty’s and increased them, | inadvertently from 62 to 620, but I guess I missed something. :/ You missed the 'fork' part. Oh, and the "no_pty" part of the function that was complaining: sftp can work without a pty (see https://man.openbsd.org/ssh#T - sftp doesn't need a pseudo terminal IIRC). | Any insights someone can share? Cheers, Paul -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/

