lkml.org 
[lkml]   [1998]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem with large core dumps [2.1.85, SMP]
On Tue, 10 Feb 1998, Hein Roehrig wrote:

>Hi,
>
>I use 2.1.85 on a dual P II board (Gigabyte DLX, pirq=0 on command line) with
>256M RAM: I have a process that needs about 1 gigabyte to run successfully. If
>I set up a sufficently large swap space, then the program runs (slowly)
>without any problem. But if there isn't enough memory, the process aborts with
>a core dump -- totally freezing the system while the core dump (in the order
>of 300M with 128M swap) is written to the disk, to the point that exec doesn't
>work anymore (unable to load interpreter or just plain immediate coredump).
>With 2.0.33 this does not happen.
>
>On a related note: Could somebody confirm that there is no way to restrict the
>resident set size of a process under Linux (since ulimit is not implemented)?

But sure you can restrict the core size limit:

ulimit -c 0

under bash.

Andrea[s] Arcangeli


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.057 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site