Проблема с nginx+apache

Skyscraper nginx-forum на nginx.us
Ср Окт 13 22:22:16 MSD 2010


Привет! помогите с такой проблемой:
имею ubuntu 10 + nginx+apahe [mod_php+xcache] 
крутятся joomla сайты и магаз joomla+virtuemart
не могу найти из-за чего тормозит
загрузка картинок, шаблон и текст
загружаются быстро, а вот с картинками
беда, идут в один поток по очереди...
мои конфиги:

[quote=nginx]
user www-data;
worker_processes 2;
pid /var/run/nginx.pid;

events {
worker_connections 64000;
use epoll;
}

http {

limit_req_zone $binary_remote_addr zone=one:10m rate=3r/s;
include /opt/nginx/conf/mime.types;
default_type application/octet-stream;

sendfile on;

keepalive_timeout 65;
client_max_body_size 100m;
tcp_nodelay on;
gzip off;

server {
listen 80;
server_name domen.in www.domen.in;
location / {
limit_req zone=one burst=30;
proxy_pass http://127.0.0.1:81;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location ~* ^.+.(phpmyadmin/|administrator/) {
proxy_pass http://127.0.0.1:81;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css)$ {
root /home/domen.in;
error_page 404 = @fallback;
}
location @fallback {
proxy_pass http://127.0.0.1:81;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
}

location ~ /\index.html {
root /home/domen.in;
}}} 
[/quote]

[quote=apache2]
ServerRoot "/etc/apache2"
PidFile ${APACHE_PID_FILE}
Timeout 60
KeepAlive Off
MaxKeepAliveRequests 50
KeepAliveTimeout 5


StartServers 2
MinSpareServers 2
MaxSpareServers 20
MaxClients 20
MaxRequestsPerChild 1000



StartServers 2
MinSpareThreads 2
MaxSpareThreads 30
ThreadLimit 210
ThreadsPerChild 210
MaxClients 25
MaxRequestsPerChild 1000



StartServers 2
MaxClients 25
MinSpareThreads 15
MaxSpareThreads 55
ThreadLimit 64
ThreadsPerChild 55
MaxRequestsPerChild 1000


User www-data
Group www-data
AccessFileName .htaccess


Order allow,deny
Deny from all
Satisfy all


DefaultType text/plain
HostnameLookups Off

ErrorLog /var/log/apache2/error.log
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
Include /etc/apache2/conf.d/
Include /etc/apache2/sites-enabled/ 
[/quote]

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,140175,140175#msg-140175




Подробная информация о списке рассылки nginx-ru