Plesk

Unable to download large files from a website in Plesk: ap_pass_brigade failed in handle_request_ipc function

Symptoms

Cause

Insufficient FastCGI limits.

Resolution

  1. Log into Plesk.

  2. Go to Domains > example.com > PHP Settings.

  3. Increase the max_execution_time value.

  4. Go to Domains > example.com > Apache & Nginx Settings.

  5. Add the following directives under Additional directives for HTTP & Additional directives for HTTPS:

    <IfModule mod_fcgid.c>
    FcgidMaxRequestsPerProcess 500
    FcgidBusyTimeout 3600
    FcgidMaxRequestLen 1073741824
    FcgidProcessLifeTime 7200
    </IfModule>