Slow hgweb.cgi

Matt Mackall mpm at selenic.com
Tue Apr 12 09:58:26 CDT 2011


On Tue, 2011-04-12 at 16:53 +0200, Benoit Boissinot wrote:
> On Tue, Apr 12, 2011 at 4:42 PM, Dominik Psenner <dpsenner at gmail.com> wrote:
> > Yep, it is. With top I can observe that a python process is on heavy load
> > during that time and I assume that it is the one invoked by hgweb.cgi.
> 
> Could it be that some cache is rebuilt every time due to a permission error?

Definitely worth checking, but even the named branch cache should be
faster than that. And he's successfully pushing, so things are mostly ok
here.

How long does it take to run 'hg branches' as the same user the
webserver is running as?

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list