16
16

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.

高負荷サイトのボトルネック対応

16
Last updated at Posted at 2014-10-16

記事

DSAS開発者の部屋:高負荷サイトのボトルネックを見つけるには

結論

net.core.somaxconn に気を付ける。

コマンドラインからだと

$ sysctl net.core.somaxconn
net.core.somaxconn = 128
$ sysctl -w net.core.somaxconn=1024

ファイルだと

$ vim /etc/sysctl.conf
...
net.core.somaxconn = 4096
net.core.netdev_max_backlog = 4096
...
$ sysctl -p
16
16
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
16
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?