Loosing Time **solved**

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
Ed_Heaton
Junior Boarder
Junior Boarder
Posts: 32
Joined: Tue Mar 25, 2014 2:44 pm

Loosing Time **solved**

Post 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
Attachments
Capture.JPG
Capture.JPG (20.49 KiB) Viewed 172 times

Ed_Heaton
Junior Boarder
Junior Boarder
Posts: 32
Joined: Tue Mar 25, 2014 2:44 pm

Re: Loosing Time

Post by Ed_Heaton »

Here's a screen grab of what I'm encountering...
Attachments
Capture.JPG
Capture.JPG (24.48 KiB) Viewed 165 times

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 475
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Loosing Time

Post 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
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

Ed_Heaton
Junior Boarder
Junior Boarder
Posts: 32
Joined: Tue Mar 25, 2014 2:44 pm

Re: Loosing Time

Post by Ed_Heaton »

It was working prior but I have went ahead an reduced the upload time to one minute

Ed_Heaton
Junior Boarder
Junior Boarder
Posts: 32
Joined: Tue Mar 25, 2014 2:44 pm

Re: Loosing Time

Post 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...
Attachments
Capture.JPG
Capture.JPG (61.75 KiB) Viewed 157 times

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 6376
Joined: Mon Oct 01, 2007 10:51 pm

Re: Loosing Time

Post 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?

Ed_Heaton
Junior Boarder
Junior Boarder
Posts: 32
Joined: Tue Mar 25, 2014 2:44 pm

Re: Loosing Time

Post by Ed_Heaton »

Only 3 items in the buffer 0% ... It has seemed to corrected itself...

User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 6376
Joined: Mon Oct 01, 2007 10:51 pm

Re: Loosing Time

Post by admin »

Sounds like it needed some time to empty the queue in the buffer.

Ed_Heaton
Junior Boarder
Junior Boarder
Posts: 32
Joined: Tue Mar 25, 2014 2:44 pm

Re: Loosing Time

Post 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%)

User avatar
wvdkuil
Platinum Boarder
Platinum Boarder
Posts: 475
Joined: Sun Jul 24, 2011 8:00 pm
Location: Belgium
Contact:

Re: Loosing Time

Post 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
Support for Leuven-Template & Scripts at https://support.leuven-template.eu/
Support for the PWS_Dashboard (HWS-template) https://pwsdashboard.com/

Ed_Heaton
Junior Boarder
Junior Boarder
Posts: 32
Joined: Tue Mar 25, 2014 2:44 pm

Re: Loosing Time **solved**

Post by Ed_Heaton »

I understand now.. My weather34 seemed to be the main issue combined with my website data. Thank you @wvdkuil

Post Reply