Welcome! Log In Create A New Profile

Advanced

Re: Logs Assistance

April 22, 2009 12:26PM
On Wed, Apr 22, 2009 at 10:47:50AM -0500, AMP Admin wrote:

> Thanks for all of your replies!
>
> One more question... how do I check the response sizes?

In access_log or in browser info page.

> -----Original Message-----
> From: owner-nginx@sysoev.ru [mailto:owner-nginx@sysoev.ru] On Behalf Of Igor
> Sysoev
> Sent: Wednesday, April 22, 2009 9:46 AM
> To: nginx@sysoev.ru
> Subject: Re: Logs Assistance
>
> On Wed, Apr 22, 2009 at 09:39:22AM -0500, AMP Admin wrote:
>
> > 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;
> > ...
> > }
>
> These setting means that FastCGI responses more than 32k + 4 * 32k = 160k
> will buffer to temp files. See sizes of your repsonses and increase number
> of buffers accordingly, say,
>
> fastcgi_buffers 6 32k;
> fastcgi_buffers 8 32k;
> etc.
>
> > -----Original Message-----
> > From: owner-nginx@sysoev.ru [mailto:owner-nginx@sysoev.ru] On Behalf Of
> Igor
> > Sysoev
> > Sent: Wednesday, April 22, 2009 8:57 AM
> > To: nginx@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@sysoev.ru [mailto:owner-nginx@sysoev.ru] On Behalf Of
> > Igor
> > > Sysoev
> > > Sent: Wednesday, April 22, 2009 6:51 AM
> > > To: nginx@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@sysoev.ru [mailto:owner-nginx@sysoev.ru] On Behalf
> Of
> > > Igor
> > > > Sysoev
> > > > Sent: Tuesday, April 21, 2009 3:35 PM
> > > > To: nginx@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/
> >
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>

--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

getgrnam("root") failed

John Mccarthy April 21, 2009 12:33AM

Re: RE: getgrnam("root") failed

Igor Sysoev April 21, 2009 03:12AM

Re: RE: getgrnam("root") failed

John Mccarthy April 21, 2009 02:07AM

Re: RE: getgrnam("root") failed

John Mccarthy April 21, 2009 01:38AM

RE: getgrnam("root") failed

AMP Admin April 21, 2009 01:05AM

Logs Assistance

AMP Admin April 21, 2009 01:30PM

Re: Logs Assistance

Igor Sysoev April 21, 2009 04:34PM

RE: Logs Assistance

AMP Admin April 21, 2009 05:00PM

Re: Logs Assistance

Igor Sysoev April 22, 2009 07:50AM

RE: Logs Assistance

AMP Admin April 22, 2009 09:53AM

Re: Logs Assistance

Igor Sysoev April 22, 2009 09:56AM

RE: Logs Assistance

AMP Admin April 22, 2009 10:39AM

Re: Logs Assistance

Igor Sysoev April 22, 2009 10:45AM

RE: Logs Assistance

AMP Admin April 22, 2009 11:47AM

Re: Logs Assistance

Igor Sysoev April 22, 2009 12:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
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