[Rails] Re: Broken pipe error under FastCGI and Mysql (proposed fix)

Henning Koch henning.koch at gmx.net
Tue Nov 2 10:33:31 GMT 2004


I just figured the way multiThreshold works was described further
down for the special case singleThreshold in the FastCGI docs.

I set both thresholds to "100", which with my understanding should
terminate FastCGI processes every time the instance killing policy
is enforced within the process manager

In case this is not going to be fixed within ActiveRecord itself,
I propose mentioning the following FastCGI configuration line in
the Wiki and the Rails documentation:

     FastCgiConfig -killInterval 300 -multiThreshold 100 -singleThreshold 100

The value for killInterval should be below your Mysql timeout.

- Henning

> I suspect -multiTreshold and
> -singleTreshold are the keys, but the FastCGI documentation
> doesn't say anything about how these parameters actually work.

-- 
Henning Koch
http://www.paws.cx



More information about the Rails mailing list