Author |
|
maskego
Joined: 16 Apr 2010 Posts: 238
|
Posted: Wed 13 Jul '11 7:48 Post subject: How to change mod_fcgid HTTP request length? |
|
|
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: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 13 Jul '11 9:38 Post subject: |
|
|
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
if you still have a question please ask again. |
|
Back to top |
|
maskego
Joined: 16 Apr 2010 Posts: 238
|
Posted: Wed 13 Jul '11 9:48 Post subject: |
|
|
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: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 13 Jul '11 10:25 Post subject: |
|
|
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
|
Posted: Wed 13 Jul '11 12:29 Post subject: |
|
|
Get it.
much thanks. |
|
Back to top |
|