Closed
Bug 67358
Opened 25 years ago
Closed 17 years ago
ftp:// bookmarks start FTP urls
Categories
(SeaMonkey :: Sidebar, defect)
SeaMonkey
Sidebar
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sspitzer, Unassigned)
References
Details
(Keywords: perf)
Attachments
(1 file)
|
6.32 KB,
patch
|
Details | Diff | Splinter Review |
nbaca has a profile that causes 100% cpu usage.
bienvenu has tracked it down to an ftp url in bookmarks.
this profile has the sidebar visible, with the bookmarks sidebar open.
we run the ftp url, to see if it has children. since ftp has 100% cpu bugs,
this causes mail to appear to use 100% of the CPU.
it appears we are running the url to determine the children (or if the url has
children). ftp uris are well known to be a container.
ideally, we would only run the ftp url when we selected the bookmark.
I'll attach the stack trace that bienvenu got that will help you track it down.
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
fixing summary/keywords
I'm still a bit confused - you mean that the bookmark is NOT open, but ftp still
fires? or is it trying to open it up because localstore.rdf is persisting its
"openness"
Keywords: perf
Summary: performance: 100% CPU usage in mail, caused by ftp bookmark in sidebar → ftp bookmarks causes 100% cpu
Comment 3•25 years ago
|
||
No, I don't think the ftp bookmark was open; we think that ftp urls are
automatically run because they're "wellKnown" as containers, so the url is run
to see if it has children. If you poke around in the stack trace, you can see it
happening. I set a breakpoint on the newURI method for the ftp protocol, and
then brought up a window with a sidebar and the bookmarks sidebar open.
Comment 4•25 years ago
|
||
yeah, talked with seth. it's not that they are 'well known', it's just that
every element in the tree is asked "do you have children?" and in the case of
ftp, it needs to run a URL to know that for sure.
I thought what I need to do was make sure that nsHTTPIndex::GetTarget() does not
kick off a url, but judging by the stack trace, we are in fact calling
GetTargets() which is bad - it maybe that something broken is going on in the
template builder.
given that:
- this is probably a difficult problem to fix
- has probably existed for months
- has only been exposed recently by ftp taking up 100% CPU
- the 100% cpu problem has to be fixed anyway
I'm pushing this one out. it would be nice if we didn't try to make an ftp
connection, but there are biggeer issues.
Status: NEW → ASSIGNED
Priority: -- → P2
Summary: ftp bookmarks causes 100% cpu → ftp:// bookmarks start FTP urls
Target Milestone: --- → mozilla1.0
Comment 5•25 years ago
|
||
part of this problem will be solved by 65220, but we should still avoid trying
to open ftp connections if we don;t have to.
Depends on: 65220
nav triage team:
As dougt points out, 65220 is fixed, so this is less of an issue, though it
should be fixed eventually. Marking future.
Target Milestone: mozilla1.0 → Future
Updated•24 years ago
|
Keywords: mozilla1.1
Updated•21 years ago
|
Product: Browser → Seamonkey
Updated•18 years ago
|
Assignee: alecf → nobody
Status: ASSIGNED → NEW
Priority: P2 → --
QA Contact: sujay → sidebar
Hardware: PC → All
Target Milestone: Future → ---
Comment 8•17 years ago
|
||
This bug is being marked EXPIRED as it has seen no activity in a very long time.
If you think that the issue reported might still be relevant, please test with a recent release of SeaMonkey and if the problem persists feel free to re-open the report. Thank you.
http://www.seamonkey-project.org/
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → EXPIRED
Comment 9•17 years ago
|
||
Bulk reopening incorrectly expired bugs - no activity does not constitute no bug - these need proper checking.
Status: RESOLVED → REOPENED
Resolution: EXPIRED → ---
Comment 10•17 years ago
|
||
Fixed by the fix in Bug 65220
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•