High Procs

I am currently stress testing my Linode to see how it might handle an influx of traffic.

Using vmstat on a 1 second interval I can see that the total number of processes waiting to execute quickly reaches and hangs at around 30 while new connections try to join. This is causing average load time to soar from 500ms to 10 seconds.

I am really interested in understanding how to resolve this queue, and whether it's a case of my CPU being upgraded (it quickly reaches close to 100%). The site being loaded is a very lightweight WordPress site with next to no DB queries. There are no other websites on this server.

procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu---                                                                                                                                                               --
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa                                                                                                                                                                st
 0  0  62716 415492  15908 354736    5    5     7    15   16   50  0  0 100  0                                                                                                                                                                 0
 0  0  62716 415508  15908 354736    0    0     0    64   33   77  2  1 97  0                                                                                                                                                                 0
 3  0  62700 412092  15956 354736   20    0    24   284  222 1045 40  4 56  0                                                                                                                                                                 0
 8  0  62676 405380  16052 354716   16    0    20   476  409 2068 79  3 18  0                                                                                                                                                                 0
13  0  62672 392712  16116 354728    0    0     0   336  436 2351 96  4  0  0                                                                                                                                                                 0
15  0  62660 376072  16228 354736   16    0    20   568  436 2396 91  9  0  0                                                                                                                                                                 0
21  0  62644 333696  16332 354764   16    0    20   536  414 2195 93  7  0  0                                                                                                                                                                 0
26  0  62636 301028  16388 354756   12    0    12   264  455 2100 90 10  0  0                                                                                                                                                                 0
28  0  62612 271664  16444 354776   16    0    20   328  413 1992 93  7  0  0                                                                                                                                                                 0
32  1  62556 253484  16624 354820   72    0    80  4936  482 2862 94  6  0  0                                                                                                                                                                 0
30  1  62540 247112  16736 354832   20    0    24  1272  435 1949 98  2  0  0                                                                                                                                                                 0
31  0  62532 236384  16840 354820  160    0   164   428  435 2608 93  7  0  0                                                                                                                                                                 0
28  0  62520 252764  16888 354820    0    0     0   240  462 2226 96  4  0  0                                                                                                                                                                 0
30  0  62520 247488  16904 354828    0    0     4   108  418 2191 96  4  0  0                                                                                                                                                                 0
31  0  62496 251624  17072 354852   32    0    36   824  495 2492 96  4  0  0                                                                                                                                                                 0
26  0  62492 248148  17136 354820    0    0     4   332  407 1878 98  2  0  0 

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct