Hi guys,

right into the middle: Somehow my admin pages are slow... "Modules", Update.php, "Administration" pages are all slow. By slow I mean that they take >30s to load (some even 45-50s).

By doing a little analysis I have found out, that while loading these pages, two phases are being carried out:
1. Reading from disk - these times the disk is fully utilized, and the CPU is on 0-5%.
2. CPU processing - disk doing nothing and the CPU runs 100%. It is the http server's processes eating the CPU, not the DB.

My config is:
Apache 2.2.8, php5.2.5 as an apache module, eaccelerator 0.9.5.3, and 30 additional non-core modules in the /sites/all/modules directory.

At first I thought I could speed up phase #2 utilizing eaccelerator, but although it works, the perceived results are almost zero- if any.

What would you suggest to speed up my installation?

Comments

itangalo’s picture

Increasing the PHP memory limit might help. If you have done all the checking above you probably know more than me about how to increase the memory limit, but it should be done in php.ini.

Good luck.
//Johan Falk, Sweden

notabenem’s picture

Any other ideas?
-M.

newbuntu’s picture

I opened an issue http://drupal.org/node/311626. No response so far. Driving me crazy...

gausarts’s picture

Perhaps it's another problem, but disabling update.module helps me reduce the load. If you control your server, have you tried mysql tuner, who knows, I forgot the link for the script, but this might lead you there http://wiki.mysqltuner.com/MySQLTuner.

love, light n laughter
gausarts

love, light n laughter

glennr’s picture

albeit on a completely different system (Windows) . . . but it wasn't the OS or the local setup that was my problem, it was a proxy server blocking Update, causing exactly the same symptoms as those described by notabenem above. Bypassing the proxy fixed the problem, but so did disabling Update when I had to use the proxy.

newbuntu’s picture

My update module is never enabled. And I tried both 6.x, 6.5 on different machines. They behave the same way.

I am not sure if it's a mysql problem, because I have drupal 5.x on the same machines and I don't have any problems with 5.x. Also, based on devel module log, drupal 6.x is generating over a thousand queries when I hit modules link. In 5.x, it only generated 46 queries.

I bet there are lots of people out there having the same problems. I did a search on drupal modules slow. Most of them are complaining about 6.x.

newbuntu’s picture

In the spirit of "spread the wealth" ;) I am sharing my solution for my problem, hope it may help you as well.

See #22 in this post http://drupal.org/node/311626

notabenem’s picture

Yeeeeha! Thanks for the update. Using this and disabling the Update status plugins I am on 11s.
Acceptable.
M.