Re: Allocation of too much memory hangs system, kernel 2.2.*

Jost Boekemeier (jostobfe@calvados.zrz.TU-Berlin.DE)
31 May 1999 10:56:29 +0200


"Giuliano Pochini" <pochini@denise.shiny.it> writes:
> >after printing 375, the system stops as described in my problem
> report.
>
> Nope. The program cores at 7, when it reaches 8MB, just like the other
> my testprgs.

He switched off the 8 MB stack size limit. use ulimit -s 1000000
or something like that and test again.

When the kernel runs out of vmem it starts to kill all runnable
processes. One of its first victims are apache, init (sic!) and
your shell. :)

Jost

-
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/