+2 votes
156 views

Hello everyone,

I have an issue in POS module using odoo11 and Ubuntu 16.04, when I activate workers using "Odoo documentation" it works fine for 2 or 3 days then while closing session I have an issue disconnect and reconnecting again and again untill I reset configuration file then it works perfectly from the first time.

I tried to change ram configuration and workers no. with no luck, I am VPS 8 core, no multi-threading, 32 GB Ram, concurrent users 5, I am using Nginx web server, Postgres 9.5, Python 3.5 and this is my configuration file:

{[options]
addons_path = /odoo/odoo-server/addons,/odoo/custom/addons/zain
admin_passwd = $pbkdf2-sha512$25000$l5ISIkSIsZYSYqxVCiGEEA$cLr3Zexa01WWhzkCEcIqeb1srcN4OnukUO5C8G88puVEt5YAPsMCUyLAlbK.0TNaj4Tyyb4VxTb6riBcRLs1OA
csv_internal_sep = ,
data_dir = /odoo/.local/share/Odoo
db_host = False
db_maxconn = 64
db_name = False
db_password = False
db_port = False
db_sslmode = prefer
db_template = template1
db_user = False
dbfilter =
demo = {}
email_from = False
geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb
http_enable = True
http_interface =
http_port = 8069
import_partial =
limit_memory_hard = 2684354560
limit_memory_soft = 2147483648
limit_request = 8192
limit_time_cpu = 600
limit_time_real = 1200
limit_time_real_cron = -1
list_db = True
log_db = False
log_db_level = warning
log_handler = :INFO
log_level = info
logfile = /var/log/odoo/odoo-server.log
logrotate = False
longpolling_port = 8072
max_cron_threads = 2
osv_memory_age_limit = 1.0
osv_memory_count_limit = False
pg_path = None
pidfile = None
proxy_mode = True
reportgz = False
server_wide_modules = web
smtp_password = False
smtp_port = 25
smtp_server = localhost
smtp_ssl = False
smtp_user = False
syslog = False
test_commit = False
test_enable = False
test_file = False
test_report_directory = False
translate_modules = ['all']
unaccent = False
without_demo = False
workers = 8

}

Thanks in advance

in Server by (10.5k points) | 156 views

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
205 questions
180 answers
37 comments
221,413 users