Closed Bug 148830 Opened 23 years ago Closed 23 years ago

file not found error when disk cache fills up

Categories

(Core :: Networking: Cache, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 138880

People

(Reporter: jmclachlan, Assigned: gordon)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:1.0rc3) Gecko/20020523 BuildID: 2002052305 In order to save disk space my cache folder is set to my ram disk. Other applications also save to the ram disk, so although Mozilla has it set to be a max of 5MB, there is often less than that available. From what I can see in symptoms, when the 'disk' cache fills up, sometime thereafter I'll visit a page and get the error "/foo/bar/this_is_your_url" cannot be found (replacing with the real directories and paths - they're usually long and you can't cut and paste from the error window). The tab gets renamed to (untitled) and the window returns to a blank grey. This happens on any web page once the cache fills up. But, when the page in this tab breaks, pages in other tabs may work for a while until they run into the same error. When I either a) do a 'clean disk cache' from the preferences or b) delete some non-mozilla files form the ram disk, the problem immediately goes away. Reproducible: Always Steps to Reproduce: 1.Set your disk cache to be the ram disk (or some other very small disk I suppose) 2.visit a page 3.fill the disk up with garbage until it says zero K available (rmemeber though, zero is not 0 4. continue visiting many different pages. Problem will eventually come up (althoguh ram disk still gets cache files even though size says 0. Actual Results: Will eventually get the "not found" error stated above Just an observation - Netscape seems to handle using the RAM disk just fine - it notices when the media is getting full, and you see the little "cleaning up cache" notice at the bottom of the window. It appears that Mozilla would clean up only when it reaches the size outlined in the preferences - it seems not to check if there is available disk space if it's own cache is less than the preferences limit.
John, can you still reproduce this problem using a current build? (Dup of bug 142070?)
*** This bug has been marked as a duplicate of 138880 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
John, can you still reproduce this problem using a current build? (Dup of bug 142070?) Yes, it does indeed happen. In a somewhat related note, I tried to get mozilla to do it's own cache cleanup by making the cache folder smaller, say 3K instead of 5K. The problem happened again, and I went to the cache folder and did a get info - the folder was a full 5K - so it didn't even 'pay attention' to it's own 3K user preference limit. As for the dup of 142070, it's not a dup, but is related. Once the cache fills, what I see is the current page displaying blank. Sometimes hissing back gives a blank page, sometimes the cache is still there and the back page displays normal. But, they are both due to the fact the cache is 'full' and Mozilla isn't managing it quite right. It is a dup of 138880, but the base problem is a cache management problem, not a "url not found' problem. Thanks - John Mc
You need to log in before you can comment on or make changes to this bug.