Open joaoantoniocardoso opened 1 year ago
From my research it appears that dealing with such files makes BlueOS unable to talk with bootstrap, resulting in a factory reset.
That's not only happening during the manual update process but also on normal use cases. We are getting a number of reports that indicates that is something that is happening in the wild. We should:
We also need more swap. The following video was recorded during a manual upload:
https://user-images.githubusercontent.com/5920286/234951073-4d0315ce-9384-4840-a8c9-334f4ec3848a.mp4
We might need to configure the Linux's OOM killer.
We can see here that it is acting:
Needs to be tested with Pi 4 2GB version and Pi 3 2GB version as well.
Today I can only confirm that it is happening on Raspberry Pi 3 w/ 1GB of ram, but when I created this Issue I was using a Pi 4 2GB.
IIRC we tried massively increasing swap with no success we should check exactly what step is loading the file to ram and try to avoid it
Related to #1503
Occasionally when I'm using the manual upload to test a PR, BlueOS reverts to the factory version.