[FIX] Increased allowed virtual memory per worker

bzr revid: openerp-sle@openerp-sle.home-20140212225240-nhu8dj68z84rm9u5
This commit is contained in:
openerp-sle 2014-02-12 23:52:40 +01:00
parent 5e535ee4f3
commit 3ef93918a8
1 changed files with 2 additions and 2 deletions

View File

@ -272,10 +272,10 @@ class configmanager(object):
group.add_option("--workers", dest="workers", my_default=0,
help="Specify the number of workers, 0 disable prefork mode.",
type="int")
group.add_option("--limit-memory-soft", dest="limit_memory_soft", my_default=640 * 1024 * 1024,
group.add_option("--limit-memory-soft", dest="limit_memory_soft", my_default=2048 * 1024 * 1024,
help="Maximum allowed virtual memory per worker, when reached the worker be reset after the current request (default 671088640 aka 640MB).",
type="int")
group.add_option("--limit-memory-hard", dest="limit_memory_hard", my_default=768 * 1024 * 1024,
group.add_option("--limit-memory-hard", dest="limit_memory_hard", my_default=2560 * 1024 * 1024,
help="Maximum allowed virtual memory per worker, when reached, any memory allocation will fail (default 805306368 aka 768MB).",
type="int")
group.add_option("--limit-time-cpu", dest="limit_time_cpu", my_default=60,