Power & Source of Big Ideas

Matrix on the NanoPi sync-available problem

Moderators: chensy, FATechsupport

I have a NanoPi running some fairly big applications, ie PHP5 and Apache2 and when I do free I have about 5M. I can do a sync-available on this unit.

I want to incorporate the Matrix code, so I am building a system on another NanoPi. This unit has PHP5 but no Apache2. I updated Debian Jessie on it and then tried sync-available. I got this error:

Code: Select all

 dpkg: unrecoverable fatal error, aborting: failed to allocate memory: Cannot allocate memory


Doing free shows 1M, so following some on-line advise I did:

Code: Select all

echo 1 > /proc/sys/vm/drop_caches
echo 2 > /proc/sys/vm/drop_caches
echo 3 > /proc/sys/vm/drop_caches



This gives me 8-16M, but when I do sync-available I still get the error and free shows 1M.

Can anyone suggest where the problem might be?

Thanks,
Dave
The problem is that /var/cache/apt/archives is too full.

Run:

Code: Select all

apt-get autoclean 

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 102 on Mon Oct 08, 2018 12:42 pm

Users browsing this forum: No registered users and 1 guest