Trợ giúp

0

CPU time limit exceeded

Avatar
John Kenneth Pinlac

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 


Ảnh đại diện
Huỷ bỏ
1Trả lời
2
Avatar
Anisha Bahukhandi
Câu trả lời hay nhất

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 

Ảnh đại diện
Huỷ bỏ