Is possible to have a more specific configuration for openerp 6.1 and gunicorn? I'm interested to run openerp on wsgi web server and I'm interested to have a more detailed information about the cron task management :) There is poor documentation on the web.
Please look at http://thu.openerp.com/open-days-2012/gunicorn.html
Edit: he references the openerp-cron-worker script, it's currently in the process of being merged into 6.1, check the code https://code.launchpad.net/~openerp-dev/openobject-server/6.1-here-comes-the-bogeyman-vmt
Edit2: meanwhile the openerp-cron-worker script has landed in lp:openobject-server/6.1 at rev4184 ( http://bazaar.launchpad.net/~openerp/openobject-server/6.1/revision/4184 )
I understand the that it has poor document if you look at the Green Unicorn (gunicorn) configuration link gUnicorn config you will find lot of parameters can be used over the gunicron process and worker management e.g.
1) worker_connections The maximum number of simultaneous clients. In that case you configuration file can configured like :
worker-connections = 1000
2) max_requests The maximum number of requests a worker will process before restarting.
max_requests = 2
3) timeout Workers silent for more than this many seconds are killed and restarted.
timeout = 30
For Security :
4) limit_request_line
The maximum size of HTTP request line in bytes.
limit_request_line = 4094
So you can configure your server configuration file using this params which will help you in better process managment.
Hope this will help you. Let me know If I am missing something.
Regards
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With