Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
LAMP Server Performance Tips

I am running a web directory using WordPress which has a lot of categories, and I mean a lot. Around 26,000 to be precise. And it takes WordPress forever to finish processing certain requests. The homepage takes around 120 seconds to finish processing and then the data is sent over. I recently moved this to a different host which has 2 GB RAM. I am using BitNami LAMPStack.

I am wondering what it is that effects the time required to process a request? Apache, MySQL, PHP or all? I am hoping I can bring the amount of time it takes down significantly and I would appreciate if someone could maybe point me to the right direction? I have tried playing with apache configuration and mysql file(s).

And apache is using prefork and mod_php

share|improve this question

marked as duplicate by mailq, Wesley, mgorven, pQd, Scott Pack Jul 16 '12 at 19:04

This question was marked as an exact duplicate of an existing question.

Duplicate of – Ben Lessani - Sonassi Jun 30 '12 at 17:03
one way is to not use LAMP, use nginx+php-fpm instead like we use, we've described how we do it at… – Logic Wreck Jul 3 '12 at 11:55
Nothing server-side is going to help a badly built site. Rebuild your site. – Ben Lessani - Sonassi Jul 10 '12 at 7:27

Use a faster web server like Nginx and enable Opcode and WordPress object caching using APC. The quality of your code also has a lot to do with it.

Reduce the number of queries, cache results using the enter link description hereWordPress API, cache static html versions of your pages using Varnish or a load balancer.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.