On Friday, 18.01.2008 at 11:46 +0100, Volker Lendecke wrote:

> On Fri, Jan 18, 2008 at 10:07:00AM +0000, Dave Ewart wrote:
> > At the same time as the '500 Internal Server Error' is sent to the
> > browser, the following appears in the Apache logs:
> > 
> >     [error] (26)Text file busy: exec of
> >     /home/user/public_html/blah/blah.cgi failed
> >  
> > "Text file busy" is the key.  If one runs 'smbstatus | grep
> > epic_plasma' (in this case) and watches the locks shown for the file
> > being edited, a lock is seen:
> > 
> >     28434 1165 DENY_WRITE 0x2019f RDWR EXCLUSIVE+BATCH
> >     /home/user/public_html/blah/blah.cgi [...]
> 
> Try using "oplocks = no". Be aware though that this has performance
> implications.

Hmmm, reading about the performance implications, I'm not sure that I'm
enthusiastic about trying it, really.

Can you explain what's actually going on in the above problem, please?
Is the Windows editor doing something wrong/unhelpful in generating the
lock?  Or is it simply taking advantage of behaviour which is allowed by
Samba?  Specifically, why does the lock take 10-15 seconds to go away?

Dave.
-- 
Dave Ewart
[EMAIL PROTECTED]
Computing Manager, Cancer Epidemiology Unit
University of Oxford / Cancer Research UK
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370
Get key from http://www.ceu.ox.ac.uk/~davee/davee-ceu-ox-ac-uk.asc
N 51.7518, W 1.2016

Attachment: signature.asc
Description: Digital signature

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to