[Samba] Unknown panic actions
Ralph Kutschera
news2010 at ecuapac.at
Thu Oct 22 10:26:45 MDT 2009
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.
If it does, will it be restarted automatically? I couldn't find a reason
for that within the Debian startup scripts.
Ralph
More information about the samba
mailing list