How to Fix an Endlessly Loading Job That Does Not Finish

How to Fix an Endlessly Loading Job That Does Not Finish

Problem: Endlessly Loading Job or Process

Sometimes you may encounter jobs that appear to load indefinitely and never complete. This usually happens when the job execution time exceeds the configured limits (limit_time_real or limit_time_cpu). A common example is large operations such as importing products or attributes.

When this occurs, Odoo may terminate the process before it finishes, which can cause the job to appear stuck or endlessly loading.

Parameters: What Do They Mean?

The following parameters in the odoo.conf configuration file control how long a process is allowed to run:

  • limit_time_real – Maximum real time (in seconds) that a request or job can run before Odoo terminates it.

  • limit_time_cpu – Maximum CPU processing time (in seconds) allowed for a request.

If an operation takes longer than these limits, Odoo will stop the process.

Solution: Increase Time Limits

To resolve this issue, you need to increase the time limits in the odoo.conf configuration file.

For example, if your current values are:

limit_time_real = 120
limit_time_cpu = 60

Try doubling them:

limit_time_real = 240
limit_time_cpu = 120

In many cases, doubling the values is sufficient. If the issue still persists, you may increase them further or contact support for assistance.

After updating these settings, restart the Odoo service for the changes to take effect

Odoo.sh limitation

If your instance is hosted on Odoo.sh, these parameters cannot be modified, unless you are using dedicated hosting. In this case contact our support so that we can offer proper solution for your case.

Not sure if our connector will work for you or you need a demo?

If you’re unsure whether our connector is the right fit for your business, don’t hesitate to reach out. Our support team is here to help! We can answer your questions, provide guidance, or even schedule a demo meeting to show you how our connector works.

Contact us: https://support.ventor.tech/

Useful resources

Ecosystem Marketplace:

https://ecosystem.ventor.tech/

YouTube channel:

https://www.youtube.com/@VentorTech
Related Posts