Skip to Content
Menu
This question has been flagged
2 Replies
3434 Views

(My english is bad sorry)

Hi everybody

I have my website on Odoo 9, the traffic daily is about 40 people + 10 internal users (I have many modules, sales, accounting etc etc)

I have one server on Digital Ocean, the setup is

Hardware: Ubuntu 14. 8 gb Ram 4 CPU 5 TB Transfer

Config:

Ngnix

I have postgres optimized

I have enabled the swap memory

I have optimized the website images, javascript, html, sql, etc.


Sometimes the server is very slow but I don't know what is the real problem, What is the correct config to support all the users, thanks for your suggestions

Avatar
Discard
Author Best Answer

Hi,

Yes, now I have the next setup

odoo-server.config

workers = 10

xmlrpc = True

ngnix.conf (Ngnix file)

http://pastebin.com/pgTwaPQm

default  (Ngnix file)

http://pastebin.com/WZFc05Nz

Postgres.conf

max_connections = 200

shared_buffers = 2GB

effective_cache_size = 6GB

work_mem = 10485kB

maintenance_work_mem = 512MB

checkpoint_segments = 32

checkpoint_completion_target = 0.7

wal_buffers = 16MB

default_statistics_target = 100

That is my configuration now, all is right ?


Thanks a lot

Avatar
Discard