Page 1 of 1

Loosing Time **solved**

Posted: Wed Oct 14, 2020 8:07 pm
by Ed_Heaton
My upload data is loosing time. It's currently 2:03pm est but my website says it's 1:53 pm est so my data has lost 10 minutes. Everything was running fine until yesterday when I rebooted my meteobridge. It will continue loosing time for some reason. It lost 45 minutes over night.

www.atglenweather.com

Re: Loosing Time

Posted: Wed Oct 14, 2020 9:36 pm
by Ed_Heaton
Here's a screen grab of what I'm encountering...

Re: Loosing Time

Posted: Wed Oct 14, 2020 10:34 pm
by wvdkuil
Ed_Heaton wrote: Wed Oct 14, 2020 8:07 pm My upload data is loosing time. It's currently 2:03pm est but my website says it's 1:53 pm est so my data has lost 10 minutes. Everything was running fine until yesterday when I rebooted my meteobridge. It will continue loosing time for some reason. It lost 45 minutes over night.

www.atglenweather.com
That time comes from the realtime file https://www.atglenweather.com/MBrealtime.txt

Code: Select all

14/10/2020 15:41:21  20.6 47 8.9 1.3 1.8 229.0 0.0 0.3 1014.9 SW 1 m/s C hPa mm -- 0.
That file seems to be uploaded very very fast, maybe 1 / second?
There could be a backlog of uploads inside the meteobridge.

Other uploads are correct as the one for your main data upload MBtags.php
That 5 minute file has correct time, but that time is not shown on your website.

Code: Select all

date|2020-10-14|// local date:|:
time|16:24:05|// local time:|:
Maybe you could check yhe upload frequency of your files and set them a little slower, Say not faster then once / minute.
And see if the times on your website remain close to the clock-time.

Wim

Re: Loosing Time

Posted: Wed Oct 14, 2020 11:13 pm
by Ed_Heaton
It was working prior but I have went ahead an reduced the upload time to one minute

Re: Loosing Time

Posted: Wed Oct 14, 2020 11:24 pm
by Ed_Heaton
I did change the upload frequency but it didn't make any difference... Here's a screen shot of my upload status... Notice the time stamps and the computer current time...

Re: Loosing Time

Posted: Sat Oct 17, 2020 4:46 pm
by admin
Is the buffer status on tabs "System -> Information" indicating that a lot of requests are in the buffer? Are you working with retries for your services?

Re: Loosing Time

Posted: Sat Oct 17, 2020 8:38 pm
by Ed_Heaton
Only 3 items in the buffer 0% ... It has seemed to corrected itself...

Re: Loosing Time

Posted: Sat Oct 17, 2020 10:47 pm
by admin
Sounds like it needed some time to empty the queue in the buffer.

Re: Loosing Time

Posted: Mon Oct 19, 2020 5:01 pm
by Ed_Heaton
Well it seems that the buffer is having issues again! Here's the buffer - 0 hours, 7 minutes Buffer: 45 items (5%) and it just keeps climbing...
What would be causing this? Currently - 0 hours, 41 minutes Buffer: 280 items (28%)

Re: Loosing Time

Posted: Mon Oct 19, 2020 5:44 pm
by wvdkuil
Ed_Heaton wrote: Mon Oct 19, 2020 5:01 pm Well it seems that the buffer is having issues again! Here's the buffer - 0 hours, 7 minutes Buffer: 45 items (5%) and it just keeps climbing...
What would be causing this? Currently - 0 hours, 41 minutes Buffer: 280 items (28%)
You are running more HTTP / PHP request then your webserver can handle.
weather34/ has a large request every ?? seconds.
The realtime file for Saratoga every so many ?? seconds.

The current response times of a simple script https://www.atglenweather.com/wxstatus.php is at least 6 to 8 seconds.

All those http uploads wait in-line inside your Meteobridge until taken care off by your webserver.

That is why I said last time to set the uploads times longer.
Can you post an updated screenshot of your FTP/HTTP uploads (wxforum shows every 5 seconds + 1 retry)
and what is the time for your weather34/ upload?

Wim

Re: Loosing Time **solved**

Posted: Mon Oct 19, 2020 7:51 pm
by Ed_Heaton
I understand now.. My weather34 seemed to be the main issue combined with my website data. Thank you @wvdkuil