1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Fcgid warnings (Broken pipe and Connection reset by peer)

Discussion in 'Apache' started by Michele Gramsci, Jan 8, 2017.

  1. #1
    I'm desperate. Getting these errors in my VPS and just can't solve them, even the hoster can't. How?

    [Thu Jan 05 19:19:24.436579 2017] [fcgid:warn] [pid 7765] (32)Broken pipe: [client 79.22.6.175:57940] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
    [Thu Jan 05 19:20:10.212129 2017] [fcgid:warn] [pid 7913] (104)Connection reset by peer: [client 79.53.74.142:29987] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

    My fcgid configuration:

    FcgidIdleTimeout 60
    FcgidProcessLifeTime 3600
    FcgidMaxProcesses 4096
    FcgidMaxProcessesPerClass 256
    FcgidMinProcessesPerClass 0
    FcgidConnectTimeout 30
    FcgidIOTimeout 3600
    FcgidInitialEnv RAILS_ENV production
    FcgidIdleScanInterval 30
    FcgidBusyScanInterval 120
    FcgidZombieScanInterval 3
    FcgidMaxRequestLen 1073741824
    FcgidBusyTimeout 3600
    FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 0
    FcgidMaxRequestsPerProcess 0
    FcgidOutputBufferSize 0

    My hoster says this problem happens because users close the page without really seeing it, so it's not server's fault... Is it true?

    /* Now pass any remaining response body data to output filters */
    if ((rv = ap_pass_brigade(r->output_filters,
    brigade_stdout)) != APR_SUCCESS) {
    if (!APR_STATUS_IS_ECONNABORTED(rv)) {
    ap_log_rerror(APLOG_MARK, APLOG_WARNING, rv, r,
    "mod_fcgid: ap_pass_brigade failed in "
    "handle_request_ipc function");
    }

    return HTTP_INTERNAL_SERVER_ERROR;
    }
    SEMrush
    What do you think about increasing the value of these 2 parameters? I know it's suggested, but i don't know what is the max value i can set...

    FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 0
    FcgidMaxRequestsPerProcess 0
     
    Michele Gramsci, Jan 8, 2017 IP
    SEMrush