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 15, 2010 12:42PM
> A single page load can - and most often does - have more than one
> request; a webserver gets hits by more than oner person... The higher
> the traffic the higher the chances of you fork-bombing your own
> server. It might reach the maximum allowed number of processes, if
> defined, or whichever maximum size for the PID variable (will-guessing
> this one)? Nice academic exercise.
>

sure, makes sense.

> Anyway, you should look for a fastcgi daemon instead of a script;
> anything that won't spwan 1 process per 1 request. On Debian i use the
> php-cgi package and a fastcgi script to spawn the daemon on
> /etc/init.d. It uses 4-6 processes top, it's attached.
>

Thanks. Probable a fastcgi daemon written in C or Perl. Found
out the Catalyst::Engine::FastCGI , FCGI::Engine. I would
stick with the current version nginx-fcgi for time being.

It would be nice to have a std fastcgi daemon written in C,
part of NGINX. But most likely this is not the purpose of
the project.

If you guys have any ideas about a simple C based fastcgi daemon
let me know. Would be cool if would compile across Solaris, Linux,
FreeBSD.

Cheers,
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: 206
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