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

On first Install or if limits are incorrect give a shout out to increase swap and memory limits #226

Open
ed42311 opened this issue Aug 3, 2021 · 0 comments
Labels
verbosity Improvements or additions to the output of docker/sdk

Comments

@ed42311
Copy link

ed42311 commented Aug 3, 2021

What is the problem you are trying to solve by the feature?

On first install if you buzz past the setup you can get caught up in the build process with little direction if you haven't set the memory and swap limits correctly.

What is the solution do you propose?

add something to the boot output around here:

function Command::install() {
    local output=''
    if ! output=$(Registry::runInstallers); then
        Console::info 'Everything is properly installed. Nothing to do at the momemnt.' < also could fix this spelling error
        Console::info 'If this is your first time installing: did you set your swap limit to 2M?' << ? or something like that
        return "${TRUE}"
    fi
    ...

I don't know if Registry can detect first install and run, but you could log only on that, or more helpfully if you could detect the memory limits in docker and swap limits, then you could run the checker on that? either way...

If the system needs it then the system user should be aware of it

@sprymiker sprymiker added the verbosity Improvements or additions to the output of docker/sdk label Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verbosity Improvements or additions to the output of docker/sdk
Development

No branches or pull requests

2 participants