I have a fairly large production site, and it's grown increasingly slow over the past few months. I've tried boosting my server memory, but that didn't help. My pages will hang for 8-20 seconds before rendering in a browser, and I don't know the cause.

So, I have two questions.

1. I can't access my module administration page. I get a 404 every time I try to load it because it takes too long. How can I access it safely, without breaking anything on the rest of the site?

2. Again, my page load times are extremely high, and I suspect a faulty module somewhere. I would turn each one on and off, but I have way too many modules installed on this site for that to be a viable solution. Is there some module that can determine which modules are using up more memory than others, or something similar to that? I've looked at Devel already, but I don't think it suits this particular problem, as I need to narrow it down to a per-module basis.

Any help would be greatly appreciated, in either of the matters above, or just general tips on how to keep page load times down on a heavily-customized Drupal site. Thanks! :)

Comments

steveadamo’s picture

with regards to getting your module admin page to load, you could try tweaking the values in your php.ini file... specifically look in the Resource Limits section...

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

upping those values should give you more breathing room when trying to load the page...

SpikeX’s picture

Thanks, I'll try that.

Anyone else have any suggestions on debugging a slow site?

WorldFallz’s picture

you can also try disabling the update status module (if you use it).

SpikeX’s picture

Is that the module that checks Drupal.org for any module updates? I think I have that one disabled.

WorldFallz’s picture

yep-- that's the one.

SpikeX’s picture

Yeah, that's already disabled for me, and my modules page still won't load (I increased the memory limit, too, just to try that - still didn't work).

ludo1960’s picture

..hosting company?

SpikeX’s picture

DreamHost. Dedicated private server with 2GB of memory.

The host isn't the issue.