Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo performance issue

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
serverproductiondeployment
1 Répondre
16957 Vues
Avatar
Diego Calzadilla

Hi

I'm launching odoo on production level, I already read deployment documentation and got this behaviour on server:

2016-12-13 18:53:02,673 1432 INFO ? openerp.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 1 connections to 'user=odoomexy password=xxxxxxxxxxxxxxxx dbname=mexytul'

2016-12-13 18:53:02,674 1432 DEBUG ? openerp.service.server: WorkerCron (1432) mexytul time:0.012s mem: 319148k -> 319148k (diff: 0k)

2016-12-13 18:53:02,674 1432 DEBUG ? openerp.service.server: WorkerCron (1432) polling for jobs

After this error on log, some system users can not work on odoo, odoo is closing the connection.

I think this line is the problem:

2016-12-13 18:53:02,674 1432 DEBUG ? openerp.service.server: WorkerCron (1432) mexytul time:0.012s mem: 319148k -> 319148k (diff: 0k)

It seems that memory is running out (mem: 319148k -> 319148k) but I can't figure out the reason. This is odoo conf file:

[options] ; This is the password that allows database operations: ;
admin_passwd = admin

db_host = False

db_port = False

db_user = odoomexy

db_password = FOO

addons_path = /opt/odoo/foo

logfile=/var/log/odoo/foo

log_level=debug

workers = 17

max_cron_threads = 2

db_maxconn = 64

limit_time_cpu = 6000

limit_time_real = 12000

limit_memory_hard = 2684354560

limit_memory_soft = 2147483648

longpolling_port = 8072

limit_request = 8192

proxy_mode = False


I'm planning to get 2GB of memory per worker, but on error log it's not even 600MB before closing the connection.


These are server features:

8 cores 2.4ghz

32 gb RAM

DDR4

intel Xeon E5 v3

OS Ubuntu Server 14.04 lts


Any help would be highly appreciated.

0
Avatar
Ignorer
Avatar
Axel Mendoza
Meilleure réponse

Your calculation of the number of workers based in the number of cores is ok but the configured minimum and maximun ram of around 2gb per worker exceeds the total amount of ram in the system. So there are some workers that will unable to run properly. You would need to low down your ram parameters or your number of workers so the total ram for workers fits in the current server ram.

Current workers ram

17 x 2gb = 34gb

Hope this helps you

2
Avatar
Ignorer
Diego Calzadilla
Auteur

Thanks friend, I will test it.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Hosting Odoo on platform like Koyeb, Digital Ocean etc
production deployment odoo
Avatar
Avatar
1
nov. 24
95
How to check if server is running on production?
server environment production
Avatar
Avatar
Avatar
6
août 19
9790
Howto show real IP in werkzeug log if OpenERP serve behind reverse-proxy?
server v7 deployment
Avatar
Avatar
Avatar
2
juil. 17
20137
Possible to create a system archi., where with one click deploy you can spin up a new instance
server deployment instance docker
Avatar
0
févr. 24
2222
Beginner Questions: Deploy Openerp/Odoo in Linux or Windows Servers??? Résolu
server deployment workers odoo
Avatar
Avatar
Avatar
2
déc. 23
21152
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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