Re: prevent out of memory
carloschoenberg_at_yahoo.com
Date: 08/02/04
- Next message: carloschoenberg_at_yahoo.com: "Re: prevent out of memory"
- Previous message: Abdullah Ramazanoglu: "Re: Is there a seven segment display font for Linux?"
- In reply to: Michael Heiming: "Re: prevent out of memory"
- Next in thread: Michael Heiming: "Re: prevent out of memory"
- Reply: Michael Heiming: "Re: prevent out of memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 1 Aug 2004 20:46:36 -0700
Michael Heiming <michael+USENET@www.heiming.de> wrote in message news:<cvkvt1-uko.ln1@news.heiming.de>...
> > maximum memory usage per process needs to be less than available
> > memory. So if you have 8GB of RAM+swap you must give each user, for
> > example, a max of 1G/process and 8 processes, or 128MB per process and
> > 64 processes.
>
> And don't forget to restrict max logins, as those limits are per
> login. Anyway I don't see where those are not suitable? Sure it's
> a little configuration and mostly used to stop people from being
> able to bring the system to a grinding halt with some fork bomb.
I see your confusion now. These limits are not per login. The rlimits
related to process size are per *process*.
This is why they do not work to prevent a user from running the system
out of memory. The user can run multiple processes.
While the number of processes a *user* can run can also be limited, a
reasonably large limit must be set.
- Next message: carloschoenberg_at_yahoo.com: "Re: prevent out of memory"
- Previous message: Abdullah Ramazanoglu: "Re: Is there a seven segment display font for Linux?"
- In reply to: Michael Heiming: "Re: prevent out of memory"
- Next in thread: Michael Heiming: "Re: prevent out of memory"
- Reply: Michael Heiming: "Re: prevent out of memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|