TL-MR3020 crashed: Cannot allocate memory
Posted: Mon Dec 01, 2014 4:01 pm
Last night at around 1:45h, my "weatherboxx" (TL-MR3020) got stuck. Means, it didn't transfer any data to the Meteoplug Server or to the weather Networks any more for several hours.
The lights were flashing as usual and I could still access it via IP. It said the "Last Send" was I think around 16000 sec ago (~5 hours) and I could copy&paste the following error messages from the client's screen:
logger (01.12.2014 07:03:49): station 0 (Meteostick), suspicious raintotal (undetected): total/old 163.2/25.6mm (e4 00 00 30 05 00 b7 c9) [b3:80] -64db
logger (01.12.2014 07:04:01): station 0 (Meteostick), suspicious raintotal (undetected): total/old 163.2/25.6mm (e4 00 00 30 05 00 b7 c9) [b3:80] -63db
logger (01.12.2014 07:04:03): error processing "awk '{c=$3;lg=7.8;lt=47.45;d=0.0174533;j=strftime("%j");st=strftime("%H")+1;mi=strftime("%M");}{x=-23.45*cos(d*360*(j+10)/365);z=60*(-0.171*sin(0.0337*j+0.465)-0.1299*sin(0.01787*j-0.168));w=15*(st+mi/60-(15-lg)/15-12+z/60);s=sin(d*lt)*sin(d*x)+cos(d*lt)*cos(d*x)*cos(d*w);s2=atan2(s,sqrt(1-s^2))/d;m=1368*sin(s2*d);a=(1-sin(s2*d))*0.3*m;g=(m-a)*0.4;if (st<8) g=g*1-3;if (st>14) g=g*1+21;o=0;if ((c>g)&&(g>15)) o=100;printf"%d",o}'": : Cannot allocate memory
logger (01.12.2014 07:04:12): station 0 (Meteostick), suspicious raintotal (undetected): total/old 163.2/25.6mm (e4 00 00 30 05 00 b7 c9) [b3:80] -63db
logger (01.12.2014 07:04:23): station 0 (Meteostick), suspicious raintotal (undetected): total/old 163.2/25.6mm (e4 00 00 30 05 00 b7 c9) [b3:80] -63db
Don't get confused by the long awk script. This is my sunshine-duration calculation and it successfully works for more than 4 months meanwhile.
I also had another error message that I couldn't copy&paste because it disappeared right before I wanted to copy it, but it said something like: "Upload process: Cannot allocate memory".
Don't know if there's a memory leak somewhere that crashed it after a while.
Many thanks in advance for any potential bug fixing!
The lights were flashing as usual and I could still access it via IP. It said the "Last Send" was I think around 16000 sec ago (~5 hours) and I could copy&paste the following error messages from the client's screen:
logger (01.12.2014 07:03:49): station 0 (Meteostick), suspicious raintotal (undetected): total/old 163.2/25.6mm (e4 00 00 30 05 00 b7 c9) [b3:80] -64db
logger (01.12.2014 07:04:01): station 0 (Meteostick), suspicious raintotal (undetected): total/old 163.2/25.6mm (e4 00 00 30 05 00 b7 c9) [b3:80] -63db
logger (01.12.2014 07:04:03): error processing "awk '{c=$3;lg=7.8;lt=47.45;d=0.0174533;j=strftime("%j");st=strftime("%H")+1;mi=strftime("%M");}{x=-23.45*cos(d*360*(j+10)/365);z=60*(-0.171*sin(0.0337*j+0.465)-0.1299*sin(0.01787*j-0.168));w=15*(st+mi/60-(15-lg)/15-12+z/60);s=sin(d*lt)*sin(d*x)+cos(d*lt)*cos(d*x)*cos(d*w);s2=atan2(s,sqrt(1-s^2))/d;m=1368*sin(s2*d);a=(1-sin(s2*d))*0.3*m;g=(m-a)*0.4;if (st<8) g=g*1-3;if (st>14) g=g*1+21;o=0;if ((c>g)&&(g>15)) o=100;printf"%d",o}'": : Cannot allocate memory
logger (01.12.2014 07:04:12): station 0 (Meteostick), suspicious raintotal (undetected): total/old 163.2/25.6mm (e4 00 00 30 05 00 b7 c9) [b3:80] -63db
logger (01.12.2014 07:04:23): station 0 (Meteostick), suspicious raintotal (undetected): total/old 163.2/25.6mm (e4 00 00 30 05 00 b7 c9) [b3:80] -63db
Don't get confused by the long awk script. This is my sunshine-duration calculation and it successfully works for more than 4 months meanwhile.
I also had another error message that I couldn't copy&paste because it disappeared right before I wanted to copy it, but it said something like: "Upload process: Cannot allocate memory".
Don't know if there's a memory leak somewhere that crashed it after a while.
Many thanks in advance for any potential bug fixing!