Apache Error (104)Connection reset by peer and (32)Broken pipe

1 post / 0 new
#1 Fri, 06/30/2017 - 08:48
Lwyrn

Apache Error (104)Connection reset by peer and (32)Broken pipe

Hello, first of all, sorry for my bad english, I hope to be able to make me understand. It's a year I've this annoying problem. I can't find a solution. When the virtual server have a large amount of simultaneous visitors, two out of tree, the visitor get an internal error blank page ( the default page of apache ). And the error in the log is the following:

Sometime is [Fri Jun 30 12:41:02.066472 2017] [fcgid:warn] [pid 14700] (104)Connection reset by peer: [client ...] mod_fcgid: error reading data from FastCGI server, referer: http://...../

and other time is [Fri Jun 23 10:57:38.994370 2017] [fcgid:warn] [pid 13399] (32)Broken pipe: [client ...] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://.../

I've tried editing the PHP_FCGI_MAX_REQUESTS and it doesn't solve the problem. I tried using a big value and using 0, same result. I've tried to edit the "FcgidBusyTimeout" and "FcgidIOTimeout" and nothing changed. Tried to use "chattr" on fcgi file in /home/user/fcgi-bin

It is started on php 5.x, now i'm using php7.0 and the result isn't changed.

I've tried to switch from fcgid, to apache_mod_php. I get a browser error "The page you are loading don't work" instead of the Internal Error page, and it not generate any logs.

I don't know what else i can try. Any ideas ?

I'm on Debin 8.6 and Virtualmin 1.831

Thanks for all the help