Re: limits.conf/stacksize doesn't seem to work?
- Reply: Larry Rosenman : "Re: limits.conf/stacksize doesn't seem to work?"
- In reply to: Larry Rosenman : "limits.conf/stacksize doesn't seem to work?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Jul 2022 22:18:24 UTC
On Fri, Jul 15, 2022 at 05:04:18PM -0500, Larry Rosenman wrote: > I'm using the following kernel config: > [...] > and the following login.conf: > [...] > bacula_dir:\ > :stacksize-max=68719476736:\ > :stacksize-cur=68719476736:\ > :tc=daemon: > [...] > I've updated my (ler) password entry to reference bacula_dir: > ler:<elided>:1001:1001:bacula_dir:0:0:Larry > Rosenman:/home/ler:/usr/local/bin/zsh > > > when I ssh in, the stacklimit is still: > โฏ ulimit -H -s > 2097152 What is the value of the kern.maxssiz sysctl on this system? > ler in ๐ borg in sys/amd64/conf๐ on ๎ ler/freebsd-main-changes:main on > โ๏ธ (us-east-1) > โฏ ulimit -S -s > 2097152 > > ler in ๐ borg in sys/amd64/conf๐ on ๎ ler/freebsd-main-changes:main on > โ๏ธ (us-east-1) > โฏ > > Where does this number come from? What am I missing here? The stack limit cannot be set to an arbitrarily large number. It will silently be clamped to maxssiz.