Welcome! Log In Create A New Profile

Advanced

Re: FastCGI application not receiving multi-part data

Daniel Rhodes
July 16, 2009 05:24AM
I'm not familiar with that particular problem, although here are the
settings I use for the fcgi buffers (which has worked with me for
files > 1GB being passed on to PHP):

fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on;
fastcgi_pass_header *;

There are also other values, like the document body size which should
be set. You can find information about that in the documentation.

On Thu, Jul 16, 2009 at 1:56 AM, gerryw<nginx-forum@nginx.us> wrote:
> Hello All,
>
> Daniel:
>>Is your FastCGI running on a socket or a port? On Linux, it should be
>>a socket (e.g. unix:/tmp/php.sock) , but on FreeBSD it should be a
>>port (e.g. 127.0.0.1:60000). I found this to be the cause of uploads
>>not being passed back through fastcgi one time.
>
> I was using a port. When I switched to a unix:socket I started getting some data, but it's either garbage or incomplete, because the parser segfaults trying to parse it. Could it be some kind of buffer size issue?
>
> Almir:
>> Did you remember to add enctype="multipart/form-data"?
> Yes.
>
> Thanks,
> Gerry
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4091,4099#msg-4099
>
>
>
Subject Author Posted

FastCGI application not receiving multi-part data

gerryw July 16, 2009 01:31AM

Re: FastCGI application not receiving multi-part data

Daniel Rhodes July 16, 2009 03:17AM

Re: FastCGI application not receiving multi-part data

Almir Karic July 16, 2009 03:27AM

Re: FastCGI application not receiving multi-part data

gerryw July 16, 2009 04:56AM

Re: FastCGI application not receiving multi-part data

Daniel Rhodes July 16, 2009 05:24AM

Re: FastCGI application not receiving multi-part data

gerryw July 16, 2009 05:16AM

Re: FastCGI application not receiving multi-part data

gerryw July 16, 2009 05:27AM

Re: FastCGI application not receiving multi-part data

mike July 16, 2009 12:46PM

Re: FastCGI application not receiving multi-part data

gerryw July 16, 2009 03:25PM

Re: FastCGI application not receiving multi-part data

gerryw July 17, 2009 12:52AM

Re: FastCGI application not receiving multi-part data

Igor Sysoev July 17, 2009 04:46AM

Re: FastCGI application not receiving multi-part data

gerryw July 17, 2009 07:06PM

Re: FastCGI application not receiving multi-part data

Toni Mueller July 21, 2009 04:21AM

Re: FastCGI application not receiving multi-part data

gerryw July 21, 2009 07:50PM

Re: FastCGI application not receiving multi-part data

merlin corey July 23, 2009 07:57AM

Re: FastCGI application not receiving multi-part data

gerryw July 23, 2009 04:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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