Re: memory crash

Phillip Dillinger (Phillip.Dillinger@sealabs.com)
Tue, 10 Dec 1996 09:41:45 -0800


>
> I have some questions:
> 1. Is it possible to set limits on accounts so that
> a. this kind of thing cannot be done ?
> b. other performance won't suffer?
> 2. What should be done to insulate the system against this kind of thing?
>
> -sen
>

You can use bash's ulimit to limit things such as core dump size, text
memory size, etc. Like this:

ulimit -d 1024

will limit a single process's data segment to 1M. Look at man bash for more
options. Also, other shells have that feature.

Phillip Dillinger phillip.dillinger@sealabs.com