[Bugs] [Bug 1315201] [GSS] - smbd crashes with 3.7.6 and VFS module 4.2.3
bugzilla at redhat.com
bugzilla at redhat.com
Thu Mar 10 10:38:17 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1315201
--- Comment #11 from Anoop C S <anoopcs at redhat.com> ---
Hi Mukul,
Since we can't move forward with the first solution to generate complete core
files I will now put forward an alternate procedure. This procedure will enable
Samba to dump complete cores thereafter for all new/existing client
connections.
prerequisite:
If not present, install util-linux package in order to get prlimit binary.
1. Run the following one liner:
# for i in $(pgrep smbd); do prlimit --pid=$i --core=unlimited; done;
2. Verify the changes made in step 1 for soft limits:
(scripted way)
# > /tmp/samba-core-file-size; for i in $(pgrep smbd); do cat /proc/$i/limits |
grep "Max core file size" | tr -s ' ' | cut -d ' ' -f5 >>
/tmp/samba-core-file-size; done;
# cat /tmp/samba-core-file-size
must display all as "unlimited".
# > /tmp/samba-core-file-size; for i in $(pgrep smbd); do cat /proc/$i/limits |
grep "Max core file size" | tr -s ' ' | cut -d ' ' -f6 >>
/tmp/samba-core-file-size; done;
# cat /tmp/samba-core-file-size
must display all as "unlimited".
OR
(manual way)
Soft and hard limits for 'Max core file size' field from the output of `cat
/proc/<pid>/limits`, where pid=each pid from the output of `pgrep smbd`, must
show as unlimited.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=M2pthRxKW4&a=cc_unsubscribe
More information about the Bugs
mailing list