Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FILE_ERROR_NO_SPACE error #1866

Closed
MarionGee opened this issue Feb 13, 2018 · 11 comments
Closed

FILE_ERROR_NO_SPACE error #1866

MarionGee opened this issue Feb 13, 2018 · 11 comments
Labels

Comments

@MarionGee
Copy link

Have this error flagged I don't know what to do about it or how to close it:

IO error: .../003144.log: FILE_ERROR_NO_SPACE (ChromeMethodBFE: 3::WritableFileAppend::8)

@ghostwords
Copy link
Member

Hello!

Where do you see this error? Feel free to drag and drop a screenshot here.

Is your drive running out of space?

@AndrewGatenbyVS
Copy link

AndrewGatenbyVS commented Feb 16, 2018

I get the same warning showing on all sites. Only started showing today. Hard drive still has space available (around 1Gb).

Chrome 63.0.3239.132
MacOS 10.12.6

img

Edit: Updated to Chrome 64.0.3282.167 that had been awaiting a relaunch, and this resolved the warning 👍

@ghostwords
Copy link
Member

ghostwords commented Feb 16, 2018

Hi @AndrewGatenbyVS, thanks for sharing a screenshot!

This is the error notification I added as part of #1848. It shows errors that happen while trying to save Privacy Badger state (your Badger's knowledge of who the trackers are, basically) to disk. Before #1848, the errors would still happen, but you wouldn't be notified in the UI.

If this was a QUOTA_BYTES error, I would say your Badger ran out of allowed space, but this FILE_ERROR_NO_SPACE error suggests your Chrome profile disk is out of space. I am not yet sure though. Could you check if this is the case?

@ghostwords
Copy link
Member

Ah, I see now that you wrote that you still have around a gigabyte free. That does seem relatively low ... It's possible Chrome starts running into FILE_ERROR_NO_SPACE errors close to the disk actually being full.

@ghostwords
Copy link
Member

@MarionGee Is this still a problem? Have you checked if your disk is low on space?

@piquan
Copy link

piquan commented Mar 3, 2018

(Different user): I saw this message today. I had run out of space on my disk yesterday, and cleaned some up; I may have not noticed the message until today. The precise message is:
IO error: .../002699.log: FILE_ERROR_NO_SPACE (ChromeMethodBFE: 3::WritableFileAppend::8)

I see that ~/.config/google-chrome/Default/Local Extension Settings/pkehgijcmpdhfbdbbnkijodmdjhbjlgp is currently at 3072 kB (according to du -k). According to https://developer.chrome.com/apps/storage#property-local, the per-extension storage limit is 5,242,880 bytes. Since leveldb compresses its data (at least by default; not sure about in Chrome), I wouldn't be surprised if I'm near the limit.

I tried to check on the actual usage from within the Privacy Badger background page using chrome.storage.local.getBytesInUse, but seem to have done something that destabilized Privacy Badger. I'm going to restart Chrome and update this comment.

@ghostwords ghostwords changed the title Warning Error FILE_ERROR_NO_SPACE error Mar 3, 2018
@ghostwords
Copy link
Member

ghostwords commented Mar 3, 2018

@piquan As I wrote above, FILE_ERROR_NO_SPACE seems to be about your disk being out of space, not Privacy Badger.

What may be confusing here is that Privacy Badger's error message only goes away on Privacy Badger (browser) restart, not directly following freeing up disk space.

To check how much extension storage your Privacy Badger uses, see #1902 (comment).

@piquan
Copy link

piquan commented Mar 3, 2018

Yeah, I figured it was a disk space thing. It sounded like you were somewhat unsure with the previous report, so I decided to get a little more information and see if it helped. Thanks!

@ghostwords
Copy link
Member

Yep, I wasn't sure earlier, but now it seems more clear. Thank you for helping clear it up!

@ghostwords
Copy link
Member

ghostwords commented Mar 3, 2018

We may want to update the error message to go away and stay away after being dismissed by the user.

The behavior would be the same as now except when the user is able to address the problem (such as by freeing up disk space), the message would no longer reappear during browsing after being dismissed once (until the error starts happening again).

Should probably wait to do this until after #1899 is merged.

@ghostwords
Copy link
Member

We may also want to just hide these errors since they are not relevant to Privacy Badger. Or replace the raw FILE_ERROR_NO_SPACE output with a friendlier message, like "Your disk seems to be low on space"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants