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 are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 3 guests