Could You provide some structure how to divide data between ram and flash?
On flash i'd like to have
DB
Config
Skins

Rest could be in ram
Www files
Logs
Any other tempoprary weewx files

W dniu wtorek, 1 listopada 2016 Glenn McKechnie <glenn.mckech...@gmail.com>
napisał(a):

> Hi Jacek,
>
> <https://github.com/glennmckechnie/rorpi-raspberrypi>
>
> On 1 November 2016 at 20:58, Jacek Skowroński <yace...@gmail.com
> <javascript:_e(%7B%7D,'cvml','yace...@gmail.com');>> wrote:
>
>> after one hour I get
>> 14302 be/4 root          0.00 B     11.70 M  0.00 %  0.01 % python
>> /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>>
>> does it mean that weewx pid write down 11.7? or which file produced so
>> huge amount of data?
>>
>
>
> Interesting that you have no DISK READ value, I'd have thought there would
> be something in that field?
>
> Yes, that's what it has written to disk, although 11.7M doesn't sound
> excessive for weewx. As I noted previously, that value is for everything
> that weewx is handling; sqlite database writes, webserver pages and images.
> It also includes writes to tmp, although thats probably a tmpfs so it's
> removed from the disk already. Anyway, that means that it's not one file in
> particular that's attracting all that traffic.
>
> Maybe I should put it in the ram or on the flash
>>
>>
> That's your call, if you're asking me then yes :-) One size doesn't fit
> all, but you can choose a method that you're happy with and can handle.
> Me?  I'd be attempting to preserve the SDCard for its main purpose,
> running the OS and keeping the pi alive. The data that weewx generates is
> moved elsewhere, preferably somewhere or something with a proven track
> record. In particular something that matches its value ie: the database
> gets priority storage, the webserver not so much.
>
>
>
> Cheers
>  Glenn
>
> rorpi - read only raspberry pi + weewx: now with scripts
> <https://github.com/glennmckechnie/rorpi-raspberrypi>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/atRpRzKrlyk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','weewx-user%2bunsubscr...@googlegroups.com');>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to