[Samba] How to debug a hard freeze?
Rowland Penny
rpenny at samba.org
Wed Dec 29 13:49:44 UTC 2021
On Wed, 2021-12-29 at 13:50 +0100, Valentijn Sessink via samba wrote:
> Hello list,
>
> I'm having a hard freeze of samba once in a while, and I don't know
> how
> to debug it best. I hope this list can be of help - or should I ask
> my
> question on the devel list?
>
> See below for the issue I'm experiencing. I'm aware that December 24
> probably isn't the best day to send a message - I still had hoped
> for
> more than 0 replies ;-) (Sorry to repost - if that is considered
> unpolite, please feel free to tell me but please do so off-list).
>
> I know I could "strace" smbd and try to find which function stalls
> the
> thing, and I could also use wireshark; but I am afraid that this
> will
> get me tons and tons of traffic and logs - the problem manifests
> itself
> a couple of times per year and I don't have unlimited storage. Plus
> I
> don't know how to reproduce the problem properly, that is probably
> the
> biggest problem.
>
Your setup is a bit strange (it is one parameter away from being a PDC)
and as such, is only used by a small number of others.
Trying to debug a problem that only occurs infrequently is very
difficult, especially if you have no idea when it will happen.
I would, if possible, upgrade to AD.
Rowland
More information about the samba
mailing list