How can I disable a protocol?

gustavofarias 6 years ago

I would like to disable certain protocols I don't use, so the server won't be listening to their ports.
Is it enough to put an empty port in config file?

<entry key='tk103.port'></entry>
Anton Tananaev 6 years ago

No, remove the line.

gustavofarias 6 years ago

The default.xml says in capitals "DO NOT MODIFY THIS FILE".
So, removing the line in traccar.xml will have no effect.

Anton Tananaev 6 years ago

Remove it from default.xml.

gustavofarias 6 years ago

Is there any performance benefit in disabling a protocol? Like less memory consumption?

Anton Tananaev 6 years ago

Less resource usage - yes. Probably not a huge improvement.

gustavofarias 6 years ago

Thank you.

zhaofeng-shu33 6 years ago

Thank you.

Mayer 4 years ago

For information, my benchmark in 2022:
Disabling all protocols but one (H02), reduce just 40MB of memory compared with all enabled protocols. And not see any impact in response times.

Thank you.