View Single Post
  #2   (View Single Post)  
Old 7th July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

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.
Reply With Quote