On Thu, 12 Apr 2001, Ilya Konstantinov wrote:

> On Thu, Apr 12, 2001 at 02:01:10PM +0300, Nadav Har'El wrote:
> > This is weird... I tried it, and indeed the ulimit -d seems to have no
> > effect! Is this a bug in Linux's handling of this limit? (I'm using kernel
> > 2.2.16 and zsh 3.0.8).
>
> Okay, this should pretty much solve it:
> http://www.davin.ottawa.on.ca/archive/modperl/2000-03/msg00808.phtml

btw, as you can see, this is not a bug. it goes to show you that when you
do something - you should do it right. if you _assume_ that data segments
are what is used yb your program, and they are not, you've made a
non-conservative system management choice... what if the program instead
just overflows the stack (for example)? your limit won't work even on a
non-linux system. thus, limiting virtual memory size is something that
makes sense (also is limiting file size, for other similar problems).

this was just some observation.

--
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to