Codebrowse appears to hang because it uses too much RAM
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Launchpad itself |
Triaged
|
High
|
Unassigned | ||
| loggerhead |
Triaged
|
High
|
Unassigned | ||
Bug Description
Logging as a sec vuln as this is a rather easy way to currently DOS codebrowse.
We had an unusual one today. A user hitting this URL:
bazaar.
~ubuntu-
(DON"T CLICK IT!!! It's bad!)
Was able to lock codebrowse from further responses. It wouldn't happen immediately, but gradually over a few seconds.
eg. Running -debug against codebrowse post an above event:
https:/
ie ~ 2 minutes to return. Ouch.
During one such event I grabbed the following sequence from the codebrowse debug log:
INF [20100208-
INF [20100208-
INF [20100208-
Which looks, bad.
During these events we did observe that the codebrowse process on guava would hit 100% CPU and stay there
| tags: | added: canonical-losa-lp |
| Changed in loggerhead: | |
| assignee: | nobody → Max Kanat-Alexander (mkanat) |
| status: | Confirmed → In Progress |
| Changed in loggerhead: | |
| assignee: | Max Kanat-Alexander (mkanat) → nobody |
| status: | In Progress → Triaged |
| no longer affects: | ubuntu |
| Changed in loggerhead-breezy: | |
| status: | New → Triaged |
| importance: | Undecided → High |
Perhaps we can get our contractor to look at this.