Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3832 Vizualizări

(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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

Have you setup at least four workers?

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


Imagine profil
Abandonează