CodeIgniter Forums
index.php taking long time to load error - How to find the problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: index.php taking long time to load error - How to find the problem (/showthread.php?tid=69238)



index.php taking long time to load error - How to find the problem - mahesh2150 - 10-24-2017

[pool www] child 940, script '/var/www/html/wquiz/index.php' (request: "GET /index.php") executing too slow (1.002374 sec), logging

How can we find the trouble?
Which controller and method makes the slow process?
Anyway to find it?


RE: index.php taking long time to load error - How to find the problem - InsiteFX - 10-24-2017

Use your web browsers Development Tools to see what is going on.

F12


RE: index.php taking long time to load error - How to find the problem - mahesh2150 - 10-24-2017

(10-24-2017, 05:19 AM)InsiteFX Wrote: Use your web browsers Development Tools to see what is going on.

F12

I am getting this error only when the load is high. Otherwise there is no such an error.
I think f12 can not help. Can we record the benchmark anywhere and view it ?


RE: index.php taking long time to load error - How to find the problem - InsiteFX - 10-25-2017

You can try the CodeIgniter's Profiler and try Bench marking.

Profiling Your Application

Also read about bench marking in the documentation for the profiler there is a link to it.