Repository on CIFS

Matt Mackall mpm at selenic.com
Sun Nov 24 21:29:00 UTC 2013


On Sat, 2013-11-23 at 21:08 +0100, Koen Vermeer wrote:
> Hi,
> 
> I have set up a Linux server that we can use to access our repositories. 
> It runs the hgweb.wsgi script through nginx and uwsgi. This seems to 
> work fine when the repositories are stored locally on the server.
> 
> However, I was trying to store them on a CIFS mount. I've only done some 
> quick tests, but I ran into a problem: It seems that when folders need 
> to be created, it fails. Repeating the same operation (sometimes a few 
> times) works. I was wondering if I'm just missing some detail, or that 
> this setup is not expected to work.

Probably 90% of Mercurial problems with Windows filesystem are: there is
a poorly-designed virus scanner running concurrently with Mercurial,
simultaneously destroying performance and tripping Mercurial up by
exclusively locking files that Mercurial is manipulating.

Eliminate that and you can usually get it working for moderate-sized
projects.

The remaining problems tend to be of the form "the CIFS filesystem as
implemented by Microsoft is a toy that's fine for sharing Word docs and
the like but don't push your luck". Hopefully you're using a NAS like
Netapp and not an actual Windows server.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list