Nginx: “Resource temporarily unavailable” using Samba share

I am developing on a Nginx web server with a Samba share .

Whenever I edit a CSS or JS file, I get this error when reloading my site (F5).

2012/04/18 11:15:38 [crit] 29607 # 0: * 47708 open () "/var/www/[....BIZ.js" failed (11: The resource is temporarily unavailable), client: 192.168. [...], server: [...], request: "GET [...]. js HTTP / 1.1", host: "[...]", referrer: "http: // [.. .] "

I need to update another time and the errors go away.

I found here that I have the same problem that could be caused by F_SETLEASE , but I could not find how to finally solve this problem.

Any clue?

+7
source share
1 answer

These two settings solved the same problem for me:

oplocks = no level2 oplocks = no 
+10
source

All Articles