title: HTTP error 508 from PERL script during redirection of requests from secure to non-secure server
body: <p>I am getting a strange error in my file upload application. </p>
  
  <p>1) Server 1: It is secure web server on port 443, which is accessible to public hosting a perl script</p>
  
  <p>2)  When this server get a request for cgi-bin directory, it will simple redirect the request to other web server (Server 2) running on port 80</p>
  
  <p>3) The perl script in Server 2 will save the file in disk </p>
  
  <p>Issue:</p>
  
  <p>Above mechanism worked for a couple of hours later it has thrown Http error code:508</p>
  
  <p>Observations:</p>
  
  <p>If I directly hit Server2 on port 80, perl script successfully saving the files to disk. But If I directly hit Server1 on port 443, I am getting 508 error</p>
  
  <p>When I first got the issue, I have restarted both webservers and it worked. But when I get the same issue second time, restart of servers did not help. The call to Server1 is throwing 508 error and requests are getting timed out.</p>
  
  <p>ulimits and open files are in control.  </p>
  
  <p>If you experience this type of issue, please share your thoughts. </p>