Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6008 Visualizzazioni

Hello everyone,

I am trying to configure the workers and cron thread in odoo configuration file.

Can we configure it directly, if we are using default http server of odoo, I am not using any additional web server, apache or nginx.

I've seen the calculation of workers, that how it does calculated based on cpu/cores.

Right now i've configured workers, and hard and soft memory I've used default one.

Is that only that the value of workers only need to be update, anything else need to configure along with this?


Looking forward.


Regards,

Anil.

Avatar
Abbandona
Risposta migliore

Yes, workers are not related to the use of a caching web server (Nginx, Apache, ...). Odoo will run faster.

But you may face problems with time limit exceeded or unsufficient memory for some requests. Before increasing related values you have to check the logs. Debug mode will provide more informations :

  • log_handler = :DEBUG

  • log_level = debug

Time limit values are :

  • limit_request

  • limit_time_cpu

  • limit_time_real

Memory values are :

  • limit_memory_hard

  • limit_memory_soft


After that, tweaking Postgresql  will help you too.

Avatar
Abbandona
Autore

Thanks for response, i will try with this.

Post correlati Risposte Visualizzazioni Attività
2
lug 25
845
0
apr 25
490
2
dic 24
17290
0
mar 21
6365
3
mar 16
2654