Hey Guys,

I'm having an issue at the moment where logging in (admin or normal user) takes for ever. Anywhere from 7 - 26 seconds.

I have been playing around with this for a bit (installed APC and etc) but to no avail.

The site seems to be working relatively fast it's just the logging in where it's slow.

Any and all help is appreciated.

Thanks in advance! :)

Comments

jaypan’s picture

For an issue like this, you can enable the devel module, then go to /admin/config/development/devel, and check 'Display query log ', which will give you a log of queries, that can maybe help you pinpoint where the problem is.

Contact me to contract me for D7 -> D10/11 migrations.

Shade0’s picture

Thanks for your reply,

I've downloaded the module and I'm looking at it now.

I can't really see anything obvious. It showed me "Executed 224 queries in 56.82 ms." on a log in that took about 23 seconds.

Also this "Page execution time was 5886.53 ms. Memory used at: devel_boot()=0.77 MB, devel_shutdown()=18.15 MB, PHP peak=21.75 MB." Which I'm honestly not too sure what to think of it.

Thanks Jaypan!

Shade0’s picture

I managed to find the issue!

It turns out Smart IP was causing the lengthy log in delays. The cause I don't know yet but I was only using it for a simple weather module I had in a block.

Thanks for your help :)