Web lists-archives.com

Re: [Samba] Samba freezes




On Sun, 25 Jun 2017 18:11:05 +0200
Antoine Huchet via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Hello,
> 
> 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:
> https://github.com/Jay-Jay-OPL/OPL-Daily-Builds).
> 
> 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[23116]: (root) CMD (  [ -x
> > /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
> > Jun 25 16:41:05 serveur dhclient[717]: DHCPREQUEST of 192.168.2.4 on
> > eth0 to 192.168.2.1 port 67
> > Jun 25 16:41:05 serveur dhclient[717]: DHCPACK of 192.168.2.4 from
> > 192.168.2.1
> > Jun 25 16:41:05 serveur systemd[1]: Reloading Samba SMB Daemon.
> > Jun 25 16:41:05 serveur systemd[1]: Reloaded Samba SMB Daemon.
> > Jun 25 16:41:05 serveur dhclient[717]: 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 again...
> 
> 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.

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba