odoo virtual real time limit (146/120s) reached. limit-time-real=600

019-09-29 10:25:47,122 17055 INFO ? odoo.service.server: Thread <Thread(odoo.service.http.request.123145378967552, started 123145378967552)> virtual real time limit (146/120s) reached.

2019-09-29 10:25:47,123 17055 INFO ? odoo.service.server: Initiating server reload

Traceback (most recent call last):

  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 5, in <module>

    '''

KeyboardInterrupt

设置 limit-time-real=600

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=2048 * 1024 * 1024,

                 help="Maximum allowed virtual memory per worker, when reached the worker be "

                 "reset after the current request (default 2048MiB).",

                 type="int")

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 2560MiB).",

                 type="int")

group.add_option("--limit-time-cpu", dest="limit_time_cpu", my_default=60,

                 help="Maximum allowed CPU time per request (default 60).",

                 type="int")

group.add_option("--limit-time-real", dest="limit_time_real", my_default=120,

                 help="Maximum allowed Real time per request (default 120).",

                 type="int")

group.add_option("--limit-time-real-cron", dest="limit_time_real_cron", my_default=-1,

                 help="Maximum allowed Real time per cron job. (default: --limit-time-real). "

                      "Set to 0 for no limit. ",

                 type="int")

group.add_option("--limit-request", dest="limit_request", my_default=8192,

                 help="Maximum number of request to be processed per worker (default 8192).",

                 type="int")

parser.add_option_group(group)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值