Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cubieboard 2 unresponsive when swapping

Featured Replies

I have a cubieboard2 running Armbian_4.5_Cubieboard2_Debian_jessie_4.2.3.zip and when I ran a seemingly innocent "npm search" command, the system became extremely slow. It responded to pings, but SSH commands were taking many minutes to complete. I was able to grab a screenshot of "top" while it was in this state (attached).

Root is on SD, I set up a 1GB swap partition over SATA.

My questions are:

* Is setting up a 1GB swap partition over SATA a bad idea?

* Why do all of the processes suddenly report 100% CPU when main memory runs out?

* How can I prevent this in the future?

* Is there any other diagnostics or tests that can help determine the root cause?

 

Thanks,

Terence Haddock

 

"48.4 sy 51.5 wa" on 3rd line partially answers your second and fourth questions - SATA interface on A20 is slow and inefficient, so swapping combined with running torrent client results in this - CPU is processing SATA requests and waiting for I/O operations (and if you have mechanical HDD, seek time when multiple programs access different files also affects this).

 

So in your case using swap on SATA is bad idea, using no swap (if possible), zram or swap on SD card may be better.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.