Ok this one has me pulling out my air.
Most of the time when I go to
https://weather.satelliteguys.us the page immediately loads.
However sometimes when I goto the page only partly renders... then freezes (and freezes at different points) and then can take up to 60 seconds to finish loading.
My. host screwed up my PHP a few days ago, and reverted us back to 7, but now we are back on 8.2 again. It is doing the same thing on either version of PHP.
I contacted my host and they say everything is fine...
So I got mad... I went out and got a BRAND NEW server, moved the site over to the new server and it's the only thing currently on this server. And it's still doing it.
When it does it, the check-fetch-times.php file looks like this...
check-fetch-times.php Version 1.56 - 16-Mar-2024
Website PHP information
Running on webhost 'weather.satelliteguys.us' @ IP='154.38.162.185' (reverse IP Name='vmi1766483.contaboserver.net')
Webserver OS: Linux vmi1766483.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
PHP Version: 8.2.17 built for Linux
PHP cmd location: /opt/cpanel/ea-php82/root/usr/bin/php
Document root: /home/weather/public_html
Template root: /home/weather/public_html
allow_url_fopen = ON
allow_url_include = off
request_order = GP
Stream support for http is available
Stream support for https is available
Streams supported: compress.bzip2, compress.zlib, compress.zstd, data, file, ftp, ftps, glob, http, https, phar, php, zip
Socket transports: ssl, tcp, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3, udg, udp, unix
Checking access to key websites for your template set
This script will check the load times and the ability to save cache files for the included support scripts with your template package.
Included Settings.php time=55.763 secs.
Using lang=en as default for testing
--checking NWS Forecast URL --
Using first entry in Settings.php $SITE['NWSforecasts'] for test.
URL: https://api.weather.gov/points/41.6926,-72.721
Cache: ./cache/forecast-CAZ513-meta-json.txt
curl fetching 'https://api.weather.gov/points/41.6926,-72.721'
HTTP stats: RC=200 dest=2600:1407:3c00:1689::116 port=443 (from sce=2605:a140:2176:6483::1)
Times: dns=0.001 conn=0.008 pxfer=0.027 get=0.123 total=0.150 secs
RC=200, bytes=3707
Wrote 3707 bytes to ./cache/forecast-CAZ513-meta-json.txt successfully.
Test was SUCCESSFUL.
--end NWS Forecast URL check --
--checking NWS Warning Zone ATOM/CAP Feed --
Using Settings.php $SITE['noaazone'] entry for test.
URL: https://api.weather.gov/alerts/active.atom?zone=CAZ513
Cache: ./cache/nws-alerts-CAZ513.txt
curl fetching 'https://api.weather.gov/alerts/active.atom?zone=CAZ513'
HTTP stats: RC=200 dest=2600:1407:3c00:1689::116 port=443 (from sce=2605:a140:2176:6483::1)
Times: dns=0.001 conn=0.010 pxfer=0.059 get=0.094 total=0.153 secs
RC=200, bytes=1275
Data age=580646 sec 'Sat, 23 Mar 2024 00:00:00 GMT'
Wrote 1275 bytes to ./cache/nws-alerts-CAZ513.txt successfully.
Test was SUCCESSFUL.
--end NWS Warning Zone ATOM/CAP Feed check --
--checking UV Forecast from temis.nl --
Using Settings.php $SITE['UVscript'] entry for test.
URL: https://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-72.71929169&lat=41.68506241
Cache: ./cache/uv-forecast.txt
curl fetching 'https://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-72.71929169&lat=41.68506241'
HTTP stats: RC=200 dest=52.16.73.3 port=443 (from sce=154.38.162.185)
Times: dns=0.001 conn=0.102 pxfer=0.311 get=0.143 total=0.455 secs
RC=200, bytes=7002
Wrote 7002 bytes to ./cache/uv-forecast.txt successfully.
Test was SUCCESSFUL.
--end UV Forecast from temis.nl check --
Total time taken = 55.763 secs.
Elapsed 57 seconds.
PHP Version 8.2.17
Memory post_max_size 8M bytes.
Memory usage 487984 bytes.
Memory peak usage 564632 bytes.
Other than it taking 57 seconds to load it... everything looks fine on all the fetches.
I have not carried over any php, apache or mysql settings over to this new server. Everything is at default. I have Cpanel and WHM and can make changes if needed.
Most of the times it is running fine and here is what it looks like when its running fine.
check-fetch-times.php Version 1.56 - 16-Mar-2024
Website PHP information
Running on webhost 'weather.satelliteguys.us' @ IP='154.38.162.185' (reverse IP Name='vmi1766483.contaboserver.net')
Webserver OS: Linux vmi1766483.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
PHP Version: 8.2.17 built for Linux
PHP cmd location: /opt/cpanel/ea-php82/root/usr/bin/php
Document root: /home/weather/public_html
Template root: /home/weather/public_html
allow_url_fopen = ON
allow_url_include = off
request_order = GP
Stream support for http is available
Stream support for https is available
Streams supported: compress.bzip2, compress.zlib, compress.zstd, data, file, ftp, ftps, glob, http, https, phar, php, zip
Socket transports: ssl, tcp, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3, udg, udp, unix
Checking access to key websites for your template set
This script will check the load times and the ability to save cache files for the included support scripts with your template package.
Included Settings.php time=0.002 secs.
Using lang=en as default for testing
--checking NWS Forecast URL --
Using first entry in Settings.php $SITE['NWSforecasts'] for test.
URL: https://api.weather.gov/points/41.6926,-72.721
Cache: ./cache/forecast-CAZ513-meta-json.txt
curl fetching 'https://api.weather.gov/points/41.6926,-72.721'
HTTP stats: RC=200 dest=2600:1407:1800:390::116 port=443 (from sce=2605:a140:2176:6483::1)
Times: dns=0.022 conn=0.030 pxfer=0.053 get=0.017 total=0.071 secs
RC=200, bytes=3707
Wrote 3707 bytes to ./cache/forecast-CAZ513-meta-json.txt successfully.
Test was SUCCESSFUL.
--end NWS Forecast URL check --
--checking NWS Warning Zone ATOM/CAP Feed --
Using Settings.php $SITE['noaazone'] entry for test.
URL: https://api.weather.gov/alerts/active.atom?zone=CAZ513
Cache: ./cache/nws-alerts-CAZ513.txt
curl fetching 'https://api.weather.gov/alerts/active.atom?zone=CAZ513'
HTTP stats: RC=200 dest=2600:1407:1800:390::116 port=443 (from sce=2605:a140:2176:6483::1)
Times: dns=0.001 conn=0.008 pxfer=0.028 get=0.096 total=0.124 secs
RC=200, bytes=1274
Data age=581174 sec 'Sat, 23 Mar 2024 00:00:00 GMT'
Wrote 1274 bytes to ./cache/nws-alerts-CAZ513.txt successfully.
Test was SUCCESSFUL.
--end NWS Warning Zone ATOM/CAP Feed check --
--checking UV Forecast from temis.nl --
Using Settings.php $SITE['UVscript'] entry for test.
URL: https://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-72.71929169&lat=41.68506241
Cache: ./cache/uv-forecast.txt
curl fetching 'https://www.temis.nl/uvradiation/nrt/uvindex.php?lon=-72.71929169&lat=41.68506241'
HTTP stats: RC=200 dest=52.16.73.3 port=443 (from sce=154.38.162.185)
Times: dns=0.012 conn=0.113 pxfer=0.325 get=0.126 total=0.451 secs
RC=200, bytes=7002
Wrote 7002 bytes to ./cache/uv-forecast.txt successfully.
Test was SUCCESSFUL.
--end UV Forecast from temis.nl check --
Total time taken = 0.002 secs.
Elapsed 1 seconds.
PHP Version 8.2.17
Memory post_max_size 8M bytes.
Memory usage 487856 bytes.
Memory peak usage 564504 bytes.
I went and downloaded all the files from Kens site, and have uploaded Settings.php, AltAjaxDashboardConfig6.php, ajaxWDwx3.js, ajaxdashboard.php. top.php, fdyoutmenux.xml, footer.php and others and it is still happening.
Not sure what's happening here or what else I can try, the error log files show nothing and it only happens every once in awhile. I contacted support and they can find nothing wrong with the server. I even had them wipe it and reload it and still same issue.
Any ideas?
Thank you!