>>>>> "steven" == Steven Lawrance <[EMAIL PROTECTED]> writes:

steven> I love Linux as much as anyone here, but to put things in perspective, how 
steven> about this:

steven> void main(void) {
steven> while (1)
steven> fork();
steven> }

You can fix this with limits, i.e. not letting any user to fill all
the RAM memory of your machine.  If you are administering a machine
that can have hostile users and you are not using resources limits,
your systems is misconfigured. 

man bash (search for ulimit) in special -u & -v.
             -a     All current limits are reported
              -c     The maximum size of core files created
              -d     The maximum size of a process's data segment
              -f     The maximum size of  files  created  by  the
                     shell
              -l     The  maximum  size  that  may be locked into
                     memory
              -m     The maximum resident set size
              -n     The maximum number of open file  descriptors
                     (most  systems do not allow this value to be
                     set)
              -p     The pipe size in 512-byte blocks  (this  may
                     not be set)
              -s     The maximum stack size
              -t     The maximum amount of cpu time in seconds
              -u     The maximum number of processes available to
                     a single user
              -v     The maximum amount of virtual memory  avail�
                     able to the shell

Later, Juan.

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

Reply via email to