Monitoring: Tiling-Cache kaputt?
Michael Fritscher
michael at fritscher.net
Mo Okt 23 09:38:55 CEST 2017
Hi
> "
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: Warning: Overflow Error
> when saving 98:de:d0:65:d9:30: MongoDB can only handle up to 8-byte ints
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __Traceback (most recent
> call last):
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ File
> "/usr/local/lib/python3.5/dist-packages/ffmap/routertools.py", line 64, in
> import_nodewatcher_xml
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ ("$slice",
> int(CONFIG["router_stat_days"] * -1 * 24 * (3600 / 300)))
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ File
> "/usr/local/lib/python3.5/dist-packages/pymongo/collection.py", line 907,
> in update_one
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __
> collation=collation)
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ File
> "/usr/local/lib/python3.5/dist-packages/pymongo/collection.py", line 766,
> in _update
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __
> codec_options=self.__write_response_codec_options).copy()
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ File
> "/usr/local/lib/python3.5/dist-packages/pymongo/pool.py", line 482, in
> command
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __
> self._raise_connection_failure(error)
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ File
> "/usr/local/lib/python3.5/dist-packages/pymongo/pool.py", line 610, in
> _raise_connection_failure
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ raise error
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ File
> "/usr/local/lib/python3.5/dist-packages/pymongo/pool.py", line 477, in
> command
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __
> collation=collation)
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ File
> "/usr/local/lib/python3.5/dist-packages/pymongo/network.py", line 94, in
> command
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __ None,
> codec_options, check_keys)
> Oct 23 06:25:57 monitoring uwsgi_python3[17305]: __OverflowError: MongoDB
> can only handle up to 8-byte ints
> "
> (Wird da versucht ein Mac-String ohne Konvertierung in ein 8 byte integer
> reinzustecken? Wobei das Speichern der mac nicht als String sondern (nach
> Konvertierung) als Ganzzahl eigentlich eine gute Idee ist)
Sind exakt 4 Router:
84:16:f9:9b:c2:1a:
98:de:d0:65:d9:30:
ec:08:6b:78:74:a6:
f8:1a:67:a5:e8:c8:
--> sind exakt die Router unter
https://monitoring.freifunk-franken.de/routers?q=status:unknown
Christian Süpke schreibt die gerade an.
Ja, gut möglich, dass dies ein "normaler" Overflow ist - habe mir den Code
nicht angeschaut. Wäre es möglich da im Code eine einfache Überprüfung
einzubauen und notfalls zu kappen? Vielleicht kann man da das Parsen
allgemein robuster machen - siehe auch die 2. Fehlermeldung ;)
Viele Grüße,
Michael Fritscher
Mehr Informationen über die Mailingliste franken-dev