Welcome! Log In Create A New Profile

Advanced

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

June 15, 2010 03:12PM
@Michael
Thanks again for heads up on PHP-FPM
I am reading your post -
http://michaelshadle.com/2010/05/21/php-fpm-and-nginx-upstart-scripts/
I hope to see our server using PHP-FPM next month (with ubuntu 10 +wordpress
3)

-Rahul


On Tue, Jun 15, 2010 at 11:48 PM, Michael Shadle <mike503@gmail.com> wrote:

> php-fpm is an actual management daemon, as opposed to using spawn-fcgi
> which you are still responsible for controlling. If you're doing the
> spawn-fcgi route you might as well just use php-cgi -b and use upstart
> or some other controlling daemon and just do it yourself. spawn-fcgi
> doesn't give you anything special AFAIK.
>
> Rasmus himself uses PHP-FPM now and gave it basically a thumbs up (in
> person) and nginx for wepay.com (the company he works for now)
>
> You don't get much better clout than that.
>
> On Tue, Jun 15, 2010 at 11:14 AM, Rahul Bansal <rahul286@gmail.com> wrote:
> > Thanks Reinis.
> >
> > Regarding...
> >
> >>> [*] Is it good to make [i]PHP_FCGI_CHILDREN = 1[/i] if I am using APC
> >>> for PHP opcode caching?
> >
> >>No.
> >
> > I read somewhere that 2 PHP processes do not share APC cache. So if I
> > have 10 PHP_FCGI_CHILDREN - that means 10 times cache size.
> >
> >
> > On
> >> I would suggest to give it a try to the new FPM sapi/manager which is
> now included also in 5.3.x core.
> >
> > I do not use FPM and I really wonder why it is used?
> > We can directly use php-fastcgi as mentioned here
> > http://tomasz.sterna.tv/2009/04/php-fastcgi-with-nginx-on-ubuntu/
> >
> > Thanks for your time buddy.
> > If you have more inputs, please share.
> >
> > -Rahul
> >
> >
> >
> > On Tue, Jun 15, 2010 at 11:27 PM, Reinis Rozitis <r@roze.lv> wrote:
> >>>
> >>> [*] Is it good to make [i]PHP_FCGI_CHILDREN = 1[/i] if I am using APC
> >>> for PHP opcode caching?
> >>
> >> No.
> >> One child won't do anything good on a multicore box (giving the usuall
> nature of php scripts - waiting on external resources like DBs etc). Nor it
> can saturate single cpu (also APC doesnt limit you here in any way).
> >>
> >> I would suggest to give it a try to the new FPM sapi/manager which is
> now included also in 5.3.x core.
> >> It gives you the ability to dynamically manage a pool of php processes
> (spawn more php childs if the server gets loaded or kill the unneeded
> spares). That way you dont need to control any settings from the webservers
> side.
> >>
> >> http://php-fpm.org/
> >> http://php-fpm.org/download/
> >>
> >>
> >> rr
> >>
> >>
> >> _______________________________________________
> >> nginx mailing list
> >> nginx@nginx.org
> >> http://nginx.org/mailman/listinfo/nginx
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://nginx.org/mailman/listinfo/nginx
> >
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 11:39AM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Reinis Rozitis June 15, 2010 02:08PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 02:18PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

mike June 15, 2010 02:22PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 03:00PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Reinis Rozitis June 15, 2010 03:26PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Jérôme Loyet June 15, 2010 03:42PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Rahul Bansal June 15, 2010 04:02PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Jérôme Loyet June 15, 2010 04:10PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 04:32PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Piotr Karbowski June 15, 2010 04:36PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Jérôme Loyet June 15, 2010 04:38PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 04:52PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Piotr Karbowski June 15, 2010 05:02PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 05:17PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 05:28PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Piotr Karbowski June 15, 2010 05:34PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Reinis Rozitis June 15, 2010 05:10PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Jérôme Loyet June 15, 2010 05:18PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Reinis Rozitis June 15, 2010 05:46PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Jérôme Loyet June 15, 2010 05:52PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 16, 2010 08:20AM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 05:46PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 05:50PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 26, 2010 07:29PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

ericdeko411 June 26, 2010 09:45PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 27, 2010 10:04AM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 03:12PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Reinis Rozitis June 15, 2010 03:16PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 03:42PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

mike June 15, 2010 04:02PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

rahul286 June 15, 2010 04:12PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

speedway June 17, 2010 10:38PM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Jan Bujk September 09, 2011 08:36AM

Re: Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Reinis Rozitis September 09, 2011 09:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 98
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready