[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

03/17/2009 at 11:53AM PDT, ID: 24238915 | Points: 250
[x]
Attachment Details

Rendering PDF with CF8 very slow due to iptables firewall. Is there a work around?

Asked by Joe1257 in ColdFusion Application Server, Apache Web Server, IP Tables/IP Chains

Tags: <cfdocument>; <cfinclude>

When generating a PDF document of a report using the cfinclude tag inside cfdocument tags it takes approximately 4 minutes to generate a document that takes about 4 seconds if called directly instead of as a template. Found that turning off the iptables firewall fixes this problem. I assume this is caused by multiple connections/disconnections to the database which is on another host. Any way to get around this problem?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
<body>
 
<cfdocument format="pdf" orientation="landscape" scale="65">
  <cfdocumentsection>
     <cfdocumentitem type="header">
         <cfoutput>
            <div align="right">#DateFormat(Now(), "long")#&nbsp;&nbsp;#TimeFormat(Now(),"HH:mm:ss")#</div>
         </cfoutput>
      </cfdocumentitem>
    <cfset submit = "no">
     <cfinclude template="DisplayContractInfo_action.cfm">
  </cfdocumentsection>
</cfdocument>
 
 
</body>
[+][-]03/17/09 01:04 PM, ID: 23912237

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/17/09 01:48 PM, ID: 23912803

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/17/09 01:51 PM, ID: 23912851

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/17/09 01:55 PM, ID: 23912899

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/17/09 02:03 PM, ID: 23912999

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/17/09 02:08 PM, ID: 23913063

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/17/09 07:18 PM, ID: 23915104

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/18/09 10:05 AM, ID: 23920957

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/18/09 04:58 PM, ID: 23925110

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/18/09 07:06 PM, ID: 23925728

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74 - Hierarchy / EE_QW_3_20080625