Hello Paul,

I know it's a heck of a late reply. Sorry about that. I guess it's better
later than never, isn't it?

On Fri, Dec 31, 2010 at 12:10 PM, pub crawler <[email protected]>wrote:

> Here's our scenario:
>
> Ubuntu 10.10 x64 server install.   Default PHP installation,  latest
> Cherokee from SVN.
>
> Simple low-load, low use PHP scripts running.  Almost unused at this point.
>
> Have multiple sources set up for PHP within Cherokee via FastCGI Handler:
>
> Backends:
> PHP Interpreter 127.0.0.1:47990
> php local 2     127.0.0.1:47991
> php local 3     127.0.0.1:47992
> php local 4     127.0.0.1:47993
> php local 5     127.0.0.1:47994
>
> Have those set up in failover mode within Cherokee.
>
> One or more of these backends becomes non responsive (process still
> running though).  No clue on my part why any such process is failing
> at this point.
>
> Let's say 47990 is in this failed mode,  I would assume Cherokee
> failover should be able to detect this in timely manner and ask 47991
> to handle the request.
>

Yes, that is the expected behavior.

Well this doesn't happen.   The connection sits there waiting and
> waiting until the timeout defined for this server (10 seconds).
>
> So two questions:
>
> 1. Any ideas on a fix or cause for PHP failure like this?   What
> should I be looking at to debug PHP's issues like this?
>

It could be either a php issue or a more general system
resource exhaustion problem. I documented some of the most important system
parameters on the following document (be extra-careful tweaking them!!)

   http://www.cherokee-project.com/doc/other_os_tuning.html

By the way, are you using php-cgi or php-fpm? I definitely suggest you to
switch to php-fpm if you are still using php-cgi.

2. Am I hoping for too much from the failover functionality at this
> time (i.e. a configurable wait time for failover detection and
> cascading attempts down the list)?
>

No.


> Should I submit a Ticket for Request for Enhancement?
>

Definitely!

-- 
Greetings, alo
http://www.octality.com/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to