Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Today i decided to manage openerp with supervisord . Everything works alright if i run openerp as standalone mode . But if i use openerp in multiprocess mode , i've found that supervisord cannot start openerp .
below is my openerp-multiproccess in supervisord.conf
[program:openerp_multiprocess] command = "/root/7.0-buildout/bin/start_openerp" --logfile "/root/7.0-buildout/var/log/openerp-stdout.log" --workers=4 process_name = openerp_multiprocess directory = /root/7.0-buildout priority = 10 redirect_stderr = true
And this is the error log
2013-12-26 13:21:31,356 INFO spawned: 'openerp_multiprocess' with pid 5462 2013-12-26 13:21:31,357 INFO spawned: 'openerp_connector_worker' with pid 5463 2013-12-26 13:21:31,924 INFO exited: openerp_connector_worker (exit status 1; not expected) 2013-12-26 13:21:31,925 INFO exited: openerp_multiprocess (exit status 0; not expected) 2013-12-26 13:21:34,931 INFO spawned: 'openerp_multiprocess' with pid 5465 2013-12-26 13:21:34,933 INFO spawned: 'openerp_connector_worker' with pid 5466 2013-12-26 13:21:35,451 INFO exited: openerp_multiprocess (exit status 0; not expected) 2013-12-26 13:21:35,451 INFO exited: openerp_connector_worker (exit status 1; not expected) 2013-12-26 13:21:36,453 INFO gave up: openerp_multiprocess entered FATAL state, too many start retries too quickly 2013-12-26 13:21:36,453 INFO gave up: openerp_connector_worker entered FATAL state, too many start retries too quickly
Seems that instead of start Openerp proccess , then let it fork workers, supervisord try to spawn multiple openerp proccess, which is not the correct behaviour .
Is there anyone have experience with this problem ? Thanks for any advance
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/27/13, 5:48 AM|
|Seen: 1662 times|
|Last updated: 3/16/15, 8:10 AM|