Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

mod_fcgid: write timeout to pipe

Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules

View previous topic :: View next topic  
Author Message

Joined: 19 Dec 2016
Posts: 13
Location: US, Nashville

PostPosted: Thu 24 May '18 17:41    Post subject: mod_fcgid: write timeout to pipe Reply with quote

My customer is wanting to upload larger files to their 4gig Windows server running Apache 2.4.33 from here and using mod_fcgid under PHP NTS 7.1.16. I've increased the max_upload limit to 5000M, and altered my Fcgid settings to the below. The upload starts and 30 min later, Apache returns a 500 error and the logs show mod_fcgid: write timeout to pipe.

FcgidMaxProcesses 300
   FcgidMaxProcessesPerClass 300

   FcgidOutputBufferSize 65536
   FcgidConnectTimeout 1200
   FcgidProcessLifeTime 0
   FcgidMaxRequestsPerProcess 0
   FcgidMinProcessesPerClass 0
   FcgidFixPathinfo 0
   FcgidProcessLifeTime 3600
   FcgidZombieScanInterval 1200
   FcgidBusyScanInterval 1200
   FcgidBusyTimeout 1200
   FcgidErrorScanInterval 1200
   FcgidIdleScanInterval 1200
   FcgidIdleTimeout 1200
   FcgidMaxRequestLen 5000000000   
   FcgidIOTimeout 1200
   FcgidTimeScore 3

   FcgidPassHeader Authorization

Just to get it to upload something large, I've uploaded a file that is just over 1 gig to see at what point it passes through successfully.

What option should I alter next? thx, sam
Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6628
Location: Germany, Next to Hamburg

PostPosted: Tue 16 Oct '18 23:27    Post subject: Reply with quote

I guess apache runs out of RAM or times out. http is not made to handle that kind of big files. You shoud provide something like sftp or ftps.

However the fcgid values are 1200 seconds. It might take the uploader longer than that time.

Still I do not recommend to upload such big files via http / https.
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules
Page 1 of 1