Mercurial 1.1 released! - slow http access
Benoit Boissinot
bboissin at gmail.com
Wed Dec 3 13:22:55 CST 2008
On Wed, Dec 3, 2008 at 7:27 PM, Satish Balay <balay at fastmail.fm> 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
Could you please try to profile it (for example by running hg serve --lsprof) ?
Thanks,
Benoit
More information about the Mercurial
mailing list