loggerhead (codebrowse) slows down to unresponsiveness under heavy load on one branch
Bug #118625 reported by
Michael Hudson-Doyle
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
High
|
Unassigned | ||
loggerhead |
Fix Released
|
High
|
Max Kanat-Alexander |
Bug Description
This happens fairly frequently, say a few times a week.
I'd like everyone who restarts loggerhead to comment on this bug when they do so.
Related branches
lp:~mkanat/loggerhead/codebrowse-hangs
Merged
into
lp:loggerhead
- Matt Nordhoff: Approve
- Michael Hudson-Doyle: Approve
-
Diff: 69 lines (+33/-11)1 file modifiedloggerhead/history.py (+33/-11)
lp:~mwhudson/launchpad/update-loggerhead
Merged
into
lp:launchpad
- Tim Penhey (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedutilities/sourcedeps.conf (+1/-1)
Changed in launchpad-bazaar: | |
assignee: | rockstar → nobody |
Changed in loggerhead: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in loggerhead: | |
assignee: | nobody → Michael Hudson (mwhudson) |
assignee: | Michael Hudson (mwhudson) → Max Kanat-Alexander (mkanat) |
Changed in loggerhead: | |
status: | Triaged → In Progress |
tags: | added: canonical-losa-lp |
Changed in loggerhead: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've just restarted codebrowse, here were the notes I took while investigating. I've seen at least one hang that was basically identical.
Hang appears to have been at, or after 03:00:46 2007-06-04 UTC.
gdb revealed three threads:
thread 1: in time.sleep() _RLock. wait()
thread 2: also in time.sleep()
thread 3: in threading.
[Switching to thread 1 (Thread 1075341632 (LWP 4779))]#0 0x401195b7 in select () from /lib/tls/libc.so.6 .launchpad. net/turbogears/ lib/python2. 4/site- packages/ CherryPy- 2.2.1-py2. 4.egg/cherrypy/ _cpengine. py (111): block .launchpad. net/turbogears/ lib/python2. 4/site- packages/ CherryPy- 2.2.1-py2. 4.egg/cherrypy/ _cpserver. py (111): _start .launchpad. net/turbogears/ lib/python2. 4/site- packages/ CherryPy- 2.2.1-py2. 4.egg/cherrypy/ _cpengine. py (74): start .launchpad. net/turbogears/ lib/python2. 4/site- packages/ CherryPy- 2.2.1-py2. 4.egg/cherrypy/ _cpserver. py (33): start .launchpad. net/turbogears/ lib/python2. 4/site- packages/ TurboGears- 1.0.1-py2. 4.egg/turbogear s/startup. py (295): start_server loggerhead. py (295): ?
(gdb) pystack
/srv/codebrowse
/srv/codebrowse
/srv/codebrowse
/srv/codebrowse
/srv/codebrowse
./start-
[Switching to thread 2 (Thread 1090423728 (LWP 4781))]#0 0x401195b7 in select () from /lib/tls/libc.so.6 .launchpad. net/turbogears/ lib/python2. 4/site- packages/ TurboGears- 1.0.1-py2. 4.egg/turbogear s/scheduler. py (181): _run python2. 4/threading. py (420): run python2. 4/threading. py (420): __bootstrap
(gdb) pystack
/srv/codebrowse
/usr/lib/
/usr/lib/
[Switching to thread 3 (Thread 1088326576 (LWP 4780))]#0 0x400277eb in sem_wait@GLIBC_2.0 () from /lib/tls/ libpthread. so.0 python2. 4/threading. py (195): wait python2. 4/Queue. py (101): get .launchpad. net/turbogears/ lib/python2. 4/site- packages/ CherryPy- 2.2.1-py2. 4.egg/cherrypy/ filters/ cachefilter. py (46): expireCache python2. 4/threading. py (420): run python2. 4/threading. py (420): __bootstrap
(gdb) pystack
/usr/lib/
/usr/lib/
/srv/codebrowse
/usr/lib/
/usr/lib/