1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

サーバーが遅すぎる。原因を解明する

Posted at

○Apacheのエラーログを確認

# tail /var/log/httpd/error_log

[Mon Sep 20 20:41:11.696658 2021] [proxy_fcgi:error] [pid 139115:tid 140257685120768] (70007)The timeout specified has expired: [client 182.167.223.71:58268] AH01075: Error dispatching request to : (polling), referer: https:〜〜〜〜〜〜〜〜

Apacheのエラーログを確認します。

ここに答えがありました。

The timeout specified has expired
Error dispatching request to : (polling), referer

○解決していく

php-fpmの再起動をする

# service php-fpm restart

php-fpmとは?

php-fpmの設定ファイルの修正

php-fpmの設定ファイルです。

/etc/php-fpm.d/www.conf
- pm.max_spare_servers = 35
+ pm.max_spare_servers = 10

アイドル状態でプーリングしているプロセス数の最小値を意味します。

こちらを、35➡️10に変更。

その後、ConoHa VPSのサーバーを再起動すると速度が戻りました。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?