[Bug 3568] New: hgweb intermittently slow with Mercurial 2.2.3

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Wed Aug 1 21:23:00 CDT 2012


http://bz.selenic.com/show_bug.cgi?id=3568

          Priority: normal
            Bug ID: 3568
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hgweb intermittently slow with Mercurial 2.2.3
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: matt at anewway.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.2.3
         Component: hgweb
           Product: Mercurial

I am currently serving a little over 2000 Mercurial repositories using hgweb. 
I recently upgraded Mercurial from 2.0 to 2.2.3, but as soon as I did I started
seeing some very slow performance.  When browsing the web interface, some
requests would be fast (< 1s to load the page), but about 75% of the requests
would be very slow (15-30s).  Bad performance was also experienced when cloning
repositories via HTTPS.

After reverting to Mercurial 2.0, performance returned to normal.

My directory structure looks like the following:

/path/to/repos:
  user1/
    repo1/
    repo2/
  user2/
    repo3/
    repo4/

hgweb.wsgi:

#!/usr/bin/env python
from mercurial import demandimport; demandimport.enable()
from mercurial.hgweb import hgweb
import os
os.environ["HGENCODING"] = "UTF-8"
application = hgweb('/path/to/hgweb.config')

hgweb.config:

[web]
descend = True
[paths]
/ = /path/to/repos/*

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list