Odoo Help


How to run OpenERP behind Circus ?

Franco Tampieri
on 7/26/13, 6:54 AM 2,349 views

What would a sample configuration for running OpenERP with Circus look like ?


Davide Corio

--Davide Corio--

| 5 4 7
Bricherasio, Italy
--Davide Corio--

Odoo Evangelist and Consultant

Davide Corio
On 7/29/13, 12:48 PM


here is an example of circus.ini you can use to run OpenERP.

statsd = 1
httpd = 1

working_dir = server
cmd = ../bin/chaussette --fd $(circus.sockets.web) --backend gevent openerp-wsgi:application 
numprocesses = 3
use_sockets = True

host =
port = 9999

As you can see i'm using Chaussette to expose OpenERP to Circusd.

The working_dir param in the watcher section refers the the openerp server folder.

openerp-wsgi:application is the wsgi app definition you can find in the openerp-wsgi.py script bundled with openerp and designed to work with Gunicorn.

But as you'll see, it works fine with Chaussette too :)

There are a lot of params and configurations you can play around with, so you'll have to look at circus and chaussette docs.

Let me know you need further infos

Thank you very much Davide!

Franco Tampieri
on 7/29/13, 2:09 PM

Thanks. It works. How do you start the cron worker?

Phosphore SI, Bertrand Rétif
on 9/20/13, 11:53 AM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/26/13, 6:54 AM
Seen: 2349 times
Last updated: 3/16/15, 8:10 AM