Set it in login.conf(5).
Code:
RESOURCE LIMITS
Name Type Notes Description
coredumpsize size Maximum coredump size limit.
cputime time CPU usage limit.
datasize size Maximum data size limit.
filesize size Maximum file size limit.
maxproc number Maximum number of processes.
memorylocked size Maximum locked in core memory size
limit.
memoryuse size Maximum of core memory use size
limit.
openfiles number Maximum number of open files per
process.
sbsize size Maximum permitted socketbuffer size.
vmemoryuse size Maximum permitted total VM usage per
process.
stacksize size Maximum stack size limit.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
|