Welcome! Log In Create A New Profile

Advanced

Re: [confused] a client request body is buffered to a temporary file

July 13, 2009 04:23AM
On Mon, Jul 13, 2009 at 03:09:12PM +0700, Glen Lumanau wrote:

> I tried to find on google for the solution for this
>
> But still no luck
>
>
>
> 2009/07/13 15:05:22 [warn] 32467#0: *6899 a client request body is buffered
> to a temporary file /var/lib/nginx/body/0/00/0000000000, client:
> 192.168.254.16, server: mydomain.com, request: "POST /backend.php/F3/saveTV
> HTTP/1.0", host: "mydomain.com", referrer:
> http://mydomain.com/backend.php/F3/add
>
>
>
> Here's the config that I used
>
>
>
> server {
>
> listen 80 default;
>
> server_name mydomain.com www.mydomain.com;
>
> root /home/web;
>
> index index.php;
>
>
>
> charset utf-8;
>
>
>
> location ~ \.(gif|jpg|png|jpeg|swf|js|css|flv)$ {
>
> expires 30d;
>
> }
>
>
>
> location / {
>
> proxy_set_header X-Real-IP $remote_addr;
>
> proxy_set_header Host $http_host;
>
> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
>
>
>
> proxy_pass http://127.0.0.1:8080;
>
>
>
> client_max_body_size 500m;
>
> client_body_buffer_size 1024k;

You need to increase client_body_buffer_size.

> proxy_connect_timeout 100;
>
> proxy_send_timeout 100;
>
> proxy_read_timeout 100;
>
>
>
> fastcgi_read_timeout 180;
>
>
>
> proxy_buffer_size 64k;
>
> proxy_buffers 4 64k;
>
> proxy_busy_buffers_size 128k;
>
> proxy_temp_file_write_size 128k;
>
> }
>
> }
>
>
>
> Help me please.. i'm so confused


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

[confused] a client request body is buffered to a temporary file

Glen Lumanau July 13, 2009 04:09AM

Re: [confused] a client request body is buffered to a temporary file

Igor Sysoev July 13, 2009 04:23AM

RE: [confused] a client request body is buffered to a temporary file

Glen Lumanau July 13, 2009 05:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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