[Samba] Unknown panic actions

Michael Wood esiotrot at gmail.com
Fri Oct 23 00:59:24 MDT 2009

2009/10/22 Ralph Kutschera <news2010 at ecuapac.at>:
> Michael Wood schrieb:
>> Basically when a process crashes on Unix from a segmentation fault (or
>> for a couple of other reasons) the operating system can take a
>> snapshot of the memory of the process and write it to a "core" file.
>> Whether the OS will actually do this is controlled by things like the
>> RLIMIT_CORE which can be set with "ulimit -c" and in the case of Linux
>> by some stuff in /proc.
>> See http://kbase.redhat.com/faq/docs/DOC-4897 for more details.
> Ok.
> So I put the following into the startup script of the samba daemon and
> assume this works:
>> ulimit -H -c unlimited
>> echo "/var/log/coredumps/core.%e.%p" > /proc/sys/kernel/core_pattern
> Nonetheless I'm getting no coredumps what makes me think about whether samba
> really crashes.

Try adding in "ulimit -S -c unlimited" as well to change the soft limit.

> If it does, will it be restarted automatically? I couldn't find a reason for
> that within the Debian startup scripts.
> Ralph

Michael Wood <esiotrot at gmail.com>

More information about the samba mailing list