Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
17312 Lượt xem

I'm testing the Openerp deployment using Multicorn. This is the configuration file that I'm using:

[options]
; This is the password that allows database operations:
admin_passwd = password
db_host = False
db_port = False
db_user = openerp
db_password = False
addons_path = /opt/openerp/openerp_addons,/opt/openerp/openerp_web/addons
;Log settings
logfile = /var/log/openerp/openerp-server.log
log_level = error
;Multicorn
workers = 8
limit-time-real = 300s
proxy-mode = True

The problem is that using this configuration I get to many Timeout errors and even install a new database it's almost imposible because of them.

I'm using and updated copy from trunk repositories.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The last two parameters are not spelled correctly. Try to replace

limit-time-real = 300s
proxy-mode = True

with:

limit_time_real = 300
proxy_mode = 1

But it seems to be another problem. Please check the OpenERP logs and the memory usage (type free -m). You can try to deactivate the proxy_mode.

Ảnh đại diện
Huỷ bỏ
Tác giả

limit_time_real = 300 & limit_time_cpu = 120 makes the trick, Thanks for point me on the "-" error, working at 5am never going to be good ;)

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 24
2560
0
thg 3 21
3989
0
thg 3 15
118
0
thg 3 15
173
1
thg 3 15
5664