Welcome! Log In Create A New Profile

Advanced

Re: nginx, fcgi+perl forking a new process per request ...

All files from this thread

File Name File Size   Posted by Date  
php-fastcgi 3.9 KB open | download vesperto 03/15/2010 Read message
Maxim Dounin
March 15, 2010 08:32AM
Hello!

On Mon, Mar 15, 2010 at 02:13:28PM +0200, Stefan Parvu wrote:

> Im trying to experiment more regarding nginx + fcgi,perl. Im using the
> following configuration:
>
> OS: Solaris 10 x86
> Perl CGI support: nginx-fcgi-0.4.3
> http://www.nginx.eu/nginx-fcgi.html

[...]

> I have all processes running, ptree command:
>
> 5548 /opt/sdr/report/perl/bin/perl /opt/sdr/report/ws/sbin/nginx-fcgi -l /opt/sdr/re
> 5552 /opt/sdr/report/ws/sbin/nginx -c /opt/sdr/report/ws/conf/nginx.conf
> 5553 /opt/sdr/report/ws/sbin/nginx -c /opt/sdr/report/ws/conf/nginx.conf
>
> When I kick a jmeter test against the server I can see dozens of processes
> forked by the 5548 the master FCGI process. As understood I should not
> see this behavior when using FastCGI, isnt it ?

1. FastCGI is just protocol, nothing more. Implementation details
(including number of forked processes) are up to FastCGI
application.

2. Script you refer to is just wrapper which executes CGI scripts.
And it does so by running separate process for each request.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx, fcgi+perl forking a new process per request ...

Stefan Parvu March 15, 2010 08:18AM

Re: nginx, fcgi+perl forking a new process per request ...

Maxim Dounin March 15, 2010 08:32AM

Re: nginx, fcgi+perl forking a new process per request ...

Stefan Parvu March 15, 2010 08:46AM

Re: nginx, fcgi+perl forking a new process per request ... Attachments

vesperto March 15, 2010 12:30PM

Re: nginx, fcgi+perl forking a new process per request ...

Stefan Parvu March 15, 2010 12:42PM

Re: nginx, fcgi+perl forking a new process per request ...

Roger Hoover March 15, 2010 12:54PM

Re: nginx, fcgi+perl forking a new process per request ...

Stefan Parvu March 15, 2010 03:36PM

Re: nginx, fcgi+perl forking a new process per request ...

Grzegorz Nosek March 15, 2010 04:20PM

Re: nginx, fcgi+perl forking a new process per request ...

Stefan Parvu March 15, 2010 05:14PM

Re: nginx, fcgi+perl forking a new process per request ...

Stefan Parvu March 20, 2010 08:42AM

Re: nginx, fcgi+perl forking a new process per request ...

Grzegorz Nosek March 20, 2010 02:18PM

Re: nginx, fcgi+perl forking a new process per request ...

Stefan Parvu March 21, 2010 08:16AM

Re: nginx, fcgi+perl forking a new process per request ...

Marcin Gryszkalis March 16, 2010 06:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 218
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready