Hi,
I'm setting up Traccar into AWS EC2 instance. My operating system is Amazon Linux. I've reviewed the documentation regarding server and OS optimization but in my case, some values are by default higher than what is recommended and some are lower.
Connection limit:
Limits in my system are Max open files 65535 65535 files
so since documentation suggest setting limits to 50000 connections, I suppose I'm good to go with default settings?
Scaling beyond 65k connections:
Here I'm having default settings that have in some cases higher value and in some cases lower values:
vm.max_map_count = 65530
fs.file-max = 400229
net.ipv4.ip_local_port_range = 32768 60999
Should I leave fs.file-max as it is and change other settings?
Service configuration parameters:
In documentation, an example is given to increase heap size to 1gb. Is this recommended value or should it be even higher? My heap size is by default 1gb:
uintx ErgoHeapSizeLimit = 0 {product}
uintx HeapSizePerGCThread = 87241520 {product}
uintx InitialHeapSize := 65011712 {product}
uintx LargePageHeapSizeThreshold = 134217728 {product}
uintx MaxHeapSize := 1033895936 {product}
Your existing parameters should be fine, I think.
Hi,
I'm setting up Traccar into AWS EC2 instance. My operating system is Amazon Linux. I've reviewed the documentation regarding server and OS optimization but in my case, some values are by default higher than what is recommended and some are lower.
Connection limit:
Limits in my system are
Max open files 65535 65535 files
so since documentation suggest setting limits to 50000 connections, I suppose I'm good to go with default settings?Scaling beyond 65k connections:
Here I'm having default settings that have in some cases higher value and in some cases lower values:
Should I leave fs.file-max as it is and change other settings?
Service configuration parameters:
In documentation, an example is given to increase heap size to 1gb. Is this recommended value or should it be even higher? My heap size is by default 1gb: