This is a migrated thread and some comments may be shown as answers.

w3wp.exe running at 100% with pdf export

4 Answers 289 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rob Jones
Top achievements
Rank 1
Rob Jones asked on 18 Feb 2008, 02:34 PM
Having just moved Telerik Reporting Q3 2007 for a web application we have discovered that when a report is rendered then an attempt to export it as a pdf file is made then the w3wp.exe process is pushed to 100% cpu usage and a large increase in memory.

The amount of data in the report is relatively small and no graphics are being used, we are currently using LLblgenProDatasource2 as the datsource for the report.

At first we moved the application to a separate ApplicationPool in IIS 6 and increaded the max number of Threads available to the AppPool, while also turning on the ASP .Net State Service so Session State would work across the extra threads. This resulted in the curious effect where part of a report would render but data for sub reports wouldnt..... perhaps a separate problem with session state here?

The upshot is when running with inProcess session state a relatively small report with no graphical content will grind the server to a halt be overloading the w3wp process ...

any suggestions are most welcome ..

William Jack

4 Answers, 1 is accepted

Sort by
0
Hrisi
Telerik team
answered on 19 Feb 2008, 02:18 PM
Hi Sam Malek,

We have tried to reproduce the described behavior with ProductsCatalog example report. We use Windows 2003 server with default settings for the AppPool and the State Server. On the attached image you can see CPU usage (marked with red color) during report export to pdf. The CPU usage is about 100% during processing of the report and about 70% during rendering in response stream. The grid divisions are 5s.

It should be nice if you can send us the report, so we can further investigate the problem and advise you about possible solution.

Greetings,
Hrisi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David Carnley
Top achievements
Rank 1
answered on 23 Sep 2008, 04:04 PM
I know this thread is 7 months old, but I am seeing the same problem using the q3 07 reports version.  i can see the reports on screen fairly quickly, but an attempt to export to any format fails.  my server admin reports that w3wp is maxing out CPU usage, and my redner never completes. 

Is there any resolution to this problem within this same version of telerik reports?

thanks!
David C.

PS I want to add that this problem does not happen in my local environment, only on my production environment, which is Windows Server 2003, and IIS 6.0
0
David Carnley
Top achievements
Rank 1
answered on 23 Sep 2008, 04:44 PM
Just discovered I am running Q2 2007 :/
0
David Carnley
Top achievements
Rank 1
answered on 17 Oct 2008, 09:14 PM
I followed advice from Telerik support and cleaned up usage of before and after page breaks and this seems t have solved this problem and the problem with not responding when generating PDFs.
Tags
General Discussions
Asked by
Rob Jones
Top achievements
Rank 1
Answers by
Hrisi
Telerik team
David Carnley
Top achievements
Rank 1
Share this question
or