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

Cryfs should check memory is enough #443

Open
alexgarel opened this issue Dec 3, 2022 · 0 comments
Open

Cryfs should check memory is enough #443

alexgarel opened this issue Dec 3, 2022 · 0 comments

Comments

@alexgarel
Copy link

Expected Behavior

Until #349 is fixed,

cryfs should check available memory and warn if it's too low for it to operate (with a prompt, are you sure ?).

Actual Behavior

I'm hit by #349 but in a weird way:

I installed cryfs on my personal server (4Gb of RAM). It runs ok, I put a lot of stuff in my encrypted directory… and no it refuses to mount it again because of OutOfMemory !

I have two phases: a first peak while it's deriving the key, which pass (near to the limit), and then a second peak an it fails with fuse: fork() failed: Cannot allocate memory.

You can imagine my deception :-( if it had failed from start, ok… but after I put something inside… (it's ok because I have this data on another drive, at home,…).

Specifications

  • CryFS Version: cryfs 0.10.2
  • Operating System (incl. Version): Debian 11 (4.19-ovh-xxxx-std-ipv6-64)
  • memory: 4Gb (2.7 Gb free at the time of running)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant