Mercurial 1.1 released! - slow http access

Matt Mackall mpm at selenic.com
Wed Dec 3 14:14:21 CST 2008


On Wed, 2008-12-03 at 12:27 -0600, Satish Balay wrote:
> I've installed mercurial-1.1 on a centos 4.7 box that provides access
> to repos via both http & ssh.
> 
> [I've grabbed mercurial srpm from fedora-koji and rebuilt on this machine]
> 
> I'm noticing the following:
> - ssh access is fine.
> - However http access is slow.
> 
> Each http access takes 5 sec or so. I see the python process spawned
> by apache taking arround that much time - with arround 100% cpu usage.
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>  2179 apache    25   0 10320 7284 2172 R 99.1  0.7   0:04.20 python
> 
> The http access could be via the web browser - or via 'hg pull' with a
> http:// URL.

> Any idea why this happens? This issue goes away if I revert to
> mercurial-1.0.2

I've cloned your repo and run hg serve on it and it comes up in my
browser instantly. So it's probably some piece of configuration on your
end, but I don't have any immediate guesses. You should probably start
by disabling all extensions.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list