[Samba] Strange locking behaviour upsets Apache

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Jan 18 10:46:26 GMT 2008

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20080118/0ddd3a9c/attachment.bin

More information about the samba mailing list