# RPI4 4GB Only 3 tasks processing at once.

**URL:** <https://forums.balena.io/t/rpi4-4gb-only-3-tasks-processing-at-once/175127>\
**Category:** Fold for Covid\
**Created:** [August 19, 2020, 2:55am UTC](https://forums.balena.io/t/rpi4-4gb-only-3-tasks-processing-at-once/175127 "2020-08-19T02:55:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patto647](https://avatars.discourse-cdn.com/v4/letter/p/7cd45c/32.png) [@Patto647](https://forums.balena.io/u/Patto647)\
**Post date:** [August 19, 2020, 2:55am UTC](https://forums.balena.io/t/rpi4-4gb-only-3-tasks-processing-at-once/175127/1 "2020-08-19T02:55:05Z")

</div>

Hey hey, I’ve got 10x RPI4 4GB and they are all only processing 3 tasks at once, I assuming ideally it could process 4 tasks at once (one task per core). I’m just wondering if this is expected due to limitations on this unit or a setting I have missed?

Edit: I will note I notice this text.

“Preferences:  
max memory usage when active: 3663.19 MB  
max memory usage when idle: 3663.19 MB  
max disk usage: 12.53GB  
max CPUs used: 3”

Kinda makes me think I need to edit a pref somewhere 😉

Kind regards

---

<div class="post-metadata">

**Author:** ![srlowe](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/srlowe/32/2638_2.png) [@srlowe](https://forums.balena.io/u/srlowe)\
**Post date:** [August 19, 2020, 9:31am UTC](https://forums.balena.io/t/rpi4-4gb-only-3-tasks-processing-at-once/175127/9 "2020-08-19T09:31:33Z")

</div>

Hi John,  
This is set to 75% of processing resources by default, however it is possible to remove this restriction by setting the env var SKIP\_BOINC\_CPU\_SETTINGS\_CHECK to a non-empty string. This protection was introduced to prevent a possible situation where the device may enter a reboot loop if all the memory gets consumed (which may happen if all cores are maxed out). We’d be very interested to hear how you get on though with this setting!

You can manage env vars across the fleet easily using either the dashboard or the cli:  
[https://www.balena.io/docs/learn/manage/serv-vars/](https://www.balena.io/docs/learn/manage/serv-vars/)

---

<div class="post-metadata">

**Author:** ![Patto647](https://avatars.discourse-cdn.com/v4/letter/p/7cd45c/32.png) [@Patto647](https://forums.balena.io/u/Patto647)\
**Post date:** [August 19, 2020, 10:11am UTC](https://forums.balena.io/t/rpi4-4gb-only-3-tasks-processing-at-once/175127/11 "2020-08-19T10:11:16Z")

</div>

Thanks a heap mate, that solved it.

Name = SKIP\_BOINC\_CPU\_SETTINGS\_CHECK and Value = 0

All 10 units are now processing 4 tasks each. I’ll keep you in the if I run into any reboot loops or other issues. Can understand why this was implemented as I assume most are running 2GB Pi4’s and 4 threads would certainly max out the ram.

Thanks again 😉

Regards Patto

---

<div class="post-metadata">

**Author:** ![srlowe](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/srlowe/32/2638_2.png) [@srlowe](https://forums.balena.io/u/srlowe)\
**Post date:** [August 19, 2020, 10:17am UTC](https://forums.balena.io/t/rpi4-4gb-only-3-tasks-processing-at-once/175127/12 "2020-08-19T10:17:18Z")

</div>

Great, glad it’s working! Yes, please do let us know if you have any issues with this (or if it continues to run stably, which will also be useful info!)
