Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

how setup odoo configuration File?

Subscribe

Get notified when there's activity on this post

This question has been flagged
configurationdeployment
4 Replies
30919 Views
Avatar
Mohamed Fouad (personal)

i'm working in Vps with this details 8 core Cpu and 32g RAM

Intel  Xeon E5-1620v2

4c / 8t ( 3.7GHz )

32GB DDR3 ECC 1333MH

SoftRAID  2x2TB   SATA
I'm connecting to the server with ssl domain 
and I have multiple DB for Testing purposes so I'm don't using db_filter right now 
all examples say that i should set workers = 17 and proxy_mode = True then calculate soft and hard limits 
as below 

[options] 

; This is the password that allows database operations:

admin_passwd = [edited  - did you really post a password]

xmlrpc_port = 8069

logfile = /var/log/odoo/odoo-server.log

;addons_path=/odoo/odoo-server/addons,/odoo/custom/addons

addons_path=/odoo/odoo-server/enterprise/addons,/odoo/custom/addons

xmlrpc_interface = 127.0.0.1

netrpc_interface = 127.0.0.1

limit_time_cpu = 1000000000

limit_time_real = 1000000000

limit_memory_hard = 13690208256 

limit_memory_soft = 11408506880

proxy_mode = True

workers = 17 

this make odoo too slowly 

if I set workers = Zero connection closed and restored continually
 so what is the best way to handel this 

0
Avatar
Discard
Avatar
Paresh Wagh
Best Answer

Hi Mohamed:

The number of workers is typically calculated based on the number of concurrent users.

The following link provides useful information on this topic.

https://www.odoo.com/forum/help-1/question/how-does-odoo-resource-servers-hosted-on-odoo-sh-ie-what-s-different-between-10-users-and-100-users-168845#answer-168846

EDIT:

Odoo can run in either multithreading or multiprocessing mode. If you set workers = 0, it runs in multithreading mode. If workers > 0, it uses multiprocessing.

There are guidelines but no hard and fast rules for configuring the number of workers. In addition to the number of concurrent users, it also depends on the processing load you want to support and whether you have long running processes being executed.

The workers = 17 number that you had mentioned in your post is based on the guidelines mentioned in their documentation. If you have not seen these, you may want to read through the following portion of the documentation which discusses a lot of the criteria that you have asked about.

https://www.odoo.com/documentation/13.0/setup/deploy.html#builtin-server

Hope this helps.

0
Avatar
Discard
Mohamed Fouad (personal)
Author

as the answer in this question, i should set workers as the number of users who using system at the same Time ?

Paresh Wagh

They are recommending 1 worker for every 25 backend users. So, if you have 20 employees, 1 worker should be more than enough.

Mohamed Fouad (personal)
Author

thanks dear, about your answers , but what about if workers =0, what that may cause, then what about mathematical calculation of workers based on cpu cores is that mean that the maximum workers I can run ?

also why large number of workers make it slowly what is main role , Thanks in advance

Paresh Wagh

I have edited my earlier post and added more context based on your questions.

Mohamed Fouad (personal)
Author

dear @paresh i'm trying now with 2 cpu and 4g ram server , and i'm only user and it's too slowly and cut continuously I set workers = 2 nothing changes also when it =0 still slowly

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

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

Sign up
Related Posts Replies Views Activity
How to resolved Allowed Host issue
configuration deployment
Avatar
0
Sep 24
2170
How do i clear testing entries in all forms in openerp 7 before final deployment?
configuration test deployment
Avatar
Avatar
Avatar
2
Mar 15
7173
How to install odoo 8?
configuration deployment odoo
Avatar
Avatar
1
Mar 15
6925
¿Cómo puedo hablar con una persona de Vueling?
configuration
Avatar
0
Dec 25
3
how to add landed cost per product, such as adding Customs Tariffs fee on product and other products don't have Customs Tariffs??
configuration
Avatar
0
Dec 25
44
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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