Re: How to produce a core

From: Willy Tarreau
Date: Wed May 23 2007 - 23:50:00 EST


On Thu, May 24, 2007 at 11:28:15AM +0800, gshan wrote:
> This morning, I tried command "kill -7 [pid]" but didn't see the core
> file. Anybody has ideas?

do the following before starting your program :

# ulimit -c unlimited

You can check before and after that the core size changed from 0 to
"unlimited" :

# ulimit -a

Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/