On Wednesday, July 24, 2019 at 6:55:42 AM UTC-7, James Muirhead wrote
>
> As the web server data is written to the SD every 5 minutes, I felt it 
> would be appropriate to create a RAM disc for it. Should, in theory, 
> improve lifespan of the SD card.
> [...]
>
 

> Just means, that on boot it can take up to 5 minutes for the web server to 
> be populated with files and will likely return a 403 error when you try to 
> look at it from a browser.
>
> I also created a temporary splash page that just says "loading, please 
> wait." which is loaded by a cron entry on @reboot.
>
> *cp /home/pi/temp-splash.html /var/www/html/index.html*
>
>
Yes - I think several folks (including me) have posted something similar 
along the same lines.   I have one pi that I run basically 'everything' in 
ramdisk, although that of course loses you the syslogs if you need them for 
forensics after a crash or the like.

One thing you might think about is stashing your NOAA files to disk 
periodically (couple times a day) and restoring them, as they take a long 
time to regenerate as you get more and more data.  The other stuff will 
regenerate quickly on firstboot of course.


-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/710ca3d7-2bd1-42fa-ba35-b1d48ddb2e02%40googlegroups.com.

Reply via email to