Skip to content

Commit eaee275

Browse files
committed
Quick Odoo reference guide structural fix
1 parent a273e9a commit eaee275

1 file changed

Lines changed: 15 additions & 16 deletions

File tree

Technologies/CMS & Frameworks/Odoo/referenceguide.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,21 @@ You can find your configuration at:
8888
~/conf/odoo.conf
8989
```
9090

91+
#### Configuration key reference:
92+
93+
| Key | Description |
94+
| ---------------------- | ------------------------------------------------------------------------------------- |
95+
| `workers` | Set to 2×CPU by default. On high-demand systems, 3–4×CPU may be used. |
96+
| `limit_memory_hard` | Upper memory cap per worker. Set around **½ total RAM**. |
97+
| `limit_memory_soft` | Warning memory cap per worker. Set around **¼ total RAM**. |
98+
| `limit_request` | Number of requests a worker handles before restarting. Default 8192 is fine for most. |
99+
| `limit_time_cpu` | Max CPU time per request. `3600` (1 hour) ensures long operations are still capped. |
100+
| `limit_time_real` | Wall-clock time per request. `7200` (2 hours) is generous and rarely hit. |
101+
| `limit_time_real_cron` | Time limit for cron jobs. `0` means unlimited. Can be set to `86400` (24h). |
102+
| `max_cron_threads` | Limit to about **⅓ of CPU cores**, up to ½ in large setups. |
103+
| `proxy_mode` | Always set `True` if behind a reverse proxy (e.g. nginx, traefik). |
104+
| `db_maxconn` | Leave at default (`64`). Our PostgreSQL is tuned for high concurrency. |
105+
91106
Here are some general tuning recommendations for various server sizes:
92107

93108
#### 8 GB RAM / 4 CPU Cores:
@@ -128,21 +143,6 @@ Odoo logs are continuously appended to:
128143

129144
Monitor this file to troubleshoot startup or runtime issues.
130145

131-
## Configuration Key Reference
132-
133-
| Key | Description |
134-
| ---------------------- | ------------------------------------------------------------------------------------- |
135-
| `workers` | Set to 2×CPU by default. On high-demand systems, 3–4×CPU may be used. |
136-
| `limit_memory_hard` | Upper memory cap per worker. Set around **½ total RAM**. |
137-
| `limit_memory_soft` | Warning memory cap per worker. Set around **¼ total RAM**. |
138-
| `limit_request` | Number of requests a worker handles before restarting. Default 8192 is fine for most. |
139-
| `limit_time_cpu` | Max CPU time per request. `3600` (1 hour) ensures long operations are still capped. |
140-
| `limit_time_real` | Wall-clock time per request. `7200` (2 hours) is generous and rarely hit. |
141-
| `limit_time_real_cron` | Time limit for cron jobs. `0` means unlimited. Can be set to `86400` (24h). |
142-
| `max_cron_threads` | Limit to about **⅓ of CPU cores**, up to ½ in large setups. |
143-
| `proxy_mode` | Always set `True` if behind a reverse proxy (e.g. nginx, traefik). |
144-
| `db_maxconn` | Leave at default (`64`). Our PostgreSQL is tuned for high concurrency. |
145-
146146
## Best practices
147147

148148
* Keep your application/odoo directory clean and structured.
@@ -153,4 +153,3 @@ Monitor this file to troubleshoot startup or runtime issues.
153153
## Need help?
154154

155155
Contact our support if you're unsure about config tuning, migration, or if you experience performance bottlenecks. We’re here to assist with your Odoo stack.
156-

0 commit comments

Comments
 (0)