HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   php-fpm default process manager (http://www.howtoforge.com/forums/showthread.php?t=57175)

pititis 4th May 2012 05:00

php-fpm default process manager
 
Hello,

I did some test and research with nginx + php-fpm using process manager in ondemand mode. Is just a dream!

There aren't children at startup (0). Using dynamic mode and a few customers you are lost, tons of process will eat your memory.

ondemand is amazing, children are forked with new connections and after timeout, return to 0!! Default idle_timeout is set in 10 seconds!!!

Please consider ondemand for ispconfig.

Cheers

falko 4th May 2012 10:52

It's already in the bugtracker: http://bugtracker.ispconfig.org/inde...s&task_id=1888 (see the comment)

pititis 4th May 2012 14:06

Ok thanks for the link.

falko 5th May 2012 13:24

I've implemented this (in SVN) yesterday. But the default process manager is still dynamic because for ondemand, you need PHP version 5.3.9 or newer.

I've added a drop-down field where you can select static, dynamic, or ondemand.

pititis 5th May 2012 14:01

Thank you so much!!

Quote:

But the default process manager is still dynamic because for ondemand, you need PHP version 5.3.9 or newer.
I've added a drop-down field where you can select static, dynamic, or ondemand.
Good point. A drop-down is a nice idea for support all pm modes.

I'm using precise :D

HellMind 27th February 2013 23:24

I still want a way to set everything to on demand
and by default too

JeffryL 6th March 2013 20:38

Same here... is it possible to set php-fpm ondemand by default?

HellMind 6th March 2013 21:26

I did a query to update every site to that.
But dunno if its working.

JeffryL 6th March 2013 21:39

Okay that's a way too of course... is it safe to perform? ;)

HellMind 6th March 2013 22:27

We must summon support.
Let me say a few magic words

"Come on and rock me Amadeus"

Quote:

Is it safe to update process manager field with a simple SQL UPDATE query?


All times are GMT +2. The time now is 10:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.