Jump to content

Out Of Mmm


Guest

Recommended Posts

Hi All,

 

I have some freeze behaviour when trying to update nano pi neo 256M.

Apr 28 03:39:52 armbian kernel: [81490.237968] Out of memory: Kill process 18786 (apt-updates) score 55 or sacrifice child
Apr 28 03:39:52 armbian kernel: [81490.237989] Killed process 18786 (apt-updates) total-vm:42264kB, anon-rss:32336kB, file-rss:0kB

 

In normal state the swap seems to be ok

I did "free -m" about 33% max of memory use in normal time

"df -h" show to 71% use max of sd card

 

Quote

                 total        used        free      shared  buff/cache   available
Mem:            241          64         136          17          40         144
Swap:           127           0         127

 

But when apt-get update, it slow down boards when it arrives at 97%..... sometimes at 73%
 

Link to comment
Share on other sites

Quote

Apr 28 03:39:52 nanopineo kernel: [81477.839068] SLAB: Unable to allocate memory on node 0 (gfp=0x20)
Apr 28 03:39:52 nanopineo kernel: [81477.839082]   cache: size-64, object size: 64, order: 0
Apr 28 03:39:52 nanopineo kernel: [81477.839574]   node 0: slabs: 820/820, objs: 48380/48380, free: 0
Apr 28 03:39:52 nanopineo kernel: [81477.841144] cron: page allocation failure: order:0, mode:0x20

 

It can take some hours before unfreeze and before kill apt-updates (can't access to serial debug until auto kill updates)

Link to comment
Share on other sites

"apt-get clean" seems to make things better working.....

This can avoid freezing everything at midnight when cron auto updates ^^

 

root@nanopineo:/etc/cron.d# cat armbian-updates 
@reboot root /usr/lib/armbian/apt-updates
@daily root /usr/lib/armbian/apt-updates

 

What does "/usr/lib/armbian/apt-updates" exactly do ?

Link to comment
Share on other sites

On 4/28/2018 at 10:31 AM, zador.blood.stained said:

count the number of available package updates to display in the MOTD.

 

 

Ok I better understand, thank you for your reply Zador :thumbup:

I have still some freeze (during updates, it's "normal" but I don't want to do updates)
How can I disable all updates in amrbian ?

 

cd /etc/cron.d/
rm -rf sysstat aptitude apt-compat

I try "Freeze" option with amrbian-config...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines