Giter Club home page Giter Club logo

Comments (6)

olljanat avatar olljanat commented on August 11, 2024

I would try by having separate partition or disk for swap and by following https://burmillaos.org/docs/storage/custom-partition-layout/#burmilla_swap instead of partition file.

Also note that we looks to have search & replace failure on that guide, those partition labels should use prefix RANCHER_ instead of BURMILLA_ for backward compatibility.

from os.

benok avatar benok commented on August 11, 2024

Umm, I prefer swapfile.
It's pretty handy because it can be configurable within cloud-init.yml only.
I don't want to change the disk layout on every install.

I've perhaps read v2 kernel shares k3os's kernel code, somewhere.
Do you think this problem exists on k3os, too? (I don't have env/experience of k3os)

from os.

olljanat avatar olljanat commented on August 11, 2024

Ok. One big issue which I see is at least you are using folder /var/vm because in BurmillaOS console is also running inside of container and view to it is different that which kernel see.

With quick look to code at least folder /var/lib/rancher/cache should be mounted to both so if you use SWAP_PATH=/var/lib/rancher/cache/swap it would fix at least that part.

On other why I'm not aware that there would be anything which would prevent you from using swap file.

from os.

benok avatar benok commented on August 11, 2024

Ok. One big issue which I see is at least you are using folder /var/vm because in BurmillaOS console is also running inside of container and view to it is different that which kernel see.

Ah, Ok. That sounds very reasonable.

(I don't know why above script works on v1.9.3, but :-)
I confirmed I can add a swap with SWAP_PATH=/var/lib/rancher/cache/swap.

I'll try to find is there any better location, but thank you for your advice!

from os.

olljanat avatar olljanat commented on August 11, 2024

(I don't know why above script works on v1.9.3, but :-)

Ok. Then it might be caused something else too.

I confirmed I can add a swap with SWAP_PATH=/var/lib/rancher/cache/swap.

But did it fix the issue?

from os.

benok avatar benok commented on August 11, 2024

I confirmed I can add a swap with SWAP_PATH=/var/lib/rancher/cache/swap.

But did it fix the issue?

Yes, it did.
At least, with the above path, it works as expected.

from os.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.