Git Product home page Git Product logo

Comments (5)

sbidoul avatar sbidoul commented on August 20, 2024

You need to enqueue your jobs in a channel of capacity 1

from queue.

Gokulakannanaj avatar Gokulakannanaj commented on August 20, 2024

I saw the document. They said to put ODOO_QUEUE_JOB_CHANNELS=root:1.
How can i give this while starting the server and My changed ODOO server configuration file not updated.
This situation what can i do ?

from queue.

sbidoul avatar sbidoul commented on August 20, 2024

If you prefer you can configure the channels in your odoo.cfg, as explained in the README.

from queue.

Gokulakannanaj avatar Gokulakannanaj commented on August 20, 2024

[Performance Issues]

When i changed from root:2 to root:1 , My CPU usage cross the 80 - 85%(closer to last job) for two users only.
When users limit exceed (more than 5) server stopped.
How can i prevent it ?

For ex.
100 Jobs are in pending state. CPU Usage goes 5-10% (Upto 80 Jobs). But after cross 80 CPU Usages exceed 80 - 90 (100 Jobs are doing same action for different users)

from queue.

Gokulakannanaj avatar Gokulakannanaj commented on August 20, 2024

Hi @sbidoul after change the channel capacity 1, process run normally and i cannot get any concurrent error in my local machine. But In server side, i'm getting the concurrent error repeatedly. Even if i requeue the process, again getting concurrent issue. Now in my situation, Performance not a issue.
If workers is 0, what happened that time ?
I need your help @sbidoul @guewen ?
[In my production i have 4 servers and channel capacity 1]

from queue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.