Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Defining Workers not working on Amazon EC2 cloud servers, Is that necessary to configure nginx for workers ?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
nginxworkersEnterpriseodoo12.0
2 Respostes
6013 Vistes
Avatar
keriwala sakib

Hello there,

I am using Amazon cloud ec2 server and made one configuration file to run odoo 12 enterprise

Server Configuration

RAM - 64 GB

Core - 8 Core

Configuration file content is as following

[options]
; This is the password that allows database operations:
admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = False
dbfilter = v12_enterprise_testing_2_27_11_2019
addons_path = /opt/odoo12/odoo/addons,/opt/odoo12/odoo_enterprise/enterprise,/opt/odoo12/odoo-custom-addons
xmlrpc_port = 8888
limit_time_cpu = 9999
limit_time_real = 19998

limit_memory_hard = 4294967296
limit_memory_soft = 2147483648
workers = 5
longpolling_port = 8072
proxy_mode = False
logfile = /opt/odoo12/logs/odoo-testing.log


Now here when workers=0 then system is running properly but when I will define workers > 0 then system will be very slow to respond

I have made service file and from service file I am running my odoo 12 enterprise server

What another configuration has been left to be done by me ?

Can anyone suggest me what to do ?

Is that necessary that to run workers, nginx should be configured ?


0
Avatar
Descartar
Avatar
Ravi Gadhia
Best Answer

it's absolutely necessary to configure Nginx server while you active workers otherwise live chat will not work.
​
when you start the server start with worker odoo create dedicate gevent server to handle all the long polling request it starts at port 8072  and Nginx reverse proxy configuration divert all the `/logpolling/poll` request to this dedicated server.

worker help odoo to utilize all the CPU core of the machine. Due to famous python GIL threaded server could not utilize all the core of CPU
​
if you run a Preforked server without Nginx configuration then Bus.Bus doesn't dispatch result and continues traceback of bus sometimes it block the Postgres IO and it will slow the server.

you also need to configure Postgres server according to machine capacity
​https://pgtune.leopard.in.ua/#/

1
Avatar
Descartar
Avatar
keriwala sakib
Autor Best Answer

It worked after configuring nginx server and made domain

Restart odoo service again

Thank you so much for your kind help buddy


0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Odoo12: Help on tunning up odoo config file Solved
nginx workers
Avatar
Avatar
1
de maig 25
24315
raise Exception("bus.Bus unavailable") Odoo 12
error workers odoo12.0
Avatar
Avatar
1
d’abr. 21
5272
Odoo with Domain Solved
ubuntu nginx odoo12.0
Avatar
Avatar
4
de des. 19
6719
nginx htpasswd leads to 400 / 404 Bad Request
password nginx odoo12.0
Avatar
0
de gen. 19
4596
Changing the date interval of aged receivable report in odoo 12 enterprise?
receivable Enterprise odoo12.0 aged
Avatar
Avatar
1
d’oct. 21
5399
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now