Closed Bug 66393 Opened 24 years ago Closed 24 years ago

CPU 100% Hog on lots of sites

Categories

(Core :: Networking, defect)

Other
All
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 62388

People

(Reporter: pla, Assigned: neeti)

References

()

Details

Attachments

(1 file)

OS/2 version simply likes to eat CPU at any time.. I have constant CPU hogs on lots of pages when I am using Mozilla at home.. Mike this bug was in Netscape 4.6 and is now in Mozilla, it simply likes to use CPU 100% :( To all other OS/2 users: Please decsribe if you have this thing too, because I do not want this extremely bad bug to be left out just because all around have PIII :)
*** Bug 66394 has been marked as a duplicate of this bug. ***
Happens to me quite often (on TB 900). This has to be a dup of some other bug. Reporter try to find a page where this happens always (or often). This would help programmers to find the problem more easily. Mozilla 2001012220 on Windows 2000 SP1 on PC.
Looks like it hangs if many connections opened but not connected or no data tranferred yet. Happens on slow sites or links if many images not loaded. Probably it gets stuck inside connections query...
Marking NEW as per comments.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch workaround fixSplinter Review
Try this workaround. Probably it not a good place for it, but it helps me.
OK, I have some interesting debug info for this, not sure what it means. I did this testing on Windows, NOT OS/2. I am using www.dpreview.com as my test. I added code in nsSocketTransportService.cpp in the while loop inside of ::Run that keeps track of how many times we go through this loop (note this is a very tight loop) What I found was that without the PR_Sleep, we went through the while loop 316 times. With the PR_Sleep we went through the loop 112 times. On OS/2 during this time, the system was more responsive. I have no idea if this data is completely invalid, but it is interesting.
Assignee: asa → neeti
Component: Browser-General → Networking
OS: OS/2 → All
QA Contact: doronr → tever
The socket transport misbehaves when we have overlapped i/o. This is being worked on. The PR_Sleep hack(s) are terrible and will go away when this is finally resolved.
Adding dependency to meta bug.
Blocks: 61696
looks a dup of 62388 *** This bug has been marked as a duplicate of 62388 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: