Loosing Time **solved**
Moderator: Mattk
Loosing Time **solved**
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
www.atglenweather.com
- Attachments
-
- Capture.JPG (20.49 KiB) Viewed 3005 times
Re: Loosing Time
Here's a screen grab of what I'm encountering...
- Attachments
-
- Capture.JPG (24.48 KiB) Viewed 2998 times
Re: Loosing Time
That time comes from the realtime file https://www.atglenweather.com/MBrealtime.txtEd_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
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.
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:|:
And see if the times on your website remain close to the clock-time.
Wim
Re: Loosing Time
It was working prior but I have went ahead an reduced the upload time to one minute
Re: Loosing Time
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 (61.75 KiB) Viewed 2990 times
Re: Loosing Time
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
Only 3 items in the buffer 0% ... It has seemed to corrected itself...
Re: Loosing Time
Sounds like it needed some time to empty the queue in the buffer.
Re: Loosing Time
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%)
What would be causing this? Currently - 0 hours, 41 minutes Buffer: 280 items (28%)
Re: Loosing Time
You are running more HTTP / PHP request then your webserver can handle.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%)
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**
I understand now.. My weather34 seemed to be the main issue combined with my website data. Thank you @wvdkuil