Odoo Help

Welcome!

This community 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.

0

Response time delayed if we have a multiple requests?

By
bhadram
on 1/29/15, 2:14 AM 775 views

My openerp version is 8.

I have written once service for creating a db template in postgreSQL. What my probelm is when I hit the service with multiple requests I am not able to get the wuick response for the individual requests. The response is returned after all the requests has been processed. I don't know what's the problem lead to this scenario. Please suggest me some ideas. Thanks in advance

Have you tried using --workers switch (https://www.odoo.com/documentation/8.0/reference/cmdline.html#cmdoption-odoo.py--workers)?

Ivan
on 1/30/15, 12:33 PM

Hi @Ivan I tried with the workers options also, but I am getting same result there. Thanks for your response.

bhadram
on 2/1/15, 11:11 PM

Hey @Ivan sorry I tried with the zero option. But I am getting the below error when I have given the workers option as 2 in the openerp-server.conf file. Error: Usage: openerp-gevent [options] openerp-gevent: error: The config file 'import sys; sys.path.append(r'/home/bigc/eclipse/plugins/org.python.pydev_3.5.0.201405201709/pysrc'); import pydevd; pydevd.settrace(host='127.0.0.1', port=45808, suspend=False, trace_only_current_thread=False, patch_multiprocessing=True); import sys; sys.path.append(r'/home/bigc/eclipse/plugins/org.python.pydev_3.5.0.201405201709/pysrc'); import pydevd; pydevd.settrace(host='127.0.0.1', port=45808, suspend=False, trace_only_current_thread=False, patch_multiprocessing=True); openerp-server.conf' selected with -c/--config doesn't exist or is not readable, use -s/--save if you want to generate it

bhadram
on 2/2/15, 7:51 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/29/15, 2:14 AM
Seen: 775 times
Last updated: 3/16/15, 8:10 AM