Welcome! Log In Create A New Profile

Advanced

Re: FastCGI application not receiving multi-part data

merlin corey
July 23, 2009 07:57AM
Gerry,

Sounds like you want to make use of the upstream module (
http://wiki.nginx.org/NginxHttpUpstreamModule ); something like this
should work:

upstream supercpp {
server backend1.example.com weight=5;
server 127.0.0.1:8080 max_fails=3 fail_timeout=30s;
server unix:/tmp/backend3;
}

Substituing of course your backends and weight settings (if
necessary). Minimal for you might be like:

upstream supercpp {
server unix:/tmp/back0;
server unix:/tmp/back1;
...
}

Then later, when you need to pass off to it, you simply refer to the
upstream group by name like so:

fastcgi_pass supercpp;

Thanks,
Merlin

On 7/21/09, gerryw <nginx-forum@nginx.us> wrote:
> Hello All,
>
> I have finally figured out what the problem was. For some reason when the
> local unix: socket was created there was an OS issue that was corrupting the
> data that nginx was writing to the socket. The problem was solved by
> specifyng an alternate location for the file. I am very happy to find that
> this was not an nginx issue, because I really wanted to use it.
>
> I do have one other question though. I'm trying to find some docs that talk
> about multiple fcgi application instances and how nginx balances requests
> between them. Does anyone know where I could find some info on this?
>
> BTW: My fcgi application is written in C++ using the fcgi library. I am also
> making use of the upload module.
>
> Thanks,
> Gerry
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4091,4297#msg-4297
>
>
>
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: 323
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