Post #200,394
3/24/05 7:55:10 PM
|
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]
|
Post #200,396
3/24/05 8:00:05 PM
|
I was thinking of the same thing
and writing it while you were writing this!!!
|
Post #200,398
3/24/05 8:07:22 PM
3/24/05 8:07:37 PM
|
Done
Case doesn't count, right?
Edited by broomberg
March 24, 2005, 08:07:37 PM EST
|
Post #200,399
3/24/05 8:08:57 PM
|
You sure I don't want fake oplocks instead?
|
Post #200,464
3/25/05 11:31:09 AM
|
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]
|
Post #200,465
3/25/05 11:33:02 AM
|
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]
|
Post #200,402
3/24/05 8:42:16 PM
|
And "blocking locks" should be set to off.
[link|http://www.aaxnet.com|AAx]
|
Post #200,409
3/24/05 9:06:07 PM
|
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.
|
Post #200,411
3/24/05 9:08:21 PM
|
I've seen it produce time-outs.
[link|http://www.aaxnet.com|AAx]
|
Post #200,412
3/24/05 9:08:33 PM
|
I've seen it produce time-outs.
[link|http://www.aaxnet.com|AAx]
|
Post #200,414
3/24/05 9:12:33 PM
|
In that case: Done
|
Post #200,433
3/24/05 10:44:22 PM
|
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
|