Dear All, 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. Best Regards, Ritesh
Hey, As you mentioned, I have found the log file from the httpd.conf file. It mentions the following error: [Fri Aug 27 10:15:16 2010] [warn] [client <IP Address> ] Timeout waiting for output from CGI script <Path to CGI-Bin Folder>/test1.pl, referer: <URL>l I guess there is some time-out issue. I changed Timeout parameter from 120 (seconds) to 1800 (seconds), but I still get the same error. Any other suggestion? I am getting much clear picture now, thanks for your helpful pointers. Best Regards, Ritesh