Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
nginxworkersEnterpriseodoo12.0
2 Odgovori
6001 Prikazi
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
Opusti
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
Opusti
Avatar
keriwala sakib
Avtor 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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Odoo12: Help on tunning up odoo config file Solved
nginx workers
Avatar
Avatar
1
maj 25
24305
raise Exception("bus.Bus unavailable") Odoo 12
error workers odoo12.0
Avatar
Avatar
1
apr. 21
5267
Odoo with Domain Solved
ubuntu nginx odoo12.0
Avatar
Avatar
4
dec. 19
6718
nginx htpasswd leads to 400 / 404 Bad Request
password nginx odoo12.0
Avatar
0
jan. 19
4591
Changing the date interval of aged receivable report in odoo 12 enterprise?
receivable Enterprise odoo12.0 aged
Avatar
Avatar
1
okt. 21
5395
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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