Logs Assistance

AMP Admin admin at ampprod.com
Wed Apr 22 18:39:22 MSD 2009


Maybe a stupid question but how do I figure out what size they should be set
at?

I saw this on the following on the web.  Do you think it will work for me?

      location ~ \.php$ {
           fastcgi_buffer_size   32k;
           fastcgi_buffers       4 32k;
           ...
      }

-----Original Message-----
From: owner-nginx at sysoev.ru [mailto:owner-nginx at sysoev.ru] On Behalf Of Igor
Sysoev
Sent: Wednesday, April 22, 2009 8:57 AM
To: nginx at sysoev.ru
Subject: Re: Logs Assistance

On Wed, Apr 22, 2009 at 08:53:18AM -0500, AMP Admin wrote:

> I thought the proxy settings where for transferring requests to other
> servers.  This is the only server so we don't use the proxy module. 

Sorry, I did not notice the line "fastcgi://127.0.0.1:9000".
Then you need to tune fastcgi_buffer_size and fastcgi_buffers.
These directives are similar to the proxy_ ones.

> -----Original Message-----
> From: owner-nginx at sysoev.ru [mailto:owner-nginx at sysoev.ru] On Behalf Of
Igor
> Sysoev
> Sent: Wednesday, April 22, 2009 6:51 AM
> To: nginx at sysoev.ru
> Subject: Re: Logs Assistance
> 
> On Tue, Apr 21, 2009 at 04:00:06PM -0500, AMP Admin wrote:
> 
> > Is that for multiple servers?  Nginx is the only webserver on this
box...
> > it's nginx, xcach, php-fmp, php, and mysql. 
> 
> I do not understand the question about multiple servers.
> 
> > -----Original Message-----
> > From: owner-nginx at sysoev.ru [mailto:owner-nginx at sysoev.ru] On Behalf Of
> Igor
> > Sysoev
> > Sent: Tuesday, April 21, 2009 3:35 PM
> > To: nginx at sysoev.ru
> > Subject: Re: Logs Assistance
> > 
> > On Tue, Apr 21, 2009 at 12:30:57PM -0500, AMP Admin wrote:
> > 
> > > I see a lot of the following in our log.  Anyone know what might be
> > causing this?
> > > 
> > > [info] 15399#0: *15062 client *.*.*.* closed keepalive connection
(104:
> > Connection reset by peer)
> > 
> > MSIE has closed a keepalive connection (this is normal).
> > 
> > > [info] 15401#0: *15199 client *.*.*.* closed keepalive connection
> > 
> > A browser has closed a keepalive connection (this is normal).
> > 
> > > [warn] 15399#0: *14910 an upstream response is buffered to a temporary
> > file /tmp/fastcgi/7/07/0000000077 while reading upstream, client:
*.*.*.*,
> > request: "GET /page.php?e=29306 HTTP/1.0", upstream:
> > "fastcgi://127.0.0.1:9000", referrer:
> "http://forum.forum.com/page2.php?g=5"
> > 
> > Probably you need to increase
> > 
> > http://wiki.nginx.org/NginxHttpProxyModule#proxy_buffer_size
> > and
> > http://wiki.nginx.org/NginxHttpProxyModule#proxy_buffers
> > 
> > 
> > -- 
> > Igor Sysoev
> > http://sysoev.ru/en/
> > 
> 
> -- 
> Igor Sysoev
> http://sysoev.ru/en/
> 

-- 
Igor Sysoev
http://sysoev.ru/en/






More information about the nginx mailing list