[Bug 4276] New: Python tracebacks serving web requests: RevlogError
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed Jun 11 14:00:19 CDT 2014
http://bz.selenic.com/show_bug.cgi?id=4276
Priority: normal
Bug ID: 4276
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: Python tracebacks serving web requests: RevlogError
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: bkero at mozilla.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.5.4
Component: hgweb
Product: Mercurial
We're experiencing random failed transactions serving the following:
http://hg.mozilla.org/releases/l10n/mozilla-release/nb-NO/
We're using the 'Siege' tool to perform stress testing against out hgweb
infrastructure and discovered that over many requests, the following issue
exists.
The repo can be obtained at http://people.mozilla.org/~bkero/nb-NO.tar.gz
We've seen this error served in production using mod_wsgi being served by
apache.
(In another terminal)
$ siege
http://hg.mozilla.org/releases/l10n/mozilla-release/nb-NO/FIREFOX_31_0_RELEASE.tar.bz2
# which simply renders the index
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] mod_wsgi (pid=5686):
Exception occurred processing WSGI script
'/repo_local/mozilla/webroot_wsgi/releases/l10n/mozilla-release/hgweb.wsgi'.
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] Traceback (most
recent call last):
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] File
"/usr/lib64/python2.6/site-packages/mercurial/hgweb/hgwebdir_mod.py", line 153,
in __call__
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] return
self.run_wsgi(req)
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] File
"/usr/lib64/python2.6/site-packages/mercurial/hgweb/hgwebdir_mod.py", line 217,
in run_wsgi
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] return
hgweb(repo).run_wsgi(req)
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] File
"/usr/lib64/python2.6/site-packages/mercurial/hgweb/hgweb_mod.py", line 240, in
run_wsgi
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] content =
getattr(webcommands, cmd)(self, req, tmpl)
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] File
"/usr/lib64/python2.6/site-packages/mercurial/hgweb/webcommands.py", line 804,
in archive
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] cnode =
web.repo.lookup(key)
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] File
"/usr/lib64/python2.6/site-packages/mercurial/localrepo.py", line 662, in
lookup
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] return
self[key].node()
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] File
"/usr/lib64/python2.6/site-packages/mercurial/localrepo.py", line 385, in
__getitem__
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] return
context.changectx(self, changeid)
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] File
"/usr/lib64/python2.6/site-packages/mercurial/context.py", line 53, in __init__
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] self._rev =
repo.changelog.rev(changeid)
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] File
"/usr/lib64/python2.6/site-packages/mercurial/changelog.py", line 184, in rev
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] r =
super(changelog, self).rev(node)
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] File
"/usr/lib64/python2.6/site-packages/mercurial/revlog.py", line 290, in rev
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] return
self._nodecache[node]
[Wed Jun 11 00:30:57 2014] [error] [client 10.2.10.5] RevlogError
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list