Get the most out of your Centmin Mod LEMP stack
Become a Member

Bash centmin.sh loading cpu 100%

Discussion in 'Bug Reports' started by redbird, Sep 11, 2015.

  1. redbird

    redbird Member

    40
    5
    8
    Aug 28, 2015
    Web
    Ratings:
    +9
    Local Time:
    10:16 AM
    Since I installed centminmod on vultr.com vps I noticed that once in a while the process mentioned in subject starts to load my cpu 100% and I have to kill it.

    I noticed that it probably happens when I don't exit centmin menu correctly from SSH but I'm not sure.

    Please advise as this is frustrating.
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    8:16 AM
    1.11
    10.2
    Yeah that' expected.
    You should exit the menu via menu #24.
     
  3. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    10:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup need to exit via centmin.sh menu option 24
     
  4. redbird

    redbird Member

    40
    5
    8
    Aug 28, 2015
    Web
    Ratings:
    +9
    Local Time:
    10:16 AM
    Can you explain what's happening? why does it start to load cpu if you don't exit it correctly?

    Is there some kind of fail-safe mechanism that can be implemented?
     
  5. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    10:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    AFAIK, it's probably to do with the fact the menu is a while loop function. So it probably keeps looping if not properly exited. Unfortunately, due to it's loop which allows it (menu) to do what it does, exiting via menu option 24 is the proper way to do it and shouldn't be that difficult for you to remember to do ;)
     
  6. eva2000

    eva2000 Administrator Staff Member

    28,987
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,767
    Local Time:
    10:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Sep 13, 2015