[prev in list] [next in list] [prev in thread] [next in thread]
List: snap
Subject: Re: [SNAP] SNAP Flash and file system
From: FJBurgos <fjburgos () ingeniatecno ! com>
Date: 2007-04-18 15:45:53
Message-ID: 46263D31.7080806 () ingeniatecno ! com
[Download RAW message or body]
I'd like to know something about this problem.
I just write a few bytes (5-10) on each file every minute, 4 files in
the worst case. I use BufferedOutputStream (buffer = 1024 bytes) and I
flush every hour.
I think I'm not doing anything wrong.
FJBurgos wrote:
> Hi,
>
> Last Friday, I got these outputs.
>
>> |/root> date
>> Fri Mar 30 10:26:23 2007 ECT (DST)
>>
>> /root> df
>> Device Total Used Available Mountpoint
>> 0x410 0x0 1638400 -65543168 67181568 /
>>
>> /root> stats
>> SNAP Version: SNAP 1.0.4, Vera
>> Build date: Jun 21 2006 18:46:02
>> Reboot date: Thu Mar 29 21:44:58 2007
>> Uptime: 0 days, 12:41:45
>> Disk usage: -65543168/1638400 bytes
>> RAM usage: 2502568/8388608 bytes
>> Java heap usage: 421228/524288 bytes
>> Telnet server: alive
>> Serial server: alive
>> FTP server: alive
>>
>> /root> cd logs
>> /root/logs> ls -l
>> -rw-r--r-- 1 root root 10157 2007 Mar 25 00:00
>> emt_24-03-2007.log
>> -rw-r--r-- 1 root root 11685 2007 Mar 25 00:00
>> actuadores_SectorUnico_24-03-2007.log
>> -rw-r--r-- 1 root root 8695 2007 Mar 25 00:00
>> sensores_SectorUnico_24-03-2007.log
>> -rw-r--r-- 1 root root 7244 2007 Mar 25 00:00
>> setpoint_SectorUnico_24-03-2007.log
>> -rw-r--r-- 1 root root 9737 2007 Mar 26 00:00
>> emt_25-03-2007.log
>> -rw-r--r-- 1 root root 11205 2007 Mar 26 00:00
>> actuadores_SectorUnico_25-03-2007.log
>> -rw-r--r-- 1 root root 8335 2007 Mar 26 00:00
>> sensores_SectorUnico_25-03-2007.log
>> -rw-r--r-- 1 root root 6944 2007 Mar 26 00:00
>> setpoint_SectorUnico_25-03-2007.log
>> -rw-r--r-- 1 root root 10157 2007 Mar 27 00:00
>> emt_26-03-2007.log
>> -rw-r--r-- 1 root root 11685 2007 Mar 27 00:00
>> actuadores_SectorUnico_26-03-2007.log
>> -rw-r--r-- 1 root root 8695 2007 Mar 27 00:00
>> sensores_SectorUnico_26-03-2007.log
>> -rwxrwxrwx 1 255 255 -1 1970 Jan 1 00:59
>> setpoint_SectorUnico_26-03-2007.log
>> -rw-r--r-- 1 root root 10157 2007 Mar 28 00:00
>> emt_27-03-2007.log
>> -rw-r--r-- 1 root root 11685 2007 Mar 28 00:00
>> actuadores_SectorUnico_27-03-2007.log
>> -rw-r--r-- 1 root root 8695 2007 Mar 28 00:00
>> sensores_SectorUnico_27-03-2007.log
>> -rw-r--r-- 1 root root 7244 2007 Mar 28 00:00
>> setpoint_SectorUnico_27-03-2007.log
>> -rwxrwxrwx 1 255 255 -1 1970 Jan 1 00:59
>> emt_28-03-2007.log
>> -rw-r--r-- 1 root root 8445 2007 Mar 28 17:14
>> actuadores_SectorUnico_28-03-2007.log
>> -rw-r--r-- 1 root root 6265 2007 Mar 28 17:14
>> sensores_SectorUnico_28-03-2007.log
>> -rw-r--r-- 1 root root 5219 2007 Mar 28 17:14
>> setpoint_SectorUnico_28-03-2007.log
>> -rw-r--r-- 1 root root 5187 2007 Mar 30 00:00
>> emt_29-03-2007.log
>> -rw-r--r-- 1 root root 6313 2007 Mar 30 00:00
>> actuadores_SectorUnico_29-03-2007.log
>> -rw-r--r-- 1 root root 4391 2007 Mar 30 00:00
>> sensores_SectorUnico_29-03-2007.log
>> -rw-r--r-- 1 root root 3650 2007 Mar 30 00:00
>> setpoint_SectorUnico_29-03-2007.log
>> -rw-r--r-- 1 root root 2037 2007 Mar 30 10:21
>> emt_30-03-2007.log
>> -rw-r--r-- 1 root root 5085 2007 Mar 30 10:14
>> actuadores_SectorUnico_30-03-2007.log
>> -rw-r--r-- 1 root root 3745 2007 Mar 30 10:14
>> sensores_SectorUnico_30-03-2007.log
>> -rw-r--r-- 1 root root 0 2007 Mar 29 21:44
>> setpoint_SectorUnico_23-03-2007.log
>> -rw-r--r-- 1 root root 3119 2007 Mar 30 10:14
>> setpoint_SectorUnico_30-03-2007.log|
>
> There was no way to upload the jar file ("out of disk space", even
> deleting all files).
>
> I had to do a hard reset, and I got no message warnings when
> formatting (no bad blocks), but the file system was corrupted.
>
> Any SNAP on our system works more than 2 or 3 months because of
> problems with flash.
>
> Any idea why the used space is negative? Are you working on file
> system bugs?
>
> --
> _____________________________
> Fco. Javier Burgos Maciá
> Ingenia Tecnología S.L.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Snap mailing list
> snap@imsystech.com
> http://www.imsystech.com/support/maillist.htm
--
_____________________________
Fco. Javier Burgos Maciá
Ingenia Tecnología S.L.
_______________________________________________
Snap mailing list
snap@imsystech.com
http://www.imsystech.com/support/maillist.htm
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic