Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kswapd0 would use 100% CPU. #5

Open
kometchtech opened this issue Jul 6, 2016 · 2 comments
Open

kswapd0 would use 100% CPU. #5

kometchtech opened this issue Jul 6, 2016 · 2 comments

Comments

@kometchtech
Copy link

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                            
   54 root      20   0       0      0      0 R 100.0  0.0  62:34.27 kswapd0                            
22207 kometch   20   0    5024   1244    864 R   0.3  0.1   0:00.30 top                                
    1 root      20   0   22940   2460   1296 S   0.0  0.3   0:14.57 systemd                            
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd  

By running the following command if it raised for the time being, are not ask for radical?
echo 1 > /proc/sys/vm/drop_caches

@friendlyarm
Copy link
Owner

これには、コマンド「apt-get update」を実行し、そのようなたくさんのファイルを開くなど、特定のアプリケーションシナリオに関連する必要があります。
通常、我々はそれを気にする必要はありません。

This should be related to specific application scenarios, such as opening a lot of files, execute the command "apt-get update" and so on.
Normally we do not need to care about it.

@kometchtech
Copy link
Author

@friendlyarm

Thanks for the replies.

kswapd0 consumes 100% CPU usage was the moment, not followed at all times.
Cubietruck, a similar situation has been reported.

If possible, I want to make your swap partition, but the following errors occurs.

swapon /swapfile
swapon: /swapfile: swapon failed: Function not implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants