Help

0

CPU time limit exceeded

Hi, i have a problem in posting expense in the live database, and i got this problem:

Exception: CPU time limit exceeded

When i do testing in the  demo database, and lower the time_limit_cpu. and i didnt get this error.  Why is that? 
And is lot of data in database affects the process that why the error occured ? 

Thanks in advance 


Avatar
Discard
1 答案
2
Avatar
Anisha Bahukhandi
Best Answer

Hello John Kenneth Pinlac, 

Multiple users can access the server at same time in the live instance. 

Due to this, multiple processes are created in the CPU. To manage heavy traffic you need to use load balancer or can use workers. 
CPU time limit manages the space according to the server space. 

However, only few users use test instance; due to which you don't see the same issue in the test instance. 

Thanks

Anisha Bahukhandi

Technical Content Writer 

Avatar
Discard