Author Topic: Server Problems?  (Read 3360 times)

0 Members and 1 Guest are viewing this topic.

Offline Knorrli

  • Member
  • *
  • Posts: 36
Server Problems?
« on: July 06, 2015, 11:39:16 AM »
Since about 24 h my Blitzortung maps don't display strokes and tracking stations anymore; date/time info in top right corner is accurate. Is the problem on my side or is the server partially down for testing?

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Server Problems?
« Reply #1 on: July 06, 2015, 11:55:16 AM »
The last several days, the data.blitzortung.de server has been having really slow response at times.  A query for .json file that normally takes < 10 seconds takes upwards of 100-200 seconds.  I've had to adjust my bash script to run the BOmaps animations to kill off any lingering get-BO-maps.php processes that haven't finished in 5 minutes :(

Hope they fix the issue soon.. sure is a pain.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4109
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Server Problems?
« Reply #2 on: July 06, 2015, 12:02:27 PM »
I don't see strike updates on Blitzortung.org, but Lightningmaps.org seems OK.

The data feeds for my scripts are also OK. As Ken indicated, there have been intermittent problems with this data and my maps we going "stale" yesterday.

Greg H.




Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline Knorrli

  • Member
  • *
  • Posts: 36
Re: Server Problems?
« Reply #3 on: July 06, 2015, 12:15:49 PM »
Thanks guys, I can live with "stale" for a while, at least I don't have to start taking my computer apart  =D&gt;

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4109
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Server Problems?
« Reply #4 on: July 06, 2015, 03:04:31 PM »
If I can quote myself,
Quote
I don't see strike updates on Blitzortung.org

Actually, they are updating on the 2nd tab "Live Overview".

Greg H.



Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: Server Problems?
« Reply #5 on: July 06, 2015, 10:24:02 PM »
The last several days, the data.blitzortung.de server has been having really slow response at times.  A query for .json file that normally takes < 10 seconds takes upwards of 100-200 seconds.  I've had to adjust my bash script to run the BOmaps animations to kill off any lingering get-BO-maps.php processes that haven't finished in 5 minutes :(

Hope they fix the issue soon.. sure is a pain.

Ken,

I just noticed that my last update for BOmaps was July 1st. My status.txt file shows the following:
  • BOmapgen - V1.01 - 21-Apr-2015
    start processing for region 3 data Mon, 06 Jul 2015 18:45:01
    Fatal error:  Maximum execution time of 30 seconds exceeded in /homepages/14/d239618093/htdocs/BOmaps/BOmapgen-inc.php on line 84
How did you modify you bash script to kill off the lingering processes?
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s150,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam (off-line)
--- RIPE Atlas Probe - 32849

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Server Problems?
« Reply #6 on: July 06, 2015, 11:09:24 PM »
I changed the animate.txt file from
Code: [Select]
cd $HDIR
$PHPcmd -q gen-BO-maps.php > status.txt 2>&1
to
Code: [Select]
cd $HDIR
ps auxw | grep "gen-BO-maps.php" | grep -v 'grep' | awk '{print $2}' | xargs kill >/dev/null 2>&1
$PHPcmd -q gen-BO-maps.php > status.txt 2>&1
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: Server Problems?
« Reply #7 on: July 06, 2015, 11:18:46 PM »
I changed the animate.txt file from
Code: [Select]
cd $HDIR
$PHPcmd -q gen-BO-maps.php > status.txt 2>&1
to
Code: [Select]
cd $HDIR
ps auxw | grep "gen-BO-maps.php" | grep -v 'grep' | awk '{print $2}' | xargs kill >/dev/null 2>&1
$PHPcmd -q gen-BO-maps.php > status.txt 2>&1

Thanks Ken. Do I have to stop and then restart the cron job to get it to use the newly modified animate.txt file?
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s150,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam (off-line)
--- RIPE Atlas Probe - 32849

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Server Problems?
« Reply #8 on: July 06, 2015, 11:24:07 PM »
If the cron job just executes the animate.txt script, then just update the contents of animate.txt and FTP it to your site.
Remember to use Notepad++ to edit the file, and show symbols end-of-line to make sure only New-Line characters (\n) appear.
If the lines end in CR,LF  (\r\n), the bash shell will barf and not execute the script.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: Server Problems?
« Reply #9 on: July 06, 2015, 11:50:30 PM »
If the cron job just executes the animate.txt script, then just update the contents of animate.txt and FTP it to your site.
Remember to use Notepad++ to edit the file, and show symbols end-of-line to make sure only New-Line characters (\n) appear.
If the lines end in CR,LF  (\r\n), the bash shell will barf and not execute the script.

I don't see the \n or CR,LF at the end of the lines but, I do see LF on all lines.

Am still getting the same error as before. I notice the strikes.txt file in the cache folder is 684,677,427 bytes in size. Is that reasonable? It has a timestamp that matches the last run time of the cron job.
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s150,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam (off-line)
--- RIPE Atlas Probe - 32849

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Server Problems?
« Reply #10 on: July 07, 2015, 12:44:52 AM »
LF is just fine (Line-feed or new-line).

600+MB is way too large for the strikes.txt file.  Upload a 0 byte strikes.txt file to clear it out, then the collection will restart from the last two hours.

My strikes.txt is at 489.34 KB right now.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4109
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Server Problems?
« Reply #11 on: July 07, 2015, 08:29:07 AM »
Don,

Log onto sferics.us and see this: http://sferics.us/bo1/index.php?topic=141.msg679#msg679

It sounds like you didn't pick up v1.03.

Quote
I saw the update while I was out of town.

Can I just upload the newest version of BOmapgen-inc.php and BOstations-inc.php and call it good?

I would assume that this should be OK and that I don't need to upload the entire new archive...

UPDATE: I went ahead and did upload just these two files from V1.03 and it seems OK so far...

Greg H.

FWIW, my file size is
Quote
242.99 KB is strikes.txt file size used by Blitzortung.
I uploaded the two files that were part of the v1.03 update.

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: Server Problems?
« Reply #12 on: July 07, 2015, 05:52:33 PM »
Wow, how did I miss the update to V1.03? Anyway, I have created a new strikes.txt file and downloaded the V1.03.

Will now watch to see what happens. Hopefully, this will cure my BOmap problems.

Thanks for the help guys!!  =D&gt;

EDIT: After a couple minutes I checked the status.txt file. Here is what I now see. Looks like it is now rebuilding the history files.

BOmapgen - V1.03 - 22-May-2015
Parms: URLPath='/BOmaps/' for map gen
Parms: maxFilesize='200 MB' for cache/strikes.txt
Parms: ourTZ='America/Los_Angeles'
start processing for region 3 data Tue, 07 Jul 2015 14:50:01
current cache/strikes.txt strikes file size is 0 B
cache/strikes.txt filtered for old data
First data: Wed, 31 Dec 1969 16:00:00
Last data : Tue, 07 Jul 2015 12:50:01
old data - restart collection from Tue, 07 Jul 2015 12:50:01
fetching new strikes file at http://user:pass-omitted@data.blitzortung.org/Data_3/Protected/Strikes/2015/07/07/19/50.json
« Last Edit: July 07, 2015, 06:00:27 PM by W3DRM »
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s150,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam (off-line)
--- RIPE Atlas Probe - 32849

Offline Knorrli

  • Member
  • *
  • Posts: 36
Re: Server Problems?
« Reply #13 on: July 07, 2015, 07:53:45 PM »
The Live Maps still doesn't track strikes and the Live Overview Map seems to be very sluggish. The Live Map shows a total of over 89,000 lightning. Is this the problem?

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: Server Problems?
« Reply #14 on: July 07, 2015, 11:44:10 PM »
I don't understand what is going on. I still don't see any updates to my BO-SWN lightning pages. Looking at the status.txt seems to show a "HTTP/1.1 404 Not Found" error but i don't know what that means in this situation. The cron job seems to be running okay.
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s150,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam (off-line)
--- RIPE Atlas Probe - 32849

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Server Problems?
« Reply #15 on: July 08, 2015, 12:01:40 AM »
There was another very slow period for data.blitzortung.de JSON requests.. one cycle for me took 5000 seconds to complete.

I had to stop cron, run gen-BO-maps.php manually (via SSH/shell), then restart the cron.  Even now it can take 80 seconds to complete with just one fetch.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: Server Problems?
« Reply #16 on: July 08, 2015, 12:11:17 AM »
There was another very slow period for data.blitzortung.de JSON requests.. one cycle for me took 5000 seconds to complete.

I had to stop cron, run gen-BO-maps.php manually (via SSH/shell), then restart the cron.  Even now it can take 80 seconds to complete with just one fetch.

What is confusing me is that when I bring up the individual BOSWN-ani.gif file I see the old July 1 images. The modified date shown via FileZilla shows 7/7/2015 at a current time. To me, it appears the cron file, while running, isn't grabbing and/or processing the latest data. Is this a symptom of the server being so slow? This cron stuff is giving me a headache.  :lol:

Perhaps I should do the same thing you did and stop the cron job and run gen-BO-maps.php manually and see what happens.
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s150,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam (off-line)
--- RIPE Atlas Probe - 32849

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Server Problems?
« Reply #17 on: July 08, 2015, 12:15:38 AM »
Yes, the slow responses from data.blitzortung.de are what is causing the issues.  I do hope they fix that soon!

Yes, stop your cron running of animate.txt, kill any gen-BO-maps.php process(s) and run gen-BO-maps.php and watch how slow it goes.  When it finishes, then engage the cron again and it may be able to complete with 1 or 2 fetches to freshen the file even if it takes 120 seconds to fetch one.. as long as it completes in < 300 seconds, the next cron invocation won't kill the long-running one.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline W3DRM

  • Forecaster
  • *****
  • Posts: 3360
    • Emmett Weather
Re: Server Problems?
« Reply #18 on: July 08, 2015, 12:36:57 AM »

Thanks Ken,

Well, just as I was getting ready to kill the cron job, I took a quick look at the BOSWN and other images and discovered that all of them are now showing current lightning data. So, I guess things have worked themselves out for the time being. I'll continue to watch for a while to see if the problem starts all over again.

Have you made any contact with Tobi or Egon about the server issues? If not, I'll send him a note and see what they say.
Don - W3DRM - Emmett, Idaho --- Blitzortung ID: 808 --- FlightRadar24 ID: F-KBOI7
Davis Wireless VP2, WD 10.37s150,
StartWatch, VirtualVP, VPLive, Win10 Pro
--- Logitech HD Pro C920 webcam (off-line)
--- RIPE Atlas Probe - 32849

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Server Problems?
« Reply #19 on: July 08, 2015, 10:47:26 AM »
I've not contacted Tobi or Egon about the slow response.. please contact them!

I'd love to have the queries to their server take 10 secs or less for each 10-minute slice.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4109
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Server Problems?
« Reply #20 on: July 08, 2015, 03:56:59 PM »
Quote
Yes, the slow responses from data.blitzortung.de are what is causing the issues.

Ken, I am a little puzzled by this. The scripts point to data.blitzortung.org. If I ping each, I get differing IP address responses.

Are they mirrored servers?

Greg H.




Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Server Problems?
« Reply #21 on: July 09, 2015, 11:08:29 AM »
I get it as one server:

81.7.10.149
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline miraculon

  • Sunrise Side Weather
  • Forecaster
  • *****
  • Posts: 4109
  • KE8DAF
    • Sunrise Side Weather in Rogers City MI USA
Re: Server Problems?
« Reply #22 on: July 09, 2015, 12:50:05 PM »
data.blitzortung.de resolves as 81.7.10.149 for me and data.blitzortung.org resolves as 217.145.98.148.
What nameserver are you using? I have 8.8.8.8 (Google) set in my router.

Code: [Select]
Pinging data.blitzortung.de [81.7.10.149] with 32 bytes of data:
Reply from 81.7.10.149: bytes=32 time=142ms TTL=47
Reply from 81.7.10.149: bytes=32 time=139ms TTL=47
Reply from 81.7.10.149: bytes=32 time=161ms TTL=47
Reply from 81.7.10.149: bytes=32 time=142ms TTL=47

Ping statistics for 81.7.10.149:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 139ms, Maximum = 161ms, Average = 146ms

C:\Users\Greg>ping data.blitzortung.org

Pinging data.blitzortung.org [217.145.98.148] with 32 bytes of data:
Reply from 217.145.98.148: bytes=32 time=130ms TTL=43
Reply from 217.145.98.148: bytes=32 time=132ms TTL=43
Reply from 217.145.98.148: bytes=32 time=133ms TTL=43
Reply from 217.145.98.148: bytes=32 time=133ms TTL=43

Ping statistics for 217.145.98.148:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 130ms, Maximum = 133ms, Average = 132ms

I tried several DNS addresses on http://www.kloth.net/services/nslookup.php that I found on http://public-dns.tk/nameserver/us.html and they seem to be as shown above.

Greg H.


Blitzortung Stations #706 and #1682
CoCoRaHS: MI-PI-1
CWOP: CW4114 and KE8DAF-13
WU: KMIROGER7
Amateur Radio Callsign: KE8DAF

 

anything