maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Memory claimed to be full but I've got Gigs to spare (https://talk.maemo.org/showthread.php?t=53215)

itpastorn 2010-05-20 22:15

Apt cache steals space on rootfs
 
I was going to text my wife, but my n900 says that it can't send or receive anything, since "storage memory" is full!

That alert will now pop up once every minute to annoy me some more. Actually it seems that its rootfs that is full.

Code:

Nokia-N900-42-11:~# df
Filesystem          1k-blocks      Used Available Use% Mounted on
rootfs                  233224    232508        0 100% /
ubi0:rootfs            233224    232508        0 100% /

I did update some programs today, and that probably did me in.

EDIT:

Updating via the terminal will fill up the apt cache...

Continued in next post.

itpastorn 2010-05-20 23:18

Can we move the apt cache
 
OK. Apparently I have 43.7M of apt-cache

Code:

Nokia-N900-42-11:/var/cache/apt# du -sh *
43.7M        archives
1.4M        pkgcache.bin
1.3M        srcpkgcache.bin

That seems like a lot... And the culprit is Fennec!

Code:

Nokia-N900-42-11:/var/cache/apt/archives# ls -lh
Nokia-N900-42-11:/var/cache/apt/archives# ls -lh f*
12.4M Apr  9 10:59 fennec_1.1~a2~20100409011013_armel.deb
12.4M Apr 16 11:33 fennec_1.1~a2~20100416011058_armel.deb
11.9M May 20 10:54 fennec_2.0~a1~20100520010105_armel.deb

So my solution was this:
Code:

apt-get clean
Voila! 24 % free memory.

Which begs the question: Could we move the apt-cache to another partition?

(Note to self! Fennec nightly is now 2.0! Perhaps that is what broke Weave.)

kingoddball 2010-05-21 01:56

Re: Memory claimed to be full but I've got Gigs to spare
 
Rootfs could be a culprit, too! I hate rootfs! :(

wmc90 2010-05-21 02:35

Re: Memory claimed to be full but I've got Gigs to spare
 
There are a couple of scripts in the wiki to do this; and it is also already implemented in PR1.2 (whenever that turns up)

http://wiki.maemo.org/Free_up_rootfs_space

itpastorn 2010-05-21 12:50

Re: Memory claimed to be full but I've got Gigs to spare
 
Quote:

Originally Posted by wmc90 (Post 668681)
There are a couple of scripts in the wiki to do this; and it is also already implemented in PR1.2 (whenever that turns up)

http://wiki.maemo.org/Free_up_rootfs_space

I may be blind, but I see no option to mark this thread as solved. AT least you've gotten a thanks.

ossipena 2010-05-21 13:03

Re: Memory claimed to be full but I've got Gigs to spare
 
Quote:

Originally Posted by kingoddball (Post 668668)
Rootfs could be a culprit, too! I hate rootfs! :(

you can stop using it. you'll probably notice the difference in performance though...


All times are GMT. The time now is 20:27.

vBulletin® Version 3.8.8