8
8

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 5 years have passed since last update.

メモ: Apache + phpはアクセス数増えると死ぬ

8
Last updated at Posted at 2014-10-27

uu59のメモ | Apache + PHPでloadavgがじわじわ上がっていく現象と対策

ここから論理的に導かれる結論は、「1秒間のリクエスト数が MaxClients / KeepAliveTimeout の数を超えた状態が続くと問答無用でサーバが応答不能になる」ということです。ネットブックだろうがスパコンだろうが死にます。PHPの負荷は関係なく、静的ファイルの配信しかしてなくても死にます。

勉強になる。

ちなみにApacheにもnginxと似たような戦略を取るevent MPMというのがあります

なるほど、event MPMを試してみよう。

8
8
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
8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?