Traccar serve maximum number of devices

unky8 years ago

I am quite new to Traccar, I have used OpenGTS before.
How many devices can be connected to Traccar server? Where is a limit?

Anton Tananaev8 years ago

There are no limits.

unky8 years ago

So limit is only host machine (CPU/memory and so on)?
Did anybody do some tests to check requirements for specific number of device?
For example 1000 gps-devices with requests every 15 seconds require 1GHz machine and 1GB of RAM? Was it ever calculated?

Anton Tananaev8 years ago

Yes, limit is your server hardware.

I don't have any specific numbers, but 1000 devices with 15 seconds interval would most certainly require more than 1GB machine. I would say at least 4GB with dual-core CPU.

unky8 years ago

But what about java heap memory? Is it configurable or it does not matter?

Anton Tananaev8 years ago

It is configurable, but I don't see how it's related to the question.

unky8 years ago

Where can I configure it?
Question is related to question due to memory requirements. When I need 4GB memory for 1000 device then I have to configure Java memory also to use such big memory. Am I wrong?

Anton Tananaev8 years ago

Usually Java automatically picks the heap size based on the available memory. I don't manually configure heap size on any of my servers. I only did it once to make Traccar run on a machine with 256MB of memory.

Anyway, if you want to configure it, you can do it in the wrapper configuration file:

http://yajsw.sourceforge.net/YAJSW%20Configuration%20Parameters.html

unky8 years ago

OK, thanx for answer. Actually I know everything what I need.