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 -> Apache View previous topic :: View next topic
Reply to topic   Topic: How to change mod_fcgid HTTP request length?
Author
maskego



Joined: 16 Apr 2010
Posts: 238

PostPosted: Wed 13 Jul '11 7:48    Post subject: How to change mod_fcgid HTTP request length? Reply with quote

I install the mod_fcgid 2.3.6b.And...config by default.

Code:

FcgidIOTimeout 40
FcgidConnectTimeout 10
FcgidMaxProcesses 8
FcgidOutputBufferSize 64
ProcessLifeTime 240
FcgidMaxRequestsPerProcess 500
FcgidMinProcessesPerClass 0


Where can I change the mod_fcgid HTTP request length?It shows error when mod_fcgid HTTP request length is too less to run some scripts.

error log
Code:

mod_fcgid: HTTP request length 131400 (so far) exceeds MaxRequestLen (131072)
Back to top
James Blond
Moderator


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

PostPosted: Wed 13 Jul '11 9:38    Post subject: Reply with quote

The value you search for is

FcgidMaxRequestLen bytes

131072 is the default values. Increase it until it fits.
I you wanna know more about that mod_fcgid RT(F)M Wink

if you still have a question please ask again.
Back to top
maskego



Joined: 16 Apr 2010
Posts: 238

PostPosted: Wed 13 Jul '11 9:48    Post subject: Reply with quote

thanks.

I wanna to know how to revise that value to fit my meet.
what is the code should be added to http.conf?

thank in advance.
Back to top
James Blond
Moderator


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

PostPosted: Wed 13 Jul '11 10:25    Post subject: Reply with quote

The default value 131072 (bytes) which is 128 kB to inscrease this for example to 15MB (15728640 (bytes)).

Code:

FcgidIOTimeout 40
FcgidConnectTimeout 10
FcgidMaxProcesses 8
FcgidOutputBufferSize 64
ProcessLifeTime 240
FcgidMaxRequestsPerProcess 500
FcgidMinProcessesPerClass 0
FcgidMaxRequestLen 15728640
Back to top
maskego



Joined: 16 Apr 2010
Posts: 238

PostPosted: Wed 13 Jul '11 12:29    Post subject: Reply with quote

Get it.
much thanks.
Back to top


Reply to topic   Topic: How to change mod_fcgid HTTP request length? View previous topic :: View next topic
Post new topic   Forum Index -> Apache