-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Afternoon! I have a samba server, which shares out an NFS mounted share. It seems that everything works rather well, except that i get some lag when modifying a file. If i share a directory which is local to the samba server, no lag, everything works perfectly. However, when i share an NFS mounted volume, i get about 30 seconds of lag while writing a file after it's been modified. In my test, i did the following: - From Windows xp, browse to \\smbserver\share\ browse to a directory which you have permission to write to. open an existing file (in my case, a text file, using Notepad). Add a line to the file. save the file. Notepad hangs for about 30 seconds, and then successfully completes its write. The only thin special about this windows XP client is that it has the Novell mobile client installed. I ran into an issue where windows was first trying to access my smb server using novell's ncp, but this was corrected by moving around the provider order in Windows networking. Any suggestions? Anything i can check? Am i perhaps looking an an NFS performance issue? I'm able to modify files over the nfs mount from the smb server without an issue. Thanks! - -- - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nathan Lager System Administrator 11 Pardee Hall Lafayette College, Easton, PA 18042 610-330-5907 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktQzhQACgkQsZqG4IN3sumiIACgq9ms6T+hVVBVgdCyPztB6SMV bhYAnRM+bEJ3Mz5Gu96/iVqVYS4Hz/cH =v0Q/ -----END PGP SIGNATURE-----
Nathan Lager wrote:> Afternoon! > I have a samba server, which shares out an NFS mounted share. It seems > that everything works rather well, except that i get some lag when > modifying a file. If i share a directory which is local to the samba > server, no lag, everything works perfectly. However, when i share an > NFS mounted volume, i get about 30 seconds of lag while writing a file > after it's been modified.Hey Nathan, A 30 second lag is normally an indication of an oplock break timeout. Just an fyi...If you are re-exporting an nfs mounted volume on linux, try setting "kernel oplocks = no" since I don't bnelieve the kernel file lease mechanism is availble on an NFS mount but I could be wrong on that one. Just a suggestion. cheers, jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20100115/dd5257ac/attachment.pgp>
On Fri, Jan 15, 2010 at 03:20:36PM -0500, Nathan Lager wrote:> Any suggestions? Anything i can check? Am i perhaps looking an an NFS > performance issue? I'm able to modify files over the nfs mount from the > smb server without an issue.No, this is probably not a NFS performance thing, NFS is not *that* slow. Next try after "kernel oplocks = no" would be "posix locking = no". Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20100116/7b4fd961/attachment.pgp>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK, Here we go. http://www.undrground.org/smb/smbd.strace On 01/20/2010 12:56 PM, Volker Lendecke wrote:> On Wed, Jan 20, 2010 at 12:28:41PM -0500, Nathan Lager wrote: >> That hasnt helped either. >> >> Same lag on file modification. >> >> Thanks. > > Please connect, look in smbstatus which process is > responsible for your client and strace it. > > strace -ttT -o /tmp/smbd.strace -p <smbd-pid> > > Upload /tmp/smbd.strace somewhere please. > > Volker-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAktXTSIACgkQsZqG4IN3sunZqACffagPWZAH3BKFTfe2NSytiOWx zfAAoJgks2s5Dt1Pg0vh+49o9FMIcRWj =uCY5 -----END PGP SIGNATURE-----
Apparently Analagous Threads
- cant login with my samba password only with my linux password
- upgraded to kernel 2.4.19 from 2.4.7, samba not found from windows, network ok
- Any 24 (or 30) way FXS PCI cards?
- Samba 3 domain to AD domain migration.
- Sweave: pdf-graphics got three times lager with R 2.13.1