Re: [Samba] Samba freezes
- Date: Mon, 26 Jun 2017 09:39:20 +0200
- From: Arnaud FLORENT via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] Samba freezes
on debian there is a script /etc/dhcp/dhclient-enter-hooks.d/samba
which can reload samba to handle netbios settings provided by dhcp
server (wins server, netbios scope)
but it should not reload smbd if no settings have changed
Le 26/06/2017 à 09:01, Rowland Penny via samba a écrit :
On Mon, 26 Jun 2017 09:34:35 +1200
Andrew Bartlett <abartlet@xxxxxxxxx> wrote:
On Sun, 2017-06-25 at 17:54 +0100, Rowland Penny via samba wrote:
On Sun, 25 Jun 2017 18:11:05 +0200
Antoine Huchet via samba <samba@xxxxxxxxxxxxxxx> wrote:
I have Samba 4.5.8-Debian running on Debian Stretch.
I use Samba to load games over my local network from my Debian
machine to my Playstation 2 (using OpenPS2Loader:
From time to time, the game freezes, then after 5 minutes it comes
back (sometimes it doesn't, depends on the game).
And here is the syslog at the same time:
Jun 25 16:39:01 serveur CRON: (root) CMD ( [ -x
/usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Jun 25 16:41:05 serveur dhclient: DHCPREQUEST of
192.168.2.4 on eth0 to 192.168.2.1 port 67
Jun 25 16:41:05 serveur dhclient: DHCPACK of 192.168.2.4
Jun 25 16:41:05 serveur systemd: Reloading Samba SMB Daemon.
Jun 25 16:41:05 serveur systemd: Reloaded Samba SMB Daemon.
Jun 25 16:41:05 serveur dhclient: bound to 192.168.2.4 --
renewal in 2912 seconds.
From what I see, there is the usual stuff on top of the logs,
then it start echoing someting, then reloads and then it works
Any idea what might be causing that?
It looks like your Samba machine is using DHCP and when it changes
systemd reloads Samba, this will break any connections.
Try giving your machine a fixed IP instead.
I think you are on to the right thing about the echo and DHCP, except
they are in other order.
The PC asks for an IP
The PC gets the IP
Systemd restarts Samba
I thought it was fairly obvious what the problem was, but you seem to
see it differently, what I cannot understand, why is systemd restarting
To unsubscribe from this list go to the following URL and read the