Page 1 of 1
strange system info ** solved **
Posted: Fri Mar 28, 2008 4:45 pm
by giantmr4
after upgrading from v2.1d to v2.2c, i find strange on the \"system info\" webpage
Storage
Swap: 1841497MB of 952335MB used (193%)
System: 1019600MB of 1825693MB used (55%)
Data: 193MB of 3180MB used (6%)
My meteohub only has 4G at most. How can the swap and system size can be larger than 4G?

Re:strange system info
Posted: Sun Apr 06, 2008 11:46 am
by admin
1.8 TB for system data looks a bit too much for me as well :woohoo:
I cannot remember having changed something in that area of the application when going from version 2.1d to 2.2c. Is the problem persistent or does it skip to normal operation in the meantime?
Re:strange system info
Posted: Sun Apr 06, 2008 3:01 pm
by giantmr4
It is now using 2.2d.
The figures are still not correct after reboot some times.
However, I find this does not affect any operations of the meteohub (include data logging and graph generation)
I guess there is some place that stores these figures, however it is not updated correctly after the upgrade. ;)
Re:strange system info
Posted: Sun Apr 06, 2008 11:58 pm
by admin
hmm... as Meteohub digs out the underlying data from the depth of the system and i have never seen that strange numbers, I would like to understand what is going on. Any chance for me to login to your system?
Re:strange system info
Posted: Mon Apr 07, 2008 2:10 pm
by giantmr4
I know some linux commands. For your information ...
root@meteohub:~$ free
total used free shared buffers
Mem: 30376 28452 1924 0 1032
Swap: 131064 180 130884
Total: 161440 28632 132808
root@meteohub:~$ cat /proc/meminfo
MemTotal: 30376 kB
MemFree: 2232 kB
Buffers: 1216 kB
Cached: 17756 kB
SwapCached: 0 kB
Active: 16944 kB
Inactive: 6876 kB
SwapTotal: 131064 kB
SwapFree: 130884 kB
Dirty: 60 kB
Writeback: 0 kB
AnonPages: 4868 kB
Mapped: 4436 kB
Slab: 2256 kB
SReclaimable: 628 kB
SUnreclaim: 1628 kB
PageTables: 368 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 146252 kB
Committed_AS: 19900 kB
VmallocTotal: 991232 kB
VmallocUsed: 16852 kB
VmallocChunk: 966652 kB
root@meteohub:~$ cat /proc/swaps
Filename Type Size Used Priority
/dev/sda2 partition 131064 180 -1
root@meteohub:/$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda1 412524 218167 173059 56% /
/dev/mtdblock4 6528 5564 964 85% /initrd
/dev/sda1 412524 218167 173059 56% /dev/.static/dev
tmpfs 2048 32 2016 2% /dev
/dev/sda3 3256488 218092 2872972 7% /data
tmpfs 15188 232 14956 2% /var/volatile
tmpfs 15188 0 15188 0% /dev/shm
However, when compared to \"system info\" webpage, the figures are different. :dry:
Storage
Swap: 1841497MB of 952335MB used (193%)
System: 1019600MB of 1825693MB used (55%)
Data: 212MB of 3180MB used (6%)
Re:strange system info
Posted: Mon Apr 07, 2008 5:52 pm
by admin
ok, what does \"swapon -s\" report to you?
Re:strange system info
Posted: Tue Apr 08, 2008 1:27 am
by giantmr4
\"swapon -s\" is same as \"cat /proc/swaps\".
root@meteohub:~$ swapon -s
Filename Type Size Used Priority
/dev/sda2 partition 131064 180 -1
Re:strange system info
Posted: Tue Apr 08, 2008 6:00 pm
by admin
As the \"swapon -s\" data is used to display swap-size on Meteohub's \"system information\" page, it is hard to believe that it displays
\"Swap: 1841497MB of 952335MB used (193%)\"
Please check if display of swap size is still wrong. The swapon data looks fine and could hardly produce that... but as i have learnt, everything is possible :-)
Re:strange system info
Posted: Sat Apr 12, 2008 7:40 am
by giantmr4
It is normal after it is upgraded to 2.3 :)
Software
Linux Kernel: 2.6.21.7 132 BogoMIPS, 30 MB RAM
MeteoHub: Version 2.3 (c)2008 by Boris Pasternak,
info@meteohub.de
Storage
Swap: 0MB of 127MB used (0%)
System: 208MB of 402MB used (51%)
Data: 221MB of 3180MB used (6%)
Re:strange system info ** solved **
Posted: Sun May 18, 2008 11:25 pm
by admin
reason was a buffer overrun that is fixed with the new versions.