Skip to main content
Known Participant
July 30, 2007
Question

cfdocument performing very poorly on CFMX 7.0.2

  • July 30, 2007
  • 1 reply
  • 827 views
Background: CFMX 7.0.2 on a W2003 (SP2) box using IIS 6.0 and Active Directory.

Attempting to use <cfdocument> to produce PDF output. I was originally producing a rather complex HTML page with multi-nested tables, stylesheet, a couple of tiny GIF files and ran into performance problems when I moved it off the development box (W2K, IIS 5, no domains) to the production type environment (described above). The thing was performing very poorly. The PDFs were being produced in 8 - 10 seconds on dev box but were taking 3-10 minutes on the prod type box! Have tried with recent versions MSIE and Firefox 2 with same, miserable performance.

So, one by one, I eliminated various "complexities". Got rid of graphics, got rid of style sheet, moved from HTTPS to HTTP, got rid of most HTML. The HTML file now contains a table with one column and the same text repeated over and over, no style sheet, no images and it's running from HTTP. I.e., it's "trivial" and should not be a problem...but it's still taking forever for the PDF version to load.

I've also used the task manager to try to see if certain processes are pegging the server. Didn't see anything suspicious. I also looked in error log and runtime logs for clues...didn't see anything there either.

What have I overlooked?
This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
August 6, 2007
Could we see the stripped-down code?



lchalnickAuthor
Known Participant
August 7, 2007
Thanks for your interest. I mentioned that removed this and removed that and eventually just produced a super simplistic, trivial HTML file. Well here it is. It is taking forever to produce a PDF from this.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>test</title>
</head>

<body>
<table>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
<tr>
<td>This is a test</td>
</tr>
</table>
</body>
</html>