ПРОЕКТЫ 


  АРХИВ 


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]

nginx+upload_module on Solaris


  • To: nginx-ru@xxxxxxxxx
  • Subject: nginx+upload_module on Solaris
  • From: Yuriy Veremchuk <cybernixx@xxxxxxxxx>
  • Date: Thu, 22 Oct 2009 15:22:30 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=/ls5AcYe38/0yvj6zePaV/uORndz55wROP2UgpURKRw=; b=k2HboLukeHJYJ7f0KV+RsxszYXBPRuvuyqafo6P+ZrvLaTLkcGOCR4sR4v8zlDRqq4 2co1sM+84A7yd/IyUeNjgRv769sxFpYzDlByd5okqBNqSbIQSyOxEVSw2RRqOiYaxoEK D2a9mXIk1pc5yXIEmbEW37XIyVjqB1bvGcSSg=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=nSu7xkLPDrXUHvvQk14f5arQq+pIfU8B4wf1DZYFfJuxJiXihoyuifZDGzggwImXjy UVs8uNkmci240us4PAY/PWMj4mZ0VxfxAcP86uUqe+keXFkNVfHg3OOULlBT4fvPaeNL zPf4Y4o0Bd+lp8dvvabPixZdmSmJbr9oMoyAU=

Здравствуйте!
Есть проблемка с nginx на Solaris.
При совсем небольшом аплоаде (~100Mb/s) нгинкс перестает отвечать,
воркеры не возможно убить даже через -9.
Есть подозрение что это проблема Solaris а не nginx, но может кто-то
сталкивался.
В еррор логах ничего необычного, в момент подвисания в логи ничего не пишется.
На FreeBSD такая схема работает отлично с аплоадом в 300Mb/s..

$ uname -a
SunOS xxx.xxxx.com 5.11 snv_124 i86pc i386 i86pc Solaris

# prtdiag
System Configuration: Supermicro X7DBN
BIOS Configuration: Phoenix Technologies LTD 6.00 08/13/2007
BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)

==== Processor Sockets ====================================

Version                          Location Tag
-------------------------------- --------------------------
                                 LGA771/CPU1

==== Memory Device Sockets ================================

Type        Status Set Device Locator      Bank Locator
----------- ------ --- ------------------- ----------------
DDR2        in use 1   DIMM1A              Bank1
DDR2        empty  1   DIMM1B              Bank1
DDR2        in use 1   DIMM2A              Bank2
DDR2        empty  1   DIMM2B              Bank2
DDR2        in use 1   DIMM3A              Bank3
DDR2        empty  1   DIMM3B              Bank3
DDR2        in use 1   DIMM4A              Bank4
DDR2        empty  1   DIMM4B              Bank4

==== On-Board Devices =====================================

==== Upgradeable Slots ====================================

ID  Status    Type             Description
--- --------- ---------------- ----------------------------
7   available other            PCIE#0-UIO
1   available PCI              PCI#1-33MHz
2   available PCI-X            PCIX#2-133MHz
3   available PCI-X            PCIX#3-133MHz
4   in use    other            PCIE#4-x4
5   in use    other            PCIE#5-x8
6   available other            PCIE#6-x8


$ nginx -V
nginx version: nginx/0.7.62
built by Sun C 5.10 SunOS_i386 2009/06/03
configure arguments: --user=webservd --group=webservd
--prefix=/usr/nginx/ --sbin-path=/usr/nginx/sbin/nginx
--conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/nginx/logs/error.log
--http-log-path=/var/nginx/logs/access.log
--pid-path=/var/nginx/logs/nginx.pid
--http-proxy-temp-path=/var/nginx/proxy_temp
--http-fastcgi-temp-path=/var/nginx/fastcgi_temp
--http-client-body-temp-path=/var/nginx/client_body_temp
--with-http_stub_status_module
--add-module=./nginx-upload-progress-module
--add-module=./nginx_upload_module-2.0.9 --with-debug
--with-cpu-opt=amd64 --with-cc=/opt/sunstudio12.1/bin/cc

nginx.conf

user webservd;
worker_processes  30;
worker_rlimit_nofile 20480;
worker_priority -5;

error_log  /var/log/nginx-error.log notice;
debug_points abort;

events
{
        worker_connections  20480;
        use /dev/poll;
        devpoll_events 1;
}

http
{

        include              mime.types;
        default_type         application/octet-stream;

        client_header_timeout  60;
        client_body_timeout    60;
        send_timeout           120;
        proxy_read_timeout     180;
        proxy_connect_timeout  60;
        proxy_send_timeout     180;

        msie_padding on;

        sendfile       off;
        tcp_nopush     on;
        tcp_nodelay    on;

        output_buffers   1 512k;
        postpone_output  1460;

        keepalive_timeout  20;
        server_name_in_redirect on;
        server_names_hash_bucket_size 64;
        limit_zone   one  $binary_remote_addr  10m;

        upload_progress proxied 1m;

include vhosts/*.conf;



 




Copyright © Lexa Software, 1996-2009.