E
E
evgeny_eJ2011-09-21 08:11:03
Nginx
evgeny_eJ, 2011-09-21 08:11:03

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

7 answer(s)
S
startsevdenis, 2011-09-21
@evgeny_eJ

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.

H
homm, 2011-09-21
@homm

> httpd processes multiply at a breakneck pace,
Yes, Lord, throw Apache into the dustbin of history.

B
bdmalex, 2011-09-21
@bdmalex

Did you try to handle the 404 error in an explicit way in the Apache configuration?

W
Wott, 2011-09-21
@Wott

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?

V
Vasily Borisov, 2011-09-21
@yuhenobi

Try to really work without Apache. For example on nginx+php-fpm?

N
Nepofigist, 2011-09-21
@Nepofigist

Try to throw out all caching plugins and Apache. Install php-fps, memcache and php-apts. Rejoice in life.

A
Andrey Burov, 2011-09-21
@BuriK666

configure nginx to cache 404 pages

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question