PDA

View Full Version : [VU+ Duo] Memory Leak? Build 678



Lothar2
09-06-13, 09:44
Hello,

yesterday my Memory in /root are gone. :confused:

I have nothing do. On the Morning i had 20mb free in flash. In the evening was the flash full and the Box frozen. After reboot flash still full.
How is gone my memory?

26519

Please help. What do I have to delete the flash?

SalteeDog
09-06-13, 09:52
I'm suspecting something similar in mine - I seem to have only 88K left. How did you generate the picture above?

Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 104820 104732 88 100% /
devtmpfs 69072 4 69068 0% /dev
tmpfs 64 0 64 0% /media
/dev/sdb1 1952909412 1313025552 639883860 67% /media/hdd
/dev/sda1 15229108 419956 14809152 3% /media/usb
tmpfs 69188 256 68932 0% /var/volatile

Lothar2
09-06-13, 10:07
Yes my flashmemory is gone. VIX memoryinfo says 44k free. yesterday, there were still 21MB free.

the picture above I have made with Dreamboxcontrolcenter. Since Build 668 screenshots in OpenWebIF dont work anymore.

pooface
09-06-13, 10:11
Is your hdd correctly mounted?!

Try telneting in to the box, and running


df -h
mount

This will show your free space across devices, and show where your mounts are. Could well be that your hdd is not mounted, and all recordings are made to flash rather than to hdd (even though the dir is /media/hdd, it requires your hdd is mounted, otherwise /media/hdd is just a folder on the flash...)

pooface
09-06-13, 10:12
If hdd is mounted correctly, where are you saving your epg to? If to flash, rather than hdd, it is probably filling your flash up as well... Same with debug logs if switched on...

Larry-G
09-06-13, 10:13
well all of my receivers and my brothers receivers are still fine and setup the exact same way as i always do, otherwise i'd have had my ears chewed off this morning.

Lothar2
09-06-13, 10:22
root@BM750:~# [6ndf -h mount
Filesystem Size Used Available Use% Mounted on
df: mount: can't find mount point :confused::confused::confused:

VIX Mountmanager says correct path: /dev/sda1 = /media/hdd and i see all files and new records in my HDD per ftp.

the EPG.dat is stored in /def/sdb1 = /media/usb


Edit: Now i let run TotalCommander to search fo new files above 1MB on last day. But it takes a while because I do not know how I HDD and USB from the search exclusionary. :-)

pooface
09-06-13, 10:25
Df and mint are 2 storage command to be run separately, hence why they were on 2 lines...

Sent from my GT-I9300 using Tapatalk 2

pooface
09-06-13, 10:26
Another thing you could do is

cd /
du -h

(Again,2 separate commands, run one after the other)

This will allow you to find which folder is quite large in space...

Sent from my GT-I9300 using Tapatalk 2

Lothar2
09-06-13, 10:32
OK :D



root@BM750:~# df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 102.3M 102.2M 44.0K 100% /
devtmpfs 67.5M 4.0K 67.4M 0% /dev
tmpfs 64.0K 0 64.0K 0% /media
/dev/sda1 931.2G 580.9G 350.4G 62% /media/hdd
/dev/sdb1 3.7G 509.4M 3.2G 13% /media/usb
tmpfs 67.6M 428.0K 67.1M 1% /var/volatile
root@BM750:~# mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,sync,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=69072k,nr_inodes=17268,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
/dev/sda1 on /media/hdd type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb1 on /media/usb type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=002 2,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /var/volatile type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)



Another thing you could do is

cd /
du -h

sorry, the result is to big to post here.

Lothar2
09-06-13, 10:39
with du -h i have found this:



642.5M ./var/lib/opkg/lists
647.2M ./var/lib/opkg
647.2M ./var/lib


and in explorer says the file \Root\var\lib\opkg\lists\openvix-all = 636MB :confused::confused:

andyblac
09-06-13, 10:41
OK :D



root@BM750:~# [6ndf -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 102.3M 102.2M 44.0K 100% /
devtmpfs 67.5M 4.0K 67.4M 0% /dev
tmpfs 64.0K 0 64.0K 0% /media
/dev/sda1 931.2G 580.9G 350.4G 62% /media/hdd
/dev/sdb1 3.7G 509.4M 3.2G 13% /media/usb
tmpfs 67.6M 428.0K 67.1M 1% /var/volatile
root@BM750:~# [6nmount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,sync,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=69072k,nr_inodes=17268,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
/dev/sda1 on /media/hdd type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb1 on /media/usb type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=002 2,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /var/volatile type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)




sorry, the result is to big to post here.


just a guess but it could be a corrupt opkg database, try this command.



ls -l /var/lib/opkg/lists



and post results.

Lothar2
09-06-13, 10:45
here the result:


BM750 login: root
root@BM750:~# [6nls -l /var/lib/opkg/lists
-rw-r--r-- 1 root root 4511 Jun 8 13:00 ocram-picons
-rw-r--r-- 1 root root 20514 Jun 8 13:00 openvix-3rdparty
-rw-r--r-- 1 root root 667095040 Jun 8 18:33 openvix-all
-rw-r--r-- 1 root root 5794100 Jun 8 13:00 openvix-mips32el
-rw-r--r-- 1 root root 778672 Jun 8 13:00 openvix-vuduo

must i reflash or can i repair?

andyblac
09-06-13, 11:03
here the result:



must i reflash or can i repair?


this is corrupt file
-rw-r--r-- 1 root root 667095040 Jun 8 18:33 openvix-all it equals 636mb has there is noway it can be


do the following.


rm /var/lib/opkg/lists/*

then.


opkg update


all should be ok again.

Lothar2
09-06-13, 11:17
THX andyblac,

now the database is ok and my memory is come back. :lifting: :thumbsup:



root@BM750:~# ls -l /var/lib/opkg/lists
-rw-r--r-- 1 root root 4511 Jun 9 12:12 ocram-picons
-rw-r--r-- 1 root root 20537 Jun 9 12:12 openvix-3rdparty
-rw-r--r-- 1 root root 490120 Jun 9 12:12 openvix-all
-rw-r--r-- 1 root root 5794003 Jun 9 12:12 openvix-mips32el
-rw-r--r-- 1 root root 778482 Jun 9 12:12 openvix-vuduo
root@BM750:~# dl -h
-sh: dl: not found
root@BM750:~# df -h
Filesystem Size Used Available Use% Mounted on
ubi0:rootfs 102.3M 80.6M 21.6M 79% /
devtmpfs 67.5M 4.0K 67.4M 0% /dev
tmpfs 64.0K 0 64.0K 0% /media
/dev/sda1 931.2G 580.9G 350.4G 62% /media/hdd
/dev/sdb1 3.7G 511.0M 3.2G 13% /media/usb
tmpfs 67.6M 256.0K 67.3M 0% /var/volatile


big Thanks again to all who helped.

SalteeDog
09-06-13, 11:29
I was independently coming to the same conclusion. I couldn't see how that file should be the best part of a GB in size. Should have read this and saved some time :)

./var/lib/opkg/lists:
-rw-r--r-- 1 root root 719.5M Jun 8 18:37 openvix-all
-rw-r--r-- 1 root root 5.5M Jun 8 06:02 openvix-mips32el
-rw-r--r-- 1 root root 760.4K Jun 8 06:02 openvix-vuduo
-rw-r--r-- 1 root root 20.0K Jun 8 17:20 openvix-3rdparty
-rw-r--r-- 1 root root 4.4K Jun 8 06:02 ocram-picons


I'll try the advice above also.

Thanks.