[IMP]Odoo base genconf : increase memory and CPU limits

This commit is contained in:
Fabien BOURGEOIS 2018-12-11 16:50:44 +01:00
parent c9f85fc40a
commit 0303911fe3

View File

@ -32,14 +32,14 @@ db_host = ${DB_HOST:=postgres}
db_port = ${DB_PORT:=5432} db_port = ${DB_PORT:=5432}
db_user = $POSTGRES_USER db_user = $POSTGRES_USER
db_password = $POSTGRES_PASSWORD db_password = $POSTGRES_PASSWORD
db_maxconn = ${DB_MAXCONN:=10} db_maxconn = ${DB_MAXCONN:=20}
list_db = ${LIST_DB:=True} list_db = ${LIST_DB:=True}
xmlrpc_port = ${XMLRPC_PORT:=8069} xmlrpc_port = ${XMLRPC_PORT:=8069}
longpolling_port = ${LONGPOLLING_PORT:=8072} longpolling_port = ${LONGPOLLING_PORT:=8072}
proxy_mode = ${PROXY_MODE:=True} proxy_mode = ${PROXY_MODE:=True}
workers = ${WORKERS:=1} workers = ${WORKERS:=1}
limit_time_cpu = ${LIMIT_TIME_CPU:=60} limit_time_cpu = ${LIMIT_TIME_CPU:=120}
limit_time_real = ${LIMIT_TIME_REAL:=120} limit_time_real = ${LIMIT_TIME_REAL:=240}
limit_memory_soft = ${LIMIT_MEMORY_SOFT:=671088640} limit_memory_soft = ${LIMIT_MEMORY_SOFT:=1342177280}
limit_memory_hard = ${LIMIT_MEMORY_HARD:=1610612736} limit_memory_hard = ${LIMIT_MEMORY_HARD:=3221225472}
admin_passwd = ${ADMIN_PASSWORD:=admin}" > $CONF admin_passwd = ${ADMIN_PASSWORD:=admin}" > $CONF