the OutOfSpan failure killed the report thread, and that brought down 
weewx.  imho this is a bug - weewx should continue to collect data, even if 
the report thread cannot do its job.  however, tom and gary know the 
accumulator code better than i do, so they could say whether OutOfSpan 
should be a fatal failure, versus a just "restart the report engine" 
failure.  but first we need to know the root cause of OutOfSpan.

a few observations:

- here is the analysis of report generation times from the syslog.2 file.  
nothing unusual here.

report cycle for record 2019-02-01 06:28:00
StdReport - 14 files in 18.82s + 36 images in 18.89s
cmon - 1 file in 0.7s + 32 images in 82.48s
exfoliation - 9 files in 100.62s + 62 images in 38.07s
forecast - 12 files in 110.11s
ftp - 353 files in 110.13s

report cycle for record 2019-02-01 03:35:00
skipped because report generator still running previous record

report cycle for record 2019-02-01 06:42:00
StdReport - 14 files in 5.53s + 12 images in 3.07s
cmon - 1 file in 0.15s + 32 images in 81.32s
exfoliation - 8 files in 9.64s + 48 images in 27.97s
forecast - 12 files in 82.3s
ftp - 127 files in 35.62s

report cycle for record 2019-02-01 06:49:00
StdReport - 14 files in 2.89s + 12 images in 2.89s
cmon - 1 file in 0.15s + 32 images in 81.12s
exfoliation - 8 files in 9.63s + 28 images in 9.37s
forecast 12 files in 83.02s
ftp - 107 files in 33.38s

so the first run is longer, as expected.  you should see longer report 
generation times whenever the monthly/yearly plots are updated as well.

you could eliminate LOTS of overhead by removing the forecast skin.  the 
exfoliation skin has forecast reporting built in, so you don't need the 
forecast skin too.  the forecast skin is designed to illustrate how 
forecasting works and to provide lots of examples of how to use it.  you 
probably don't want to run it in 'production'.

- what are wx_ftp_upload and wx_cp_index?

- you are getting stale data from the acurite sensor cluster (see circa 
07:13:47 in syslog.2). this is not unusual, but if it happens a lot then 
you should look at way of making your connection stronger (eliminate 
interference, re-orient the console, put console closer to sensors, dance 
naked around a fire at the next full moon, etc).

- you might want to plot the 'ignoring stale data' messages over time.  
that is a good way to see if there is a pattern to the interference timing.

- don't generate forecasts any more often than you must.  once every 4 
hours is typically sufficient.  i think exfoliation is set up to do this - 
it only generates forecast.html every 4 hours.  and the forecast download 
services are set up to download the data based on when the sources update.  
once again, get rid of forecast skin, because i think it regenerates every 
report cycle, even though that frequency is pointless.

- be sure that you have a sane max_age in the [Forecast] section in 
weewx.conf.  something like 604800 is reasonable.  you should only use 
max_age=none if you intend to retain forecasts indefinitely, e.g., for 
doing forecast comparisons over extended periods.

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to