How can I disable a protocol?

gustavofarias5 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 Tananaev5 years ago

No, remove the line.

gustavofarias5 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 Tananaev5 years ago

Remove it from default.xml.

gustavofarias5 years ago

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

Anton Tananaev5 years ago

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

gustavofarias5 years ago

Thank you.

zhaofeng-shu335 years ago

Thank you.

Mayer3 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.