Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Odoo 8 with 10 users tips to fine tuning the database and workers

By
Cidex
on 5/8/16, 3:49 AM 720 views

Hi All,

I'm planning to use Odoo Version 8 with 8/10 active users in the cloud.

I would like to ask if the following steps that I have taken are correct:

I created an instance on digital ocean with 2 GB Memory / 2 CPUs / 40 GB SSD Disk.
Would this be enough for 8/10 concurrent users ? If not what  do you suggest to use to get a server with good performance?

To fine tune the PostgreSQL Database according to:

http://www.slideshare.net/openobject/performance2014-35689113

https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server

I changed parameters in the file: /etc/postgresql/9.3/main/postgresql.conf as follow: 

listen_addresses = '*'

max_connections = 15

shared_buffers = 512MB

effective_cache_size = 1024MB

autovacuum = on

checkpoint_segments = 10

checkpoint_completion_target = 0.9

work_mem = 8MB

maintenance_work_mem = 32MB 

I left all other parameters in postgresql.conf unchanged.


To set up Workers in Odoo V8

I changed parameters in the file: /etc/odoo-server.conf as follow:  

db_maxconn = 64  (is this maximum connection to the DB ? Can I change it to 15 to get a better performance ?)

workers = 2

xmlrpc_port = 8069

longpolling_port = 8072

limit_memory_hard = 2684354560

limit_memory_soft = 2147483648

limit_request = 8192

limit_time_cpu = 60

limit_time_real = 120

max_cron_threads = 2

Are the memory limits and cpu limits well set ? If not what do you suggest to change ?

Setting "workers = 2" is the correct choice for the server specification listed above?

Should I do anything else to fine tune the database, configuration files and workers ?

Should I setup 1 cron thread per available CPU ? If yes where and how to change this parameter ?

Thanks

Cidex




 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 5/8/16, 3:49 AM
Seen: 720 times
Last updated: 5/8/16, 7:03 AM