0
우분투 서버를 사용 중이며 odoo 프로젝트를 구성 중입니다. 그것은 램의 8 기가 바이트와 사용 가능한 메모리가 arround 6 기가 바이트 그래서 내가 odoo 기본 메모리를 늘릴 필요가있다. 그러니 어떻게 증가 시킬지 알려주세요.odoo에서 기본 메모리 사용을 늘리는 방법은 무엇입니까?
우분투 서버를 사용 중이며 odoo 프로젝트를 구성 중입니다. 그것은 램의 8 기가 바이트와 사용 가능한 메모리가 arround 6 기가 바이트 그래서 내가 odoo 기본 메모리를 늘릴 필요가있다. 그러니 어떻게 증가 시킬지 알려주세요.odoo에서 기본 메모리 사용을 늘리는 방법은 무엇입니까?
Odoo의 고급 및 다중 처리 옵션 중 일부를 사용 해본 적이 있습니까?
odoo.py --help 또한
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).
당신이 WSGI 또는 Odoo를 실행할 비슷한을 사용하는 경우,이 또한 일부 조정이 필요할 수 있습니다.