logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

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

or

Bitcoin

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

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_fcgid: write timeout to pipe
Author
sam452



Joined: 19 Dec 2016
Posts: 23
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.

Code:
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
Moderator


Joined: 19 Jan 2006
Posts: 7360
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


Reply to topic   Topic: mod_fcgid: write timeout to pipe View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules