Leaking pipes in Hgweb

Stephen Lee sphen.lee at gmail.com
Thu Dec 12 23:43:27 UTC 2013


We have deployed hgweb using WSGI in Apache. Several other services
are also being hosted on the same server.

Over time we see open file handles leaking - eventually the limit is
reached and Apache gives "Internal server errors".
According to lsof the majority of the files are pipes.

We can see the number increase when accessing the hgweb pages, but not
when accessing any other pages.

Any ideas? Or any other information that could be of help in debugging?

Thanks,
Steve

Version info:
Mercurial 2.6
Apache 2.2.15 (Red Hat)
WSGI 3.2
Python 2.6.6



More information about the Mercurial mailing list