Bug 133030

Summary: samba connections start failing after between 15 and 20 minutes
Product: [Fedora] Fedora Reporter: Andy Grover <andrew.grover>
Component: sambaAssignee: Jay Fenlason <fenlason>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jfeeney
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-22 20:04:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andy Grover 2004-09-20 22:58:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7)
Gecko/20040808 Firefox/0.9.3

Description of problem:
I have a bunch of FC2 and 1 rawhide box connecting to a WinXP share.
After 15-20 minutes, the rawhide box starts returning ls failures. The
only way to fix is to unmount and remount the share. The FC2 boxes
(samba-2.0.7-2.FC2) experience no such problem.

[root@grover2 ~]# umount desk
[root@grover2 ~]# mount desk
[root@grover2 ~]# cd desk/isos
[root@grover2 isos]# ls;sleep 900;ls;sleep 1200;ls
FC2-x86_64-disc1.iso  FC2-x86_64-disc2.iso  FC2-x86_64-disc3.iso 
FC2-x86_64-disc4.iso
FC2-x86_64-disc1.iso  FC2-x86_64-disc2.iso  FC2-x86_64-disc3.iso 
FC2-x86_64-disc4.iso
ls: .: Input/output error

dmesg shows the following:

smb_retry: signal failed [-3]
smb_add_request: request [03f21ee0, mid=19] timed out!


Version-Release number of selected component (if applicable):
samba-3.0.7-3

How reproducible:
Always

Steps to Reproduce:
1. Connect to samba share
2. cd to share
3. wait 20 minutes
4. ls
    

Actual Results:  an error

Expected Results:  the directory contents listed

Additional info:

Comment 1 Jay Fenlason 2004-09-21 14:48:22 UTC
I'll need the /etc/samba/smb.conf file from your client(s) and the 
command line you use to mount the share(s) to have any hope of 
reproducing this. 
 
If you're using smbfs, you probably need to change the component of 
this bug to "kernel", since Samba is not smbfs.  Also, if you're 
using smbfs, try switching to cifs, which is newer, more reliable, 
and is much better maintained. 

Comment 2 Andy Grover 2004-09-22 20:04:17 UTC
OK I'll use cifs, thanks.