brightsky icon indicating copy to clipboard operation
brightsky copied to clipboard

Worker process randomly dies during MOSMIX parsing

Open smilingchemist opened this issue 2 years ago • 4 comments

Hi, thanks for providing this great API!

I have been trying around for some days now but I think there is an issue. During the past 48 hours (approx.) the field "last_record" shows "2022-08-08T16:00:00+00:00" in the forecast sources. Is there maybe a problem with updating the forecasts or is this normal behaviour?

Thank you in advance!

smilingchemist avatar Aug 01 '22 12:08 smilingchemist

Hi @smilingchemist,

thanks for the report, I must've falsely judged a Sentry notification as "one-time error" there. Seems that restarting our worker fixed it for now, I'll look into the cause once I'm back from vacation.

Cheers, -Jakob

jdemaeyer avatar Aug 01 '22 14:08 jdemaeyer

Hi Jakob,

I fear the issue came back. I wish you a nice holiday anyway.

Frank

smilingchemist avatar Aug 01 '22 19:08 smilingchemist

Digging through the Sentry issue suggests that this is based on worker processes breaking while processing MOSMIX files. Maybe it's some memory issue (although we do have plenty of free memory). I will try playing around with the number of huey workers and/or their type, although this is more wild guessing than actually knowing what's going on.

jdemaeyer avatar Aug 11 '22 10:08 jdemaeyer

4f02502

jdemaeyer avatar Aug 11 '22 13:08 jdemaeyer

Closing as this hasn't happened in forever. The memory footprint during parsing was greatly reduced when we refactored to use dwdparse.

jdemaeyer avatar Jun 21 '23 08:06 jdemaeyer