<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>Hi NeeleshG,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>A.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>1. I have commented out the buffer and timeout
lines.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>2. Changed the user and
worker_connections</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>3. Logging was already enabled.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>B.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>I'm just using it for static files.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>It's working properly. </FONT></SPAN><SPAN
class=816510907-17032009><FONT face=Arial color=#0000ff size=2>It was working
properly before as well. However, when I was generating a file of 10 GB on the
same disk where the 'document root' is, that's when Nginx
crashed.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>I'll let you know if the new configuration
works.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2>Jeroen</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=816510907-17032009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-nginx@sysoev.ru
[mailto:owner-nginx@sysoev.ru] <B>On Behalf Of </B>Neelesh
Gurjar<BR><B>Sent:</B> dinsdag 17 maart 2009 2:47<BR><B>To:</B>
nginx@sysoev.ru<BR><B>Subject:</B> Re: [alert] 17289#0: open socket #14 left
in 39 connection<BR></FONT><BR></DIV>
<DIV></DIV><SPAN style="COLOR: rgb(0,0,0)">Hi Jeroen,</SPAN><BR
style="COLOR: rgb(0,0,0)"><BR style="COLOR: rgb(0,0,0)"><SPAN
style="COLOR: rgb(0,0,0)">A. Can you try following changes in your ngix.conf
?</SPAN><BR style="COLOR: rgb(0,0,0)"><BR style="COLOR: rgb(0,0,0)"><SPAN
style="COLOR: rgb(0,0,0)">1. Comment following lines:</SPAN><BR
style="COLOR: rgb(0,0,0)"><SPAN style="COLOR: rgb(0,0,0)"><FONT face=Arial
size=2>client_body_buffer_size 8k;<BR>client_header_buffer_size
1k;<BR>client_max_body_size
1k;<BR>large_client_header_buffers 1 1k;</FONT></SPAN>
<DIV dir=ltr style="COLOR: rgb(0,0,0)" align=left><SPAN><FONT face=Arial
size=2> <BR>client_body_timeout
5;<BR>client_header_timeout 5;<BR><BR>2. Change following
settings:<BR>user
www<BR></FONT></SPAN><SPAN><FONT face=Arial size=2>worker_connections
2048;</FONT></SPAN><BR></DIV><BR style="COLOR: rgb(0,0,0)"><SPAN
style="COLOR: rgb(0,0,0)">3. Enable logging error & access both
logs</SPAN><BR><BR>B. Are you using php+fastcgi? If yes then please see that
whether it is running & configured with ngix properly or not?<BR><BR>Hope
it will help you.<BR><BR>Regards<BR>NeeleshG<BR><BR>
<DIV class=gmail_quote>On Mon, Mar 16, 2009 at 10:30 PM, Jeroen Steggink - CMS
<SPAN dir=ltr><<A
href="mailto:webmaster@cmsnl.com">webmaster@cmsnl.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Hi
NeeleshG,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>These
are the relevant settings:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>user
www www;<BR>worker_processes 2;</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>events
{<BR> worker_connections
1024;<BR>}<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>## Size
Limits<BR>client_body_buffer_size
8k;<BR>client_header_buffer_size
1k;<BR>client_max_body_size
1k;<BR>large_client_header_buffers 1 1k;</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2> <BR>## Timeouts
<BR>client_body_timeout 5;<BR>client_header_timeout
5;<BR>keepalive_timeout 5
5;<BR>send_timeout
5;<BR> <BR>## General
Options<BR>ignore_invalid_headers on;<BR>limit_zone gulag
$binary_remote_addr 1m;<BR>recursive_error_pages
on;<BR>sendfile
on;<BR>server_name_in_redirect
off;<BR>server_tokens
off; # hides version numbers <BR>
<BR>## TCP options <BR>tcp_nodelay on;<BR>tcp_nopush
on;</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Jeroen</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
href="mailto:owner-nginx@sysoev.ru"
target=_blank>owner-nginx@sysoev.ru</A> [mailto:<A
href="mailto:owner-nginx@sysoev.ru"
target=_blank>owner-nginx@sysoev.ru</A>] <B>On Behalf Of </B>Neelesh
Gurjar<BR><B>Sent:</B> maandag 16 maart 2009 17:31<BR><B>To:</B> <A
href="mailto:nginx@sysoev.ru"
target=_blank>nginx@sysoev.ru</A><BR><B>Subject:</B> Re: [alert] 17289#0:
open socket #14 left in 39 connection<BR></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV></DIV>I faced same problem in the begining. However it got resolved
after setting following parameters properly:<BR><BR>user,
worker_processes, worker_connections, keepalive_timeout, tcp_nopush,
tcp_nodelay<BR><BR>Please post your ngix.conf to get the better
idea.<BR><BR>Regards<BR>NeeleshG<BR><BR><BR>
<DIV class=gmail_quote>On Mon, Mar 16, 2009 at 6:06 PM, Jeroen Steggink -
CMS <SPAN dir=ltr><<A href="mailto:webmaster@cmsnl.com"
target=_blank>webmaster@cmsnl.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV><SPAN><FONT face=Arial size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>I have installed Nginx 0.6.35 and got
the following error:</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>[alert] 17289#0: open socket #14 left
in 39 connection </FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>After this error, the server crashed.
At the time the server was under a high load with high disk
I/O.</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>This is what 'nginx -V'
returns:</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>nginx version: nginx/0.6.35<BR>built
by gcc 4.1.2 20080704 (Red Hat 4.1.2-44)<BR>configure arguments:
--with-cpu-opt=amd64 --without-http_autoindex_module
--without-http_fastcgi_module --without-http_proxy_module
--with-http_ssl_module --with-http_stub_status_module
--without-http_ssi_module --without-http_userid_module
--add-module=/root/nginx-geoip-0.1 --with-md5=/usr/lib64
--with-sha1=/usr/lib64 --prefix=/opt/nginx --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid
--http-log-path=/var/log/nginx/access.log
--error-log-path=/var/log/nginx/error.log
--lock-path=/var/lock/nginx.lock --user=www
--group=www</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>What could be the
problem?</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>Kind regards,</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV><FONT
color=#888888>
<DIV><SPAN><FONT face=Arial
size=2>Jeroen</FONT></SPAN></DIV></FONT></DIV></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Regards<BR>NeeleshG<BR><BR>LINUX is basically a
simple operating system, but you have to be a genius to understand the
simplicity<BR></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Regards<BR>NeeleshG<BR><BR>LINUX is basically a simple
operating system, but you have to be a genius to understand the
simplicity<BR></BLOCKQUOTE></BODY></HTML>