Welcome! Log In Create A New Profile

Advanced

nginx+upload_module on Solaris

Yuriy Veremchuk
October 22, 2009 08:42AM
Здравствуйте!
Есть проблемка с 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;
Subject Author Posted

nginx+upload_module on Solaris

Yuriy Veremchuk October 22, 2009 08:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready