Open rogerpueyo opened 6 years ago
and I've noticed that asking the JSON-formatted BMX6 tunnels list crashes the daemon (while the /raw/plaintext/ list doesn't). For instance:
|root@qMp-98d4:/# bmx6 -c tunnels | wc 184 2563 27825 <==== a nice number
holy shit. I guess json-c just runs out of memory and I don't think such a huge json object can be processed and dumped in chunks. But I'll have a look...
If it's json-c should we report that upstream? Seems like an dangerous issue?
I guess json-c just runs out of memory and But... this is good! Llorenç wanted to find where the limit of the mesh was, and he has achieved it! :)
But isn't that rather a limit of the bmx-json plugin than of bmx routing capabilities as a protocol?
Most likely...
Hi,
I am running BMX6 in qMp with 85 other network routers:
and I've noticed that asking the JSON-formatted BMX6 tunnels list crashes the daemon (while the raw/plaintext list doesn't). For instance:
and
The daemon does not crash when a small number of nodes is present (e.g. 4), but I don't know exactly what number of nodes/tunnels or which output message size makes the daemon crash.