Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

virtual real time limit (178/120s) reached

I am using ubuntu 16 version and running Odoo erp system 12.0 version. On my application log file i see information says "virtual real time limit (178/120s) reached". What exactly it means & what damage it can cause to my application? Also how i can increase the virtual real time limit?

like image 284
shashank verma Avatar asked Apr 04 '19 07:04

shashank verma


2 Answers

It's a parameter to add resilience to the Odoo server by killing zombie threads and spawning new ones. It won't harm your application but it limits your time for debugging if you don't change it.

According to Odoo's own documentation (see https://www.odoo.com/documentation/12.0/reference/cmdline.html)

--limit-time-real Prevents the worker from taking longer than seconds to process a request. If the limit is exceeded, the worker is killed.

Differs from --limit-time-cpu in that this is a “wall time” limit including e.g. SQL queries.

Defaults to 120.

So, to be able to debug in peace, I run Odoo with --limit-time-real 99999

like image 87
Adan Cortes Avatar answered Oct 08 '22 15:10

Adan Cortes


Open your config file and just add below parameter :

--limit-time-real=100000

like image 6
ogba awed Avatar answered Oct 08 '22 15:10

ogba awed