Welcome Guest, Not a member yet? Register   Sign In
DB Autoload Problem
#1

[eluser]Jeyakumar[/eluser]
Hi,

I am using the autoload library for database.


In sometimes my mysql exceeds its connection level(Currently use max 100 connections). At the time, 404 pages try to show the error.

My doubt is, if it try to show the error page means once load the system. While load system the autoload library try to load the database once again. But the problem already occured by the DB only. How the process going?

any ideas???..

another question
----------------

How we track the system, what are the libraries and pages are getting loaded in a particular page request?
#2

[eluser]Ben Edmunds[/eluser]
Not quite sure I understand you.

Are you saying that CI gets a DB error, sends you to the 404, and then tries to load the DB again when the 404 loads?
#3

[eluser]Jeyakumar[/eluser]
yes, you are correct.

Point is DB error occured. At the time it try to show the error page.

For loading the error pages the "system" get initialized, and load the error page - Am I correct?

While system initializing the autoload database library also get initialized. So once again the DB error occured or not?
#4

[eluser]Ben Edmunds[/eluser]
It shouldn't. It's not like it's completely reloading the page when you get an error. It's just re-routing to the error page.




Theme © iAndrew 2016 - Forum software by © MyBB