Hey,
On Sat, Nov 22, 2008 at 02:27:45PM -0000, Derek C wrote:
Hi,
Currently I'm constantly killing batmand and starting it up again (different debugging levels, etc).
Sometimes I end up with a 2nd gate tunnel (so I'd have a gate0 and a gate1).
I understand (guess?) that it's because I do kill -9 and don't give batmand a chance to clean up.
Yep, you're probably too fast for the kernel to clean up. With kill -9 you don't give batman the chance to clean it up. Shouldn't a normal "terminate" (without -9) be enough? We catch this signal, clean up and exit properly in this case.
Normally is it true that there would only ever be one tunnel (gate0) ?
Yup, only one.
when multiple nodes are deployed is this still always the case?
Multiple nodes is no problem (multiple gateways).
The only way to have multiple gateX is to start multiple different batman (which is not possible under normal conditions), or killing/restarting it too fast. :)
regards, Simon