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

Server Slow

Discussion in 'System Administration' started by Jon Snow, Mar 11, 2021.

  1. Jon Snow

    Jon Snow Active Member

    614
    107
    43
    Jun 30, 2017
    Ratings:
    +165
    Local Time:
    6:51 PM
    Nginx 1.13.9
    MariaDB 10.1.31
    Same server from last time but one level upgraded. Website is slow and command line lags. Linode says the latency is from the VPS itself and that there aren't any service failures.

    Code (Text):
    13  1098 ms   944 ms   913 ms  li1000-000.members.linode.com [server-IP]


    MTR:
    Code (Text):
    | Sent | Recv | Best | Avrg | Wrst | Last |
    |------|------|------|------|------|------|
    |   63 |   63 |    0 |    0 |    1 |    0 |
    |   63 |   63 |    1 |    1 |    2 |    2 |
    |   63 |   63 |   46 |   46 |   47 |   46 |
    |   63 |   63 |   45 |   45 |   46 |   46 |
    |   63 |   63 |   45 |   45 |   46 |   45 |
    |   63 |   63 |   46 |   46 |   46 |   46 |
    |   63 |   63 |   45 |   45 |   46 |   45 |
    |   63 |   63 |   46 |   46 |   60 |   46 |
    |   63 |   63 |   61 |   69 |  111 |   61 |
    |   63 |   63 |   61 |   66 |   99 |   62 |
    |   63 |   63 |   63 |   64 |   87 |   64 |
    |   63 |   63 |   62 |   62 |   63 |   62 |
    |   24 |   24 | 1586 | 2627 | 3433 | 1586 |
    |______|______|______|______|______|______|


    I haven't noticed any steal:

    Code (Text):
    iostat 1 10
    Linux 5.10.2-x86_64-linode140 (domain.com)     03/11/2021     _x86_64_    (8 CPU)
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              10.59    0.00   11.37    1.21    0.78   76.06
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             291.42      5540.41       770.24 13528896440 1880824460
    sdb               0.00         0.00         0.00       1172          0
    loop0             0.25         0.00         2.12       6521    5170348
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               4.46    0.00   14.99    0.50    4.21   75.84
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             142.00       856.00       488.00        856        488
    sdb               0.00         0.00         0.00          0          0
    loop0             0.00         0.00         0.00          0          0
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               8.12    0.00   14.27    1.11    3.94   72.57
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             128.00      1776.00       256.00       1776        256
    sdb               0.00         0.00         0.00          0          0
    loop0             0.00         0.00         0.00          0          0
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               8.21    0.00   15.55    1.74    1.37   73.13
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             266.00      4032.00       228.00       4032        228
    sdb               0.00         0.00         0.00          0          0
    loop0             0.00         0.00         0.00          0          0
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              16.27    0.00   16.65    2.86    1.74   62.48
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             529.00      8156.00       240.00       8156        240
    sdb               0.00         0.00         0.00          0          0
    loop0             0.00         0.00         0.00          0          0
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              10.66    0.00   16.23    0.99    2.48   69.64
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             174.00      2768.00       232.00       2768        232
    sdb               0.00         0.00         0.00          0          0
    loop0             0.00         0.00         0.00          0          0
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              10.38    0.00   15.62    0.50    1.50   72.00
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             131.00      1748.00       340.00       1748        340
    sdb               0.00         0.00         0.00          0          0
    loop0             0.00         0.00         0.00          0          0
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               6.70    0.00   15.14    0.25    2.73   75.19
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             107.00       520.00       512.00        520        512
    sdb               0.00         0.00         0.00          0          0
    loop0             0.00         0.00         0.00          0          0
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              22.91    0.00   15.15    4.06    4.68   53.20
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             975.00     29004.00      1456.00      29004       1456
    sdb               0.00         0.00         0.00          0          0
    loop0             0.00         0.00         0.00          0          0
    
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
              16.87    0.00   14.52    0.62    2.36   65.63
    
    Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
    sda             145.00      1748.00       576.00       1748        576
    sdb               0.00         0.00         0.00          0          0
    loop0             0.00         0.00         0.00          0          0
    


    Code (Text):
    vmstat 1 20
    procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
     r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
     3  0 426152 362940 491860 22539400    0    0   699    97    0    1 11 11 76  1  1
    
     3  0 426152 358564 491860 22539404    0    0  2196   216 2781 2264 11 16 71  1  1
     6  0 426152 360444 491860 22539408    0    0  2228   168 2972 2777 12 18 66  1  3
     2  0 426152 351020 491860 22539412    0    0   164   232 2700 2124  6 18 73  0  2
     2  0 426152 344108 491860 22539412    0    0   416    56 2642 2165  8 16 74  0  2
     1  0 426152 337236 491860 22539416    0    0  1988   252 3185 2648 11 18 69  1  2
     2  0 426152 333504 491860 22539416    0    0   192   244 2278 1524  6 15 78  0  1
     2  3 426152 330172 491860 22539416    0    0   608   312 2946 2221  7 18 72  1  1
     2  0 426152 329440 491860 22539420    0    0  1732   248 3290 2268 11 18 59 10  2
     2  0 426152 331092 491860 22539420    0    0   240   252 2268 1014  3 16 80  1  1
     3  0 426152 330432 491860 22539676    0    0  1644   248 3852 3076 12 17 69  1  2
     1  2 426152 326660 491860 22539676    0    0  1472   340 2882 2438  8 16 74  1  2
     7  0 426152 314576 491860 22539676    0    0  1728   264 4134 2540 10 21 65  1  3
     2  0 426152 319476 491860 22539676    0    0  1456   244 3209 1465  7 17 72  1  3
     2  0 426152 321256 491860 22539680    0    0   228    68 2262 1260  3 15 80  0  2
     3  0 426152 327156 491860 22539680    0    0   256    44 1850  919  4 14 79  0  3
     3  0 426152 324640 491860 22539680    0    0   352   240 2476 1825  8 19 71  0  2
     1  0 426152 327612 491860 22539684    0    0  2820  1520 3911 1919  6 20 73  1  1
     1  0 426152 333532 491860 22539780    0    0  4688  1104 3325 2452 11 15 69  2  3
     3  0 426152 334940 491860 22539780    0    0   480  1412 2526 2352 11 16 70  0  3
    
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    46,426
    10,551
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,371
    Local Time:
    7:51 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    where you testing from ? that would ultimately decide latency to your Linode VPS. But I've never seen anywhere in the world that has 1000+ ms latency before!
     
  3. Jon Snow

    Jon Snow Active Member

    614
    107
    43
    Jun 30, 2017
    Ratings:
    +165
    Local Time:
    6:51 PM
    Nginx 1.13.9
    MariaDB 10.1.31
    Right at home. This is the only VPS I've had issues with and there are more people reporting it as slow. It's not just me. I'm able to connect to all other Linode servers without a problem.

    Things were working fine and then after one day when I posted my last thread, there was slowness.
     
  4. eva2000

    eva2000 Administrator Staff Member

    46,426
    10,551
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,371
    Local Time:
    7:51 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Then you'd need to investigate on VPS side. Unfortunately, if you don't know how, you'd need to hire someone to do the investigating as it could take a while.