Hello everyone,
I'm seeking advice on configuring the CPU and memory parameters for my Odoo 16 installation. Despite following the official Odoo documentation, I'm still unsure about the optimal settings.
Here are the specs of my server:
- CPU: 2 cores
- RAM: 2GB (with approximately 0.5GB used by the system and PostgreSQL, leaving ~1.5GB available for Odoo)
- Estimated Users: ~10
I'm trying to adjust the following parameters in the Odoo configuration file to match my server's specs:
[options] limit_memory_hard = 1677721600 limit_memory_soft = 629145600 limit_request = 8192 limit_time_cpu = 600 limit_time_real = 1200 max_cron_threads = 1 workers = 8
So far, I've made the following adjustments:
[options] limit_memory_hard = 1677721600 # Kept as is, but unsure if it needs adjustment limit_memory_soft = 629145600 # Kept as is, but unsure if it needs adjustment limit_request = 8192 # Kept as is, but unsure if it needs adjustment limit_time_cpu = 600 # Kept as is, but unsure if it needs adjustment limit_time_real = 1200 # Kept as is, but unsure if it needs adjustment max_cron_threads = 1 # Kept as is, but unsure if it needs adjustment workers = 5 # Reduced from 8 to 5 based on my CPU count: (2 * 2) + 1
I'm particularly uncertain about the memory limits and the number of workers. Any insights or recommendations to better tune these settings would be greatly appreciated.
Thank you!