IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Turn off Opportunistic locking for those files.
Or first try veto oplock files = /.*bat/ on the share (or something similar, look at man smb.conf for multiples)

If that dunnah help, try strict locking = no this maybe the cause as this is very slow when it is yes. if *THAT* doesn't work...

oplocks = no on the share.

Sheesh, if that doesn't work... Turn off kernel locking for samba using: kernel oplocks = no in the global section vs the share section.

If that doesn't do it, it is a Windows issue.



BTW, I slacked off on 3.0.12 due to some bugs that showed up in optimized code. v3.0.13 is available as of last night.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

[link|http://it.slashdot.org/comments.pl?sid=134485&cid=11233230|"Microsoft Security" is an even better oxymoron than "Military Intelligence"]
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
New I was thinking of the same thing
and writing it while you were writing this!!!
New Done
Case doesn't count, right?
Expand Edited by broomberg March 24, 2005, 08:07:37 PM EST
New You sure I don't want fake oplocks instead?
New NEVER.
That option is only for seriously Broken software.

Never. I just can't imagine.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

[link|http://it.slashdot.org/comments.pl?sid=134485&cid=11233230|"Microsoft Security" is an even better oxymoron than "Military Intelligence"]
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
New Not that I am aware of. Of course...
in this case I may be wrong or right.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

[link|http://it.slashdot.org/comments.pl?sid=134485&cid=11233230|"Microsoft Security" is an even better oxymoron than "Military Intelligence"]
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
New And "blocking locks" should be set to off.
[link|http://www.aaxnet.com|AAx]
New Err?
\n       blocking locks (S)\n              This  parameter  controls  the  behavior of smbd(8) when given a\n              request by a client to obtain a byte range lock on a  region  of\n              an  open  file, and the request has a time limit associated with\n              it.\n\n              If this parameter is set and the lock range requested cannot  be\n              immediately  satisfied,  samba  will  internally  queue the lock\n              request, and periodically attempt to obtain the lock  until  the\n              timeout period expires.\n\n              If this parameter is set to no, then samba will behave as previ-\n              ous versions of Samba would and will fail the lock request imme-\n              diately if the lock range cannot be obtained.\n\n              Default: blocking locks = yes\n


Why? Seems like it is less likely to trigger a failure if set on, allowing a grace period between lock request and final failure.
New I've seen it produce time-outs.
[link|http://www.aaxnet.com|AAx]
New I've seen it produce time-outs.
[link|http://www.aaxnet.com|AAx]
New In that case: Done
New And double posts, too! ;-)
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
     File locking problem - (broomberg) - (22)
         I would assume that... - (ben_tilly) - (3)
             Grrr... - (broomberg) - (2)
                 I'm guessing, obviously - (ben_tilly)
                 I'm guessing, obviously - (ben_tilly)
         Turn off Opportunistic locking for those files. - (folkert) - (11)
             I was thinking of the same thing - (broomberg)
             Done - (broomberg) - (3)
                 You sure I don't want fake oplocks instead? -NT - (broomberg) - (1)
                     NEVER. - (folkert)
                 Not that I am aware of. Of course... - (folkert)
             And "blocking locks" should be set to off. -NT - (Andrew Grygus) - (5)
                 Err? - (broomberg) - (4)
                     I've seen it produce time-outs. -NT - (Andrew Grygus)
                     I've seen it produce time-outs. -NT - (Andrew Grygus) - (2)
                         In that case: Done -NT - (broomberg)
                         And double posts, too! ;-) -NT - (Yendor)
         If the various suggestions don't help - (jbrabeck) - (4)
             I hate timing dependant problems! - (broomberg) - (1)
                 First time I saw it was in COBOL class - (jbrabeck)
             Done. And I added another move - (broomberg) - (1)
                 Lemme know if it worked. -NT - (jbrabeck)
         Happens when you delete a file and it's opened elsewhere - (ChrisR)

They're behind the couch.
67 ms