By rxs0569 on
I recently moved from an old win 2003 machine to a quad core with hyperthreading and lots of ram apache/fedora linux machines.
What i am finding is that the admin pages take a loong time to laod.
I have played with the PHOP setting of increasing the memory but nothing works.
I have not tweaked any apache settings
Can anyone point me to the right place to optimize.
On my old win 2003 machine it flies.
What am i missing here
Raj
Comments
Quick fix
Hi Raj
I'm not sure about the admin page loading problems your having.
One thing you could do to save time, is install this:
http://drupal.org/project/admin_menu
This way you can go directly to the admin page you want, as its a dropdown menu.
Hope this helps.
Ortaga
You first have to find out where the problem is
before anyone can offer solutions.
You haven't mentioned how much other traffic is hitting the server.
Use the devel module to log the DB queries and see whether your pages are spending most of their time running slow DB queries or in processing PHP.
Use Firebug to check whether it is slow downloading of certain page components or DNS timeouts that are causing the delays. If your old server was on a different network, it might be looking for files it can't find any more.
PHP memory limits are not the issue - they only need changing when PHP actually crashes due to running out of memory.
Things you should probably do anyway:
Configure an opcode cache for PHP - eg eAccellerator or APC etc
Chances are that the default MySQL settings are way limited to make the DB perform well. MySQL should ship with example config files for large servers - use those. Even then you might want to increase the query cache etc.
You probably will want to tune Apache too - but that all depends on the load you are getting.
install chrome
hi guys,
I had a similar problem..drupal site taking aaaaagggeeees to load in firefox. I installed chrome and it zipped along nicely.
The reason I think it was taking so long to load was because i had the firebug extension installed on firefox. Drupal, by default, loads a bucketload of seperate css files and quite a few js files, particularly when on the admin pages, so I'm guessing that it took firebug a while to load all that seperate stuff before displaying the page.
I maybe wrong on the above, I didn't look too deeply into it...I tend to use googles chrome for drupal admin stuff and firefox + firebug for theming stuff now.
I also notice the firebug extension seems to cause massive memory leaks with firefox. At least that's my experience when using firefox with and without it.
So my advice is to try a different browser first before starting to worry about your page load times having something to do with your host/server memory/other.
=-=
you can aggregate css files into a single file in administer -> performance
good point./
will try that and see if it speeds up the page load times in firefox.
=-=
if your server is equipt with mod_gzip you can also add some lines to .htaccess that tend to speed things up. Though not in the administration area.