ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Проблема со скоростью закачки, куда копать ?


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Проблема со скоростью закачки, куда копать ?
  • From: "Alexey Mahotkin" <squadette@xxxxxxxxx>
  • Date: Wed, 14 Nov 2007 16:51:10 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=DFwovNDDokYTTc+WFEWqkvVxDaGxIoF7HJVRtQs9R6M=; b=otj0DHFvRfyRCK6g8L9ZMJ0Emyg94WzIPjNa8lVYtMATDF/x0cZWMpd7NGDP/2l7mDWDUW9kR63ysc86CMC+AyldPic/6jeS6VicJ3uIVR2qWVtk3+ruBN9pefREhxwvjlXJsJSiJRHs/XSd8RounQfbDTUkoHsKONoIOV2sM0M=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X73JHJBWOZGyYdnnKt6CuAcwIp2ySTxTQO/+PuTRQbLlIRgRQgtK5F/YAvUKbkFmq/uruGxa2LHgLmwwJ45XTj3S/nKzWcsJHfzDNbz//hVjbIYBIP8Igq773NVksnrhi2Fg53Yl1PgVmIHjrfpzmDnh9WgEihivyTJidUHE97Q=
  • In-reply-to: <473AD3AB.5060700@xxxxxxxxxxxx>
  • References: <473AC1BE.90903@xxxxxxxxxxxx> <c7aff4ef0711140217p64bbc80kb6b42d93e32341d1@xxxxxxxxxxxxxx> <473AD3AB.5060700@xxxxxxxxxxxx>

listen.conf покажите...

On Nov 14, 2007 1:53 PM, Alexey Sova <a.sova@xxxxxxxxxxxx> wrote:
> Alexey Karagodov пишет:
> > конфиг в студию (nginx)
> >
> nginx.conf
>
> user  www www;
> worker_processes  2;
>
> error_log  /var/log/nginx/error_log warn;
> pid        /var/run/nginx.pid;
>
> events {
>     worker_connections  30000;
>     use kqueue;
> }
>
> http {
>     include                             mime.types;
>     default_type                        application/octet-stream;
>     sendfile                            on;
>     output_buffers                      8 32k;
>     keepalive_timeout                   0 0;
>     large_client_header_buffers         64 32k;
>     sendfile_max_chunk                  2M;
>     tcp_nopush      off;
>     tcp_nodelay     off;
>     open_file_cache          max=60000  inactive=20s;
>     open_file_cache_retest   120s;
>     open_file_cache_errors   on;
>
>     client_header_buffer_size           16k;
>     client_header_timeout               60;
>     client_body_timeout                 60;
>     ignore_invalid_headers              off;
>     proxy_buffering                     on;
>     server_names_hash_bucket_size       128;
>     server_names_hash_max_size          2048;
>     limit_zone one $binary_remote_addr  10m;
>
>
>
>     set_real_ip_from   127.0.0.0/8;
>     real_ip_header     X-Real-IP;
>
>     server {
>         listen          127.0.0.1:80;
>         server_name     localhost;
>         access_log      off;
>         error_log       /var/log/nginx/error_log error;
>         root /home/http/www;
>         location = /stub_status {
>              stub_status on;
>              allow       127.0.0.0/8;
>              deny        all;
>         }
>     }
>
>     include vhost.conf;
> }
>
> в vhost.conf записаны хосты вида
>
>
> server {
>   include listen.conf;
>   root        /home/username/www/site1/public_html;
>   location /  {
>
>     index index.shtml index.html index.htm index.wml;
>     limit_rate 20000k;
>   }
>
>   server_name servername.ru servername.spb.ru;
>   limit_conn   one                              5;
>   error_log   off;
>   access_log  /home/username/logs/access_log main;
> }
>
>
>
>



-- 
Алексей Махоткин
http://squadette.ru/


 




Copyright © Lexa Software, 1996-2009.