On Thursday 23 of July 2009, Per Jessen wrote:
auxsvr@gmail.com wrote:
On Thursday 23 of July 2009, Per Jessen wrote:
I've been trying to make mysqld write a coredump following a crash, and this morning I finally succeeded - according to mysqld.log anyway. It clearly says "Writing a core file" - but where to? I've checked the datadir /var/lib/mysql, whereelse might it be?
/Per
Check /proc/sys/kernel/core_pattern.
Thanks, but that only tells me the filename, not the directory. And yes, I _have_ done a find for core*.
/Per
Then set the directory by writing to this file. For example, echo /cores/core > /proc/sys/kernel/core_pattern make core files reside in /cores/. Also don't forget echo 1 > /proc/sys/kernel/core_uses_pid. Regards. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org