Welcome! Log In Create A New Profile

Advanced

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

December 09, 2009 07:24AM
Let me just start with a 'thank you' to you all for your spirited replies. Seriously. I would dearly like to answer you all individually, but I'm not sure that'd be sensible :)

We're a small outfit, with me as the only permanent IT person (development, admin, support e.t.c).

The relevant production setup is Rackspace managed Redhat. The requirement I am looking for is a small footprint solution that can ultimately be ported elsewhere (e.g. slicehost). I want to keep things as much 'out of the box' as possible, as Rackspace then take away a lot of my headaches. Anything I play with does not fall under their contractual obligations (this is my main reason for not recompiling PHP).

This particular server setup is: nginx at the front, from which things split two ways. One way is to Apache+mod_perl which (unavoidably) creates *large* threads (serving some heavy data-munging). The second is fcgi+php mainly serving Wordpress. Currently the two 'services' must live side-by-side on one server (love the legacy).

The reason for not using Apache for WP is twofold. Firstly, apache has a higher memory footprint making it unsuitable for us to scaling down to, for example, a 256MB slice. Secondly, I don't want it sharing the large apache threads and I haven't found a way of reliably running a second apache configuration alongside.

I'm convinced that my initial premise (this is not an nginx issue) is correct, so if this is too offtopic I am happy to continue this elsewhere.

What I have learnt, from reading this thread, and some more web content, is that there is nothing wrong with my setup. I'm pretty happy with apache and fcgi in a stand-alone situation. So I am going to stick with ngnix+php-cgi. Which means I need to manage/admin things better.

The advice I will take is to install supervisord on my dev box and learn how to manage my php-cgi processes properly. One crash in 6 months is not indicative of a systemic problem.

Thanks.

PS:

I know spawn-fcgi is not a process manager. I know spawn-fcgi is not a process manager.
I know spawn-fcgi is not a process manager. I know spawn-fcgi is not a process manager.
:)

PPS: nginx rules ko!
Subject Author Posted

Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

miradev December 08, 2009 03:17AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 08, 2009 06:20AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

miradev December 08, 2009 06:29AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 08, 2009 06:36AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Grzegorz Nosek December 08, 2009 06:48AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 08, 2009 06:56AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Grzegorz Nosek December 08, 2009 07:00AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Grzegorz Nosek December 08, 2009 07:06AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 08, 2009 07:06AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

nerdgrind December 08, 2009 04:43PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 08, 2009 05:10PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

nerdgrind December 08, 2009 05:31PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 08, 2009 05:56PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

nerdgrind December 08, 2009 09:21PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 08, 2009 09:34PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

nerdgrind December 08, 2009 11:35PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 08, 2009 11:52PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Denis Filimonov December 09, 2009 01:08AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Grzegorz Nosek December 09, 2009 03:00AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

nerdgrind December 09, 2009 03:27AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

nerdgrind December 08, 2009 07:46PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

dannynoonan March 06, 2010 12:58AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Glen Lumanau December 08, 2009 08:08PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Jim Ohlstein December 08, 2009 08:18PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Jim Ohlstein December 08, 2009 08:27PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 08, 2009 08:20PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Igor Sysoev December 09, 2009 04:06AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Phillip Oldham December 09, 2009 04:14AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 09, 2009 07:26AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 09, 2009 07:38AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Igor Sysoev December 09, 2009 08:00AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Phillip Oldham December 09, 2009 04:14AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Grzegorz Nosek December 09, 2009 04:46AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Phillip Oldham December 09, 2009 04:58AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

nerdgrind December 09, 2009 04:54AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 09, 2009 07:26AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

miradev December 09, 2009 07:24AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

nerdgrind December 09, 2009 02:54PM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 09, 2009 07:42AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Akins, Brian December 09, 2009 10:56AM

Re: Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

mike December 09, 2009 01:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 320
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready