Skip navigation
tmessier
Currently Being Moderated

cfdocument running slow when generating PDF

Mar 28, 2011 7:46 AM

I have two servers configured the same way. They're running CF 8 Enterprise (exact version is 8,0,1,195765), Java version is 1.6.0_04. Servers are Windows 2008 Server Standard. On one of them, generating PDFs using CFDOCUMENT is very fast. On the other it's painfully slow, can take minutes for a simple PDF. I've checked everything I can think of on the two servers and they seem pretty much the same. I checked the iText jars, they appear to be the same as well. I've seen other people post with slowness issues, but many posts relate to dynamic images, which are not an issue here because I have a PDF with no images in it. I'm totally out of ideas as to what could be causing the difference in performance. Anybody else run into this and find a solution?

 
Replies
  • Currently Being Moderated
    Apr 5, 2011 2:54 PM   in reply to tmessier

    since you have enterprise version have you tried performance monitor to analyze the performace of your functions?

    Are you getting the data for pdf from database?

     
    |
    Mark as:
  • Currently Being Moderated
    May 25, 2011 4:39 AM   in reply to tmessier

    Any feedback on this issue? I am experiencing the same thing here.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 6, 2012 10:42 PM   in reply to tmessier

    Hi,

    Have you solved it?

    I m facing the same problem. In local server its running very fast but the same code taking long time to print a simple pdf(tod isplay one to ten).

    Any information on this could be very useful.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 7, 2012 1:00 AM   in reply to meensi

    I have fixed this.

     

    In my case, this was because of the McAfee ASP anti-virus.

    Basically, it was screening the content of every webpage + contacting their SiteAdvisor website to check for every page… Which was slowing down dramatically the load time of webpages.

     

    I have excluded the URL and IP of my webserver from the things it’s supposed to be checking and it appears to have fixed the issue.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 7, 2012 3:08 AM   in reply to speharpre

    Wow!! good..Can you also tell me whether we can exclude our URL from MccAfee(as my company is also using the same)

    Thanks in advance!

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 7, 2012 3:18 AM   in reply to meensi

    Actually, I have emailed the support and they have done it for me.

     

    But, I believe that they went into Policies --> Desktop Protection Policy

    Then, if you go to “Browser Protection & Web Filtering” go to the “Exception” tab and add in there the URL of your excluded coldfusion server.

    Also, in Virus & Spyware protection, exclude the extension “.cfm” from the “Excluded Files and Folders” and it should work.

     

    If it doesn’t, just email the support and ask them to do it for you

     

    Stéphane Péharpré

    IT Manager

    Description: cid:image007.gif@01CAAC01.458A5980

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points