Answer the question
In order to leave comments, you need to log in
Does a non-existent page on the Wordpress engine slow down the Apache2 + nginx bundle?
Hello!
I have a WP blog. Delivered wp-cache and WP Minify plugins to optimize the site. Load Impact does not reveal any problems with speed.
Problems start if you access a non-existent Wordpress page, for example, using the "ab" utility. httpd processes multiply at a breakneck speed, the site does not open for another 5-10 minutes after such testing.
Dedicated server (under the table), quite powerful:
CPU: Intel® Pentium® 4 CPU 3.00GHz (2999.98-MHz 686-class CPU)
real memory = 3221225472 (3072 MB)
avail memory = 3132964864 (2987 MB)
OS: FreeBSD 8.2 -RELEASE
How to fix this? Who faced a similar problem?
Maybe this is not a problem, but it was meant to be?
Answer the question
In order to leave comments, you need to log in
What type of links do you use on the site? I mean, are you using the standard ?p=id types, or are you using the htaccess file to create your own link structure.
> httpd processes multiply at a breakneck pace,
Yes, Lord, throw Apache into the dustbin of history.
Did you try to handle the 404 error in an explicit way in the Apache configuration?
if everything is configured correctly, then it was meant to be - the 404 response from apache is not cached and the next request is re-requested.
why wp-cache if there is nginx?
Try to really work without Apache. For example on nginx+php-fpm?
Try to throw out all caching plugins and Apache. Install php-fps, memcache and php-apts. Rejoice in life.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question