1
1

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.

kswapが頻発してシステムが重い

Posted at

AWSを触っているとシステムが重くなってきて、topを見たらkswapdの負荷がとても高かった

$ top
  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                                                                                                       
   80 root      20   0       0      0      0 R 36.1  0.0  11:16.34 kswapd0

kswapの頻発を避けるために、とりあえずswap領域を32GB確保して収まった。

参考

TOPコマンドでkswapd0 が出現したので再起動で対処した
UbuntuでkswapdがCPU使用率100%になる
Ubuntu/CentOSサーバのスワップ領域の割り当て

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?