ServersMan@VPS [Entry] 遅い原因

2021-06-21

ServersMan@VPS Entryプランを2010年頃から借りてますが、WEBとかの表示が遅いです。特にWorePressの管理画面とかがひどいです。Apache,MySQLなどのチューニングしてもほとんど効果ない。
しかも、abコマンドの負荷テストなんか、タイムアウトだし・・・・ワンコインで借りているので仕方ないけど、ちょっとひどい;;

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$ ab -n 10 -c 10 https://ex1.m-yabe.com/
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ex1.m-yabe.com (be patient)...apr_pollset_poll: The timeout specified has expired (70007)
$ ab -n 10 -c 10 https://ex1.m-yabe.com/ This is ApacheBench, Version 2.3 <$Revision: 1430300 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking ex1.m-yabe.com (be patient)...apr_pollset_poll: The timeout specified has expired (70007)
$ ab -n 10 -c 10 https://ex1.m-yabe.com/
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking ex1.m-yabe.com (be patient)...apr_pollset_poll: The timeout specified has expired (70007)

ServersMan@VPSのサポートページを見ていると、下記のFAQがありシステムリソースの割り当てに失敗してないか確認してみてねて事
ServersMan@VPSで仮想マシンの動作が重い

cat /proc/user_beancountersを叩いて確認してみると下記のようになってます

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$ sudo cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
11161: kmemsize 418766545 939372544 9223372036854775807 9223372036854775807 0
lockedpages 0 0 256 256 0
privvmpages 237443 590836 9223372036854775807 9223372036854775807 0
shmpages 13932 15233 9223372036854775807 9223372036854775807 0
dummy 0 0 9223372036854775807 9223372036854775807 0
numproc 65 145 240 240 0
physpages 221088 262267 0 262144 0
vmguarpages 0 0 9223372036854775807 9223372036854775807 0
oomguarpages 60318 309746 26112 9223372036854775807 0
numtcpsock 8 181 360 360 0
numflock 7 19 188 206 0
numpty 1 2 8 8 0
numsiginfo 0 18 128 128 0
tcpsndbuf 141832 1733560 1720320 2703360 54991519
tcprcvbuf 131072 1738992 1720320 2703360 28671
othersockbuf 53176 876208 1126080 2097152 0
dgramrcvbuf 0 78480 262144 262144 0
numothersock 51 120 360 360 0
dcachesize 406746023 927924431 9223372036854775807 9223372036854775807 0
numfile 888 1800 9312 9312 0
dummy 0 0 9223372036854775807 9223372036854775807 0
dummy 0 0 9223372036854775807 9223372036854775807 0
dummy 0 0 9223372036854775807 9223372036854775807 0
numiptent 24 24 256 256 0
$ sudo cat /proc/user_beancounters Version: 2.5 uid resource held maxheld barrier limit failcnt 11161: kmemsize 418766545 939372544 9223372036854775807 9223372036854775807 0 lockedpages 0 0 256 256 0 privvmpages 237443 590836 9223372036854775807 9223372036854775807 0 shmpages 13932 15233 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 numproc 65 145 240 240 0 physpages 221088 262267 0 262144 0 vmguarpages 0 0 9223372036854775807 9223372036854775807 0 oomguarpages 60318 309746 26112 9223372036854775807 0 numtcpsock 8 181 360 360 0 numflock 7 19 188 206 0 numpty 1 2 8 8 0 numsiginfo 0 18 128 128 0 tcpsndbuf 141832 1733560 1720320 2703360 54991519 tcprcvbuf 131072 1738992 1720320 2703360 28671 othersockbuf 53176 876208 1126080 2097152 0 dgramrcvbuf 0 78480 262144 262144 0 numothersock 51 120 360 360 0 dcachesize 406746023 927924431 9223372036854775807 9223372036854775807 0 numfile 888 1800 9312 9312 0 dummy 0 0 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 numiptent 24 24 256 256 0
$ sudo cat /proc/user_beancounters
Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
    11161:  kmemsize                418766545            939372544  9223372036854775807  9223372036854775807                    0
            lockedpages                     0                    0                  256                  256                    0
            privvmpages                237443               590836  9223372036854775807  9223372036854775807                    0
            shmpages                    13932                15233  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            numproc                        65                  145                  240                  240                    0
            physpages                  221088               262267                    0               262144                    0
            vmguarpages                     0                    0  9223372036854775807  9223372036854775807                    0
            oomguarpages                60318               309746                26112  9223372036854775807                    0
            numtcpsock                      8                  181                  360                  360                    0
            numflock                        7                   19                  188                  206                    0
            numpty                          1                    2                    8                    8                    0
            numsiginfo                      0                   18                  128                  128                    0
            tcpsndbuf                  141832              1733560              1720320              2703360             54991519
            tcprcvbuf                  131072              1738992              1720320              2703360                28671
            othersockbuf                53176               876208              1126080              2097152                    0
            dgramrcvbuf                     0                78480               262144               262144                    0
            numothersock                   51                  120                  360                  360                    0
            dcachesize              406746023            927924431  9223372036854775807  9223372036854775807                    0
            numfile                       888                 1800                 9312                 9312                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            numiptent                      24                   24                  256                  256                    0

failcntの箇所を抜粋すると、カウントされています。

resource failcnt
tcpsndbuf 54991519
tcprcvbuf 28671
解決策が再起動て、サーバー運用では考え難いですが仕方なく再起動しました
この後、下記のFAQのある事象になってネットワークが接続できなくなって、サポートで対応してもらうまでネットワークが繋がらない状況になりました

serversMan@VPSのCentOSでinitscriptsの不具合で再起動すると外部からのアクセス不可 [CentOS 7]

 

スポンサーリンク

0
0

LinuxServersMan@VPS

Posted by admin