On Fri, 7 Jul 2000, Claudio Martins wrote:
> When I do a:
>
> % limit
>
> I get:
>
> cputime unlimited
> filesize unlimited
> datasize unlimited
> stacksize 8192 kbytes
> coredumpsize 0 kbytes
> memoryuse unlimited <<----
> descriptors 1024
> memorylocked unlimited
> maxproc 2047
> openfiles 1024
>
>
> We can see that memory use is unlimited, so it's natural that the thing
> blows easily.
>
> But you mean that even if I set memoryuse to a certain value smaller than
> total memory in the system, I can still bomb it with malloc() because in
> reality this isn't implemented?
It is implemented and it works.
The problem is that this limit is _per-process_, so one user can start a
lot of processes using a lot of memory and *boom*.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:21 EST