Memory 如何增加odoo中的默认内存使用率?
我正在使用ubuntu服务器并配置odoo项目。它有8GB的ram,可用内存约6GB,所以我需要增加odoo的默认内存。因此,请告诉我如何增加?您是否尝试过使用Odoo的一些高级和多处理选项 奥多比——救命Memory 如何增加odoo中的默认内存使用率?,memory,odoo-8,ram,ubuntu-server,Memory,Odoo 8,Ram,Ubuntu Server,我正在使用ubuntu服务器并配置odoo项目。它有8GB的ram,可用内存约6GB,所以我需要增加odoo的默认内存。因此,请告诉我如何增加?您是否尝试过使用Odoo的一些高级和多处理选项 奥多比——救命 此外,如果您正在使用WSGI或类似于运行Odoo的东西,则可能还需要进行一些调整。限制硬内存=640*您的工作线程(例如4)*1024*1024=2684354560 Advanced options: --osv-memory-count-limit=OSV_MEMORY_COUN
此外,如果您正在使用WSGI或类似于运行Odoo的东西,则可能还需要进行一些调整。限制硬内存=640*您的工作线程(例如4)*1024*1024=2684354560
Advanced options:
--osv-memory-count-limit=OSV_MEMORY_COUNT_LIMIT
Force a limit on the maximum number of records kept in
the virtual osv_memory tables. The default is False,
which means no count-based limit.
--osv-memory-age-limit=OSV_MEMORY_AGE_LIMIT
Force a limit on the maximum age of records kept in
the virtual osv_memory tables. This is a decimal value
expressed in hours, and the default is 1 hour.
--max-cron-threads=MAX_CRON_THREADS
Maximum number of threads processing concurrently cron
jobs (default 2).
Multiprocessing options:
--workers=WORKERS Specify the number of workers, 0 disable prefork mode.
--limit-memory-soft=LIMIT_MEMORY_SOFT
Maximum allowed virtual memory per worker, when
reached the worker be reset after the current request
(default 671088640 aka 640MB).
--limit-memory-hard=LIMIT_MEMORY_HARD
Maximum allowed virtual memory per worker, when
reached, any memory allocation will fail (default
805306368 aka 768MB).
--limit-time-cpu=LIMIT_TIME_CPU
Maximum allowed CPU time per request (default 60).
--limit-time-real=LIMIT_TIME_REAL
Maximum allowed Real time per request (default 120).
--limit-request=LIMIT_REQUEST
Maximum number of request to be processed per worker
(default 8192).