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
Stefan Parvu
March 21, 2010 08:16AM
> Interesting. As for the large response time, you'd generally run a bunch
> of fcgiwraps (e.g. by using the -c option) to improve responsiveness.
> The memory cost should be negligible compared to a single instance.
>

Cheers. Yes indeed it makes a difference.

#######################################
Test 4: N=200, Z=5sec, T=10min
Outputs: X=35.6/sec, R=118ms, Err=0.00%
#######################################

so from 1872 to 118ms using 3 FCGI processes.

> Also, if your real CGI scripts you are going to run are all Perl-based,
> you may get better results by converting them to talk FastCGI directly
> to save on the overhead of launching Perl and loading its modules once
> per request. However, this includes some gotchas and is generally
> getting way off topic :)
>

I will document all of these for future. SDR Reporting is
and will be only CGI Perl so I will deploy fcgiwraps as part
of the final solution. As for improving these numbers I will
open a CR in bugzilla to keep track of all of these.

thanks for help,
Stefan

_______________________________________________
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: 204
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