By Marc Bijl on
Hi,
Running Drupal for a new site, I notice for quite a while now that it takes ages to save settings. This can last up to about 30 seconds... Such a delay does not happen when I'm saving nodes and things.
At another site I created with Drupal (version 4.6 too) I've checked the saving time for settings as well, but there everything's fine.
Does anyone have an idea where I should start looking?
Thanks!
Marc
Comments
Memory
You should delete unused modules from the module directory. The code form those modules is executed at some settings pages. Just a tip.
See:
http://drupal.org/node/31819
Now I get "Maximum execution time of 30 seconds exceeded"
Removed all unused modules, with no effect...
Last few days I've installed some extra modules, and things got even worse, and worse... Now, when saving any setting in drupal > administer, I get error messages like:
Which basically means: I cannot configure my drupal installation anymore! In order to solve this, I tried to increase memory in .htaccess like suggested here:
- http://drupal.org/node/31819
But that didn't help either...
Is there any maximum amount of contributed modules that can be used at one site? My site is hosted at www.yourhosting.nl with phpMyAdmin 2.6.2-Debian-3sarge1 / MySQL 4.1.15-Debian_0.dotdeb. I use drupal 4.6.6 with these modules turned on:
- badbehavior (contributed)
- block
- blog
- comment
- dba (contributed)
- excerpt (contributed)
- filter
- front_page (contributed)
- gsitemap (contributed)
- i18n (contributed)
- i18nblocks (contributed)
- i18nmenu (contributed)
- locale
- menu
- mimemail (contributed)
- node
- nodewords (contributed)
- page
- path
- ping
- profile
- search
- sections (contributed)
- send (contributed)
- service_links (contributed)
- spam (contributed)
- spam_surbl (contributed)
- story
- system
- taxonomy
- throttle
- trackback_blackhole (contributed)
- tracker
- user
- watchdog
- webform (contributed)
Can anyone please suggest where and how I should start analyzing this issue (I'm no techie...)?
___________________
UPDATE:
Following a hint at www.drupal.org/node/21260#comment-42611, I added in .htaccess:
php_value max_execution_time 120This saves me from the error message, but it still takes ages to save any configuration setting...
___________________
discover new oceans
lose sight of the shore
Anyone on this?
It's driving me crazy...
I've searched the drupal forum and found loads of performance issues:
- number of modules
- size of watchdog
- the locale module
- the path module
- db/hosting issues
- et cetera
My word... Where do I start analyzing? I installed devel module, tried both 4.6 and cvs version, but do not understand anything of it... I see blocks on my page, with some devel menu options, but I can not find any overview of queries at the bottom of my page...
BTW
As said before, I have these issues at admin > settings only (not just when saving settings, but also when just clicking a menu option - it takes ages for the window to come up). There are a few other admin pages that are slow too (e.g. modules), but most of them are fine. The site performance itself is fine too.
Please, help. Thanks!
___________________
discover new oceans
lose sight of the shore
Devel module doesn't help if you aren't a developer
Try http://drupal.org/node/2601 or one of the sub pages in that section. Do you have enough memory configured for your PHP?
Kieran
Kieran Lal
Thanks for the tips
Hi Kieran,
Just wanted to let you know I just read your reply: thanks for the tips! Hope to find some time this week to take a closer look at the page you've suggested. Configuring memory for php? Sure I'll find some info about that here at drupal.org, but if you can point into a direction, that would be great (:
BTW (regarding php memory): I've got my site hosted at a hosting company - does that make a difference?
About devel module: I thought using the module, I could get some info about the queries which are needed when requesting a page (including performance etc).
Cheers,
Marc
___________________
discover new oceans
lose sight of the shore
The direction is as always -
The direction is as always - here. Particulary, see the second result. And there see what you need to have added to your .htaccess file.
Cheers!
________________________________________
It's alongtail.com