troubleshooting Question

Apache Configuration Issue - mod_fcgid: error reading data from FastCGI server

Avatar of intangiblemedia
intangiblemediaFlag for Afghanistan asked on
Web DevelopmentPHPApache Web ServerWeb ServersScripting Languages
7 Comments3 Solutions935 ViewsLast Modified:
Hey all,

I have a script that requires to upload 36 photos to an ecommerce store - but there is some memory issue, and I can get a "Internal Server Error" via http admin control panel when trying to save the record with the files to database.

> ==> /var/log/apache2/mydomainerror.log <== [Mon Mar 25 12:52:35
> 2013] [warn] [client 80.28.211.165] (104)Connection reset by peer:
> mod_fcgid: error reading data from FastCGI server, referer:


> [Mon Mar 25 12:52:35 2013] [client 80.28.211.165] Premature
> end of script headers: index.php, referer:
>

Any ideas which parameter I need to change? Currently my fcgid.conf looks like this:

<IfModule mod_fcgid.c>
  AddHandler    fcgid-script .fcgi
  FcgidConnectTimeout 20
  FcgidMaxRequestLen 1073741824
  IPCCommTimeout  9200
  FcgidBusyTimeout 600
</IfModule>

Help!! Thanks everyone!
ASKER CERTIFIED SOLUTION
wakemup

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros