Open kyledayton opened 6 years ago
what were you doing at the time? How much memory was goofys using? How much memory do you have total? Is this reproducible?
@kahing I've finally had a chance to gather some data on this. I'm using goofys to mount a directory for vsftp to write files to. Our use case is that we receive files from another service via FTP and have them stored/archived in S3. The machine has 2GB of memory in total.
Have a look at the attached log file, which is the memory/cpu usage of the goofys
process captured at 30 second intervals. Memory usage is low for the first 12 hours or so, before spiking considerably to (~1.5g) at 2018-02-21 06:25:35
. It then drops down to a little less than 1g at 2018-02-21 06:37:09
, and remains that way for the next 24 hours. Finally, right before the process crashed, memory usage spikes rapidly to 1.7g.
I am currently traveling so won't be able to look at this for another week or so.
@kyledayton It's been a long time, but did you possibly have updatedb
running? Excluding the goofys mount in the updatedb config should prevent these regular OOMs. At least it did for me.
Other than that, it looks like this recent commit might fix many of these problems: https://github.com/kahing/goofys/commit/b12cef3a787b50356ca306b7e1947ab91ef0bed7
Using
goofys version 0.19.0-943e017724ea820eb4185419ef3c41d6f921a324