[Samba] Unknown panic actions

Michael Wood esiotrot at gmail.com
Tue Oct 27 09:29:26 MDT 2009


2009/10/27 Ralph Kutschera <news2010 at ecuapac.at>:
> Michael Wood schrieb:
>>
>> Try adding in "ulimit -S -c unlimited" as well to change the soft limit.
>
> I did so, but there are still no coredumps :(

Does this work for you?

$ cat /proc/sys/kernel/core_pattern
core
$ ulimit -c
0
$ cat abort.c
#include <stdlib.h>
int main()
{
    abort();
}
$ gcc -o abort abort.c
$ ./abort
Aborted
$ ulimit -H -c unlimited
$ ulimit -S -c unlimited
$ ulimit -c
unlimited
$ ./abort
Aborted (core dumped)
$ ls -l core
-rw------- 1 user user 143360 2009-10-27 17:21 core

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba mailing list