stale unix domain socket file keeps increasing if winbindd keeps failing

Dave Wang dave.ftnt at gmail.com
Tue Nov 14 20:05:21 UTC 2017


Hi,

I am running samba 4.6.4, and I have a script periodically run

/usr/sbin/winbindd winbindd -i -s <config_file> -d0

until it is success.

but the problem is, every time winbindd fails, it leaves two stale socket
files under <private dir>msg.sock and two stale lock files under msg.lock.

so with time passing, finally it consumes all the inodes in my disk (a VM)
and I can do nothing.

I know that we can config "messaging : messaging dgm cleanup interval = 1"
to clean up the message socket, but this does not work for me as in my
case, winbindd exit when the domain_list can not be inited.

the following is where the winbindd exit
================LOG===========
Could not fetch our SID - did we join?
unable to initialize domain list
==================

is there any easy work around or patch can fix this issue?

Regards,
Dave


More information about the samba-technical mailing list