Re: MM bug

Kevin M Bealer (kmb203@psu.edu)
Thu, 30 May 1996 08:04:10 -0400 (EDT)


On Tue, 28 May 1996, Jeff Coy Jr. wrote:

> On Tue, 28 May 1996 d-seaman@ukans.edu wrote:
> => On Mon, 27 May 1996, Alfredo Sanjuan wrote:
> => > On Mon, 27 May 1996, Martin Mares wrote:
> => > > yet): You can simply crash the system by issuing "grep any_string /dev/zero".
> => > > As the lines in /dev/zero have infinite length, grep tries to allocate still more
> => > > memory for its line buffer until the memory is exhausted. But no out of memory
> => > > message appear and the system gets frozen (interrupts work, but normal processes
(clip)
> no memory left for grep
>
> reprinting about every 20 seconds, and although i can switch VTs, the
> system is utterly unusable and completely unresponsive. shift-scrllock
> shows no swap memory left. the only way out is to hit reset (i waited
> about 10 minutes).

ulimit lets you set maximum memory a program can use. If you have 8 MB main
and 20 MB swap set a reasonable limit, like 12-18 MB.

Does this help?

> i have 24 megs ram, with a 30 meg swap partition. 486dx2 if that helps
> any.
>
> jeff
> ---
> Why Linux? source code. POSIX. tcpip. job control. support from the authors.
> drivers for most hardware. because one terminal or process is never enough.
> forget the other O/Ss, i use Linux- the choice of a GNU generation.
>

__kmb203@psu.edu_________________________Debian__1.1___Linux__1.99.7___
"Love is a snowmobile racing across the tundra and then suddenly it
flips over, pinning you underneath. At night, the ice weasels come."
-- Matt Groening