Want to subscribe to topics you're interested in?
Become a Member

Sysadmin Slow response at login and starting Centmin

Discussion in 'Bug Reports' started by duderuud, Mar 15, 2022.

  1. duderuud

    duderuud Member

    66
    24
    8
    Dec 5, 2020
    The Netherlands
    Ratings:
    +51
    Local Time:
    11:09 AM
    1.21.x
    10.4
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 7009 X64
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.21.6
    • PHP Version Installed: 8.0.16
    • MariaDB MySQL Version Installed: 10.4.24
    • When was last time updated Centmin Mod code base ? : very recent
    • Persistent Config: Yes
    Moved to a new server and logging in takes a long time (like 15.30 seconds). Looks to be related to the update check:

    Code:
    ==========================================================
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    ==========================================================
    
    Starting up Centmin takes more than a minute and closing Centmin takes about 20 seconds.
    In the beginning the server responded normally (like my previous VPS) but this just started happening all of a sudden.

    Load is low and the server itself should't be a problem (10 Epic 7702 cores, 64GB mem).

    Any idea how I can troubleshoot this?

    Edit: My old VPS is still up, that has the same problem with logging in. Starting Centmin is a lot quicker though, around 10-15 seconds.

     
    Last edited: Mar 15, 2022
  2. buik

    buik “The best traveler is one without a camera.”

    1,617
    457
    83
    Apr 29, 2016
    Flanders
    Ratings:
    +1,410
    Local Time:
    11:09 AM
    Perhaps a hardware failure, DDOS to the node/neighbor or noisy neighbors.
    As VPS is a shared platform where neighbors or crappy code from those neighbors can exert influence.

    Perhaps you can run a benchmark on both systems at various fixed times?

    In addition, with 10 Epic 7702 cores, 64GB, I would immediately switch to a dedicated server. You never want to be dependent on neighbors with these specs anyway. In addition, the biggest bottleneck with these types of large VPS servers is next to overselling, neighbors, the limitation on I/O.
     
  3. duderuud

    duderuud Member

    66
    24
    8
    Dec 5, 2020
    The Netherlands
    Ratings:
    +51
    Local Time:
    11:09 AM
    1.21.x
    10.4
    It's a dedicated vps (guaranteed resources).
     
  4. buik

    buik “The best traveler is one without a camera.”

    1,617
    457
    83
    Apr 29, 2016
    Flanders
    Ratings:
    +1,410
    Local Time:
    11:09 AM
    Otherwise, it seems very likely that these guaranteed resourses cannot be assigned to you. See the examples above.

    You should bench both systems several times at a fixed time. At various times of the day: morning, afternoon, evening, night. If you still experience problems then send a ticket to the provider.
     
  5. eva2000

    eva2000 Administrator Staff Member

    48,440
    11,102
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,281
    Local Time:
    7:09 PM
    Nginx 1.21.x
    MariaDB 10.x
    Could you provide some of the answers and output to the questions and commands asked at https://community.centminmod.com/threads/troubleshoot-slow-ssh-logins.12124/

    In particular this command which checks SSH login time log's recorded time
    Code (Text):
    find /root/centminlogs/ -type f -name "cmm-login-git-checks_*.log" -exec tail -1 {} \;  | tail -10

    example output
    Code (Text):
    find /root/centminlogs/ -type f -name "cmm-login-git-checks_*.log" -exec tail -1 {} \;  | tail -10
    Total Git & Nginx Check Time: 1.959145877 seconds
    Total Git & Nginx Check Time: 16.832768986 seconds
    Total Git & Nginx Check Time: 1.715314111 seconds
    Total Git & Nginx Check Time: 16.824245948 seconds
    Total Git & Nginx Check Time: 21.068782821 seconds
    Total Git & Nginx Check Time: 2.387668370 seconds
    Total Git & Nginx Check Time: 15.799400361 seconds
    

    Is it only first time login via SSH or everytime login via SSH ?