How can I disable a protocol?

gustavofarias4 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 Tananaev4 years ago

No, remove the line.

gustavofarias4 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 Tananaev4 years ago

Remove it from default.xml.

gustavofarias4 years ago

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

Anton Tananaev4 years ago

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

gustavofarias4 years ago

Thank you.

zhaofeng-shu334 years ago

Thank you.

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