On 2024-11-23, Jon Fineman <j...@fineman.me> wrote:
> This is what my class has at the moment:
>
>:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin 
> /usr/local/sbin:\
>:umask=022:\
>:datasize-max=infinity:\
>:datasize-cur=infinity:\
>:datasize=infinity:\
>:maxproc-max=1024:\
>:maxproc-cur=512:\
>:openfiles-max=8192:\
>:openfiles-cur=8192:\
>:stacksize-cur=64M:\
>:localcipher=blowfish,a:\
>:tc=auth-defaults:\
>:tc=auth-ftp-defaults:
>
> Which is giving me:
>
> ulimit -a
> time(cpu-seconds)    unlimited
> file(blocks)         unlimited
> coredump(blocks)     unlimited
> data(kbytes)         1572864
> stack(kbytes)        4096
> lockedmem(kbytes)    87381
> memory(kbytes)       32399952
> nofiles(descriptors) 512
> processes            256

These don't match at all. datasize 1.5G vs infinity. stack 4M vs 64M.
openfiles 512 vs 8192 (also 8192 is higher than the default kernel
limit). Either you changed a lot of values and haven't re-logged in
so they haven't taken effect yet, or your account is not in the class
you think. Check the fifth column in master.passwd:

username:$2b$13$passwordhash:uid:gid:class:...
                                     ^^^^^


-- 
Please keep replies on the mailing list.

Reply via email to