Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

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

Odoberať

Get notified when there's activity on this post

This question has been flagged
nginxworkersEnterpriseodoo12.0
2 Replies
6016 Zobrazenia
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
Zrušiť
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
Zrušiť
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
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
Odoo12: Help on tunning up odoo config file Solved
nginx workers
Avatar
Avatar
1
máj 25
24317
raise Exception("bus.Bus unavailable") Odoo 12
error workers odoo12.0
Avatar
Avatar
1
apr 21
5272
Odoo with Domain Solved
ubuntu nginx odoo12.0
Avatar
Avatar
4
dec 19
6720
nginx htpasswd leads to 400 / 404 Bad Request
password nginx odoo12.0
Avatar
0
jan 19
4596
Changing the date interval of aged receivable report in odoo 12 enterprise?
receivable Enterprise odoo12.0 aged
Avatar
Avatar
1
okt 21
5399
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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