Help figuring out what modules are actually in use.. to reduce memory footprint
Hi, I wanted to know if anyone out their knows of a few ways to track down whats using up the most memory on a site. We have been in development of a beer site for the last year or so part time and getting to the point where things from a site, function and look wise are kicking butt.
But im a bit worried about how much memory the site is using up and need a way to figure out what modules really are just enabled but not used.
Read moreMemory usage much higher on production server than on local install
When using devel to view the memory use on a page, my production server is reporting a memory of anywhere between 70MB to 90MB, however the same site installed locally on MAMP the memory use is around 20MB which is much better. Both have apc installed, so is this difference due to the hardware or do I have a problem on my production server?
Read moreImprove the load of 404 pages, page not found
When a 404 page is launched by Drupal, it needs to load all Drupal's stack.
In web sites with a lot of modules, like is my case, it means that php need load 60M ram for launch a page not found!
That is a problem if for example you have some kind of software testing your site with random urls like mcaffe.
So we made a little hack for index.php so we check previously if a page exists before load all drupal stack.
Here is the code. Someone knows a clean way for fix this problem?
/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
