[Bug 1321354] Re: open samba shares become unresponsive if unused for 15 minutes

Paul Phillips paul.gs.phillips at gmail.com
Wed Nov 5 03:20:47 UTC 2014


Thanks yoyoma2 - the script you provided works a treat!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1321354

Title:
  open samba shares become unresponsive if unused for 15 minutes

Status in “samba” package in Ubuntu:
  Confirmed

Bug description:
  I am running a windows file server with several shared folders.  I access them from my Ubuntu machines on a gigabit ethernet local area network using nautilus and save the ones I need as bookmarks.  I also have text files on the server that remain open so I can modify them during the day.  I have done this succesfully for the last 4 years using Ubuntu clients 10.04, 12.04.  I recently did clean installs on 3 of my office machines to 14.04.  All 64 bit.  Establishing the shares and saving them as bookmarks works as expected.  I have the shares open across several workspaces.  Leaving the shares open in their own windows will work only if I continue to use them.  If I take the focus off the open window with the share for 15 minutes, the window becomes unresponsive if I attempt to do anything in it.  I get the error message:
   "Oops! Something went wrong.
  Unhandled error message: Software caused connection abort"

  I then have to close the open window with the share which takes longer
  than normal to close and trying to reopen the share from nautilus also
  can take up to 15-20 seconds to re-open.  The share will then work
  normally until I again stop using it for about 15 minutes, which
  causes a repeat of the problem.  It is very consistent.  Once any of
  the shares is made to work again, they all start working normally
  until the next time there is a problem.

  Thinking it was a Nautilus problem, I tried using both Nemo and
  Thunar.  They also exhibit the same problem, but instead of throwing
  an error message, they turn their window grey for 15-20 seconds and
  then start working again.

  My current work around is to open a terminal and enter the command:
  "sudo watch smbstatus"  which causes the samba server to get pinged
  every 2 seconds.  As long as I do this, the shares all seem to work as
  expected again.

  I have 1 Ubuntu 12.04 machine in my office that continues to handle
  samba shares normally.

  3) What you expected to happen:
  I expect open samba shares to remain responsive and usable no matter how long they are not the focus of activity.

  4) What happened instead:
  Instead, if the share does not remain the focus, the share becomes unresponsive and must be restarted.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: samba 2:4.1.6+dfsg-1ubuntu2.14.04.1
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue May 20 11:44:47 2014
  InstallationDate: Installed on 2014-05-02 (17 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  RelatedPackageVersions:
   nautilus 1:3.10.1-0ubuntu9
   gvfs     1.20.1-1ubuntu1
  SambaClientRegression: Yes
  SourcePackage: samba
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1321354/+subscriptions



More information about the foundations-bugs mailing list