On Friday 24 of July 2009, Per Jessen wrote:
Per Jessen wrote:
auxsvr@gmail.com wrote:
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.
Okay, that might be worth a try, but I'd really like to get hold of the core from this morning - I've already waited a couple of weeks for it.
Well, it looks like mysqld just didn't write a core dump after all. After googling some more, I'm beginning to think it's about permissions, so I've now set up this:
mkdir /tmp/corefiles chmod 777 /tmp/corefiles echo "/tmp/corefiles/core" > /proc/sys/kernel/core_pattern
I've also got:
/proc/sys/fs/suid_dumpable = 2
# my.cnf [mysqld] core-file
[mysqld_safe] core-file-size = unlimited
You'll also need to set ulimit accordingly, see man 5 core for a list of settings that usually prevent core dumps. Regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org