Hello,

I am using mod_fcgid to serve PHP (not FPM) but no matter how I configure
it I am still get a small number of errors from Apache (a few per hour) but
nothing in my PHP syslog.

They are all of the type ap_pass_brigade failed in handle_request_ipc and
the main two I am seeing are:

[fcgid:warn] [pid 3829:tid 140004003129088] (32)Broken pipe: [client
xx.xx.xx.xx:xxx] mod_fcgid: ap_pass_brigade failed in handle_request_ipc
function

[fcgid:warn] [pid 3878:tid 140003940189952] (104)Connection reset by peer:
[client xx.xx.xx.xx:xxx] mod_fcgid: ap_pass_brigade failed in
handle_request_ipc function

I have tried increasing the number of requests before expiry, increasing
timeouts, setting PHP_FCGI_MAX_REQUESTS to 0 to avoid race condition, but
nothing seems to work. I suspect the "Connection reset by peer" may mean
the browser has cancelled the request but fcgid was already generating a
response? Not sure about but the cause of "Broken pipe".

Kind Regards,

Scott

First Class Watches
9 Warwick Road
Kenilworth
CV8 1HD
Warwickshire
United Kingdom

Reply via email to