Segmentation fault (core dumped)
den_saw
nginx-forum на nginx.us
Чт Май 31 11:53:00 UTC 2012
>Покажите конфиг с которым у вас
падает.
worker_processes 12;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
server_names_hash_bucket_size 2048;
server_names_hash_max_size 4096;
client_header_buffer_size 16k;
large_client_header_buffers 16 16k;
log_format main '$remote_addr - $remote_user [$time_local]
"$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"
"$host"';
access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log;
sendfile on;
server_tokens off;
keepalive_timeout 65;
gzip on;
gzip_min_length 10240;
gzip_buffers 32 64k;
gzip_types application/x-javascript text/css text/xml
text/plain;
client_max_body_size 16m;
proxy_buffer_size 32k;
proxy_buffers 32 32k;
log_format isp '$bytes_sent $request_length';
server {
listen XX.XXX.XXX.XXX:80;
server_name zaglushkasm7.com.ua www.zaglushkasm7.com.ua;
rewrite ^(/manager/.*)$ https://$host$1 permanent;
error_page 404 = @fallback;
location ~* ^/(webstat/|awstats|webmail/|myadmin/|manimg/) {
proxy_pass http://XX.XXX.XXX.XXX:8080;
proxy_redirect http://zaglushkasm7.com.ua:8080/ /;
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 / {
proxy_pass http://XX.XXX.XXX.XXX:8080;
proxy_redirect http://zaglushkasm7.com.ua:8080/ /;
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 ~*
^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar)$ {
root /hosting/sattelit/data/www/zaglushkasm7.com.ua;
access_log /hosting/httpd-logs/zaglushkasm7.com.ua.access.log ;
access_log /hosting/nginx-logs/sattelit isp;
}
location @fallback {
proxy_pass http://XX.XXX.XXX.XXX:8080;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
}
}
...........
далее 2600 виртуалхостов с аналогичным
конфигом
...........
}
весь конфиг весит 3 метра 85000 строк
проблема в том что таким конфигом он 2
года отработал без проблем
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,227045,227059#msg-227059
Подробная информация о списке рассылки nginx-ru