I am new to Apache. I am hosting a Web-server that process pdf documents using cgi-bin. The website is able to process small size (size <= 1 MB) PDF documents. But if a bigger Document is uploaded, the website fails to process and gives Internal Server Error with the following error message:
The server encountered an internal error or misconfiguration and was unable to complete your request.
There is no syntax error in the perl code, as I am able to run the cgi-script using SSH.
I tried changing the following parameters in httpd.conf file:
MaxKeepAliveRequests to 0
MaxRequestPerChild to 0
Still it fails. I doubt it's memory allocation issue to every child process, but I am not sure which parameter to tweak. Any suggestion or pointer will be greatly appreciated.