Re: Kernel panic: can't push onto full stack

Brian Gerst (bgerst@quark.vpplus.com)
Sun, 28 Feb 1999 11:23:39 -0500


Michael Merhej wrote:
>
> Hello,
>
> I have been getting this error message quite frequently on 3 similarly
> configured machines. After the kernel panics, the machine is still
> pingable and seems to almost establish tcp connections, but
> just hangs. All services running on the machines no longer function.
> What exactly does this error mean? The machines have plenty of ram and
> never use the swap space due to the large amount of ram.

The kernel has a fixed size stack (8k) regardless of how much physical
memory you have. Each process has its own kernel mode stack. Interrupt
contexts use the stack of whatever process is currently running. This
is one of the major reasons recursion is stricly limited inside the
kernel. Also you may have a function somewhere allocating large amounts
off the stack.

-- 

Brian Gerst

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