İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

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

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

Odoo 8.0 takes long time to perform all operations

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
configurationnginxoptimizationodooV8docker
1 Cevapla
4451 Görünümler
Avatar
khalil

I have Odoo 8.0 installed using Docker and nginx, my problem is that all operations take a crazy time to be performed.

here is my configs:

server's specs

* CPU cors = 8

* RAM= 32GB

----------------------

odoo.conf​​​​​

[options] 
; This is the password that allows database operations: 
admin_passwd = **** 
db_host = db 
db_port = 5432 
db_user = pg 
db_password =****
db_template = template1 
db_maxconn = 90000 
mangento_databases = mangento 
;openpgpwd 
addons_path = /opt/odoo/sources/odoo/addons,/opt/odoo/sources/odoo/addons1_2beta/addons_std/,/opt/odoo/sources/odoo/addons1_2beta/addons_pro/,/opt/odoo/sources/odoo/addons1_2beta/addons_ent/,/opt/odoo/sources/odoo/addons1_2beta/ad$ 
; xmlrpc_port = 9090 
data_dir = /opt/odoo/data 
proxy_mode = True 
max_cron_threads = 1 
logfile = /opt/odoo/etc/odoo.log 
;log_db = True 
; 
timezone = False 
translate_modules = ['all'] 
unaccent = False 
without_demo = False 
workers = 11 
xmlrpc = True 
xmlrpc_interface = 
test_file = False 
test_report_directory = False 
; 
longpolling_port = 8072 
osv_memory_age_limit = 1.0 
osv_memory_count_limit = False 
; 
limit_memory_hard = 8858370048 
limit_memory_soft = 7381975040 
limit_request = 8192 
limit_time_cpu = 4069 
limit_time_real = 4069 
;max_cron_threads = 6 
; 
list_db = True 
log_db = False 
log_db_level = warning 
log_handler = :INFO 
log_level = error 
logrotate = True
 --------------------------------------------------------

postgres.conf

​x_connections = 11700 
shared_buffers = 2GB 
effective_cache_size = 6GB 
maintenance_work_mem = 512MB 
checkpoint_completion_target = 0.7 
wal_buffers = 16MB 
default_statistics_target = 100 
random_page_cost = 4 
effective_io_concurrency = 200 
work_mem = 233kB 
min_wal_size = 1GB 
max_wal_size = 2GB 
max_worker_processes = 2
------------------------------------------​

nginx.conf

user www-data; 
worker_processes auto; 
pid /run/nginx.pid; 

events { 
       worker_connections 768; 
} 
http { 
       sendfile on; 
       tcp_nopush on; 
       tcp_nodelay on; 
       keepalive_timeout 65; 
       types_hash_max_size 2048; 


       include /etc/nginx/mime.types; 
       default_type application/octet-stream; 
       ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE 
       ssl_prefer_server_ciphers on; 
       access_log /var/log/nginx/access.log; 
       error_log /var/log/nginx/error.log; 
       gzip on; 
       gzip_disable "msie6";  
       include /etc/nginx/conf.d/*.conf; 
       include /etc/nginx/sites-enabled/*; 
} 

I don't know how to optimize the system, any help with some explanation please!
0
Avatar
Vazgeç
Avatar
Hilar Andikkadavath
En İyi Yanıt

I think Your setup for long-polling and workers need to be updated in Nginx.Here I can share with you the docs for setting long-polling and workers properly.


Worker number calculation

  • Rule of thumb : (#CPU * 2) + 1
  • Cron workers need CPU
  • 1 worker ~= 6 concurrent users

memory size calculation

  • We consider 20% of the requests are heavy requests, while 80% are simpler ones
  • A heavy worker, when all computed field is well designed, SQL requests are well designed, … is estimated to consume around 1Go of RAM
  • A lighter worker, in the same scenario, is estimated to consume around 150MB of RAM

Needed RAM = #worker * ( (light_worker_ratio * light_worker_ram_estimation) + (heavy_worker_ratio * heavy_worker_ram_estimation) )



https://www.odoo.com/documentation/13.0/setup/deploy.html

https://odoo-development.readthedocs.io/en/latest/admin/longpolling.html

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

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

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
Why default Nginx config is in conf.d/ folder and not in sites-available/ folder ?
configuration nginx
Avatar
Avatar
1
May 24
4036
Timeout error with nginx Çözüldü
nginx odooV8
Avatar
Avatar
Avatar
Avatar
3
May 24
150253
Nginx error in Docker
nginx docker
Avatar
0
Şub 20
4679
Error Related to config file
configuration error docker
Avatar
Avatar
1
Nis 25
1776
What is the use of db_maxconn parameter in odoo .conf file ?? Çözüldü
configuration connection odooV8
Avatar
Avatar
1
Tem 19
15859
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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