[eluser]FumarMata[/eluser]
I am the only one accessing the site, so it cannot be related to a "server overload". Other scripts in the same domain but outside the codeigniter application are working perfectly.
I have enabled logging, and what I see when the site is slow is horrifying:
Code:
DEBUG - 2010-01-18 07:39:01 --> Config Class Initialized
DEBUG - 2010-01-18 07:39:36 --> Hooks Class Initialized
DEBUG - 2010-01-18 07:40:11 --> URI Class Initialized
DEBUG - 2010-01-18 07:40:46 --> No URI present. Default controller set.
DEBUG - 2010-01-18 07:41:21 --> Router Class Initialized
DEBUG - 2010-01-18 07:41:56 --> Output Class Initialized
DEBUG - 2010-01-18 07:42:31 --> Input Class Initialized
...
It takes around 30 seconds to initialize each class. Only one visitor. The classes shown above are the standard classes, so none of my code has been executed yet.
Has anybody experienced something similar? I'm pretty scared, as I am close to the end of the development and I don't know what can happen when we get 1000's of visitors a day :S
Thanks