We're having a very frustrating problem in our production environment.
We have a report that will sometimes return very quickly, and other times not return at all. When the problem is happening, the report will process for 15 minutes or so then the browser will display a "Cannot display webpage" error. This problem is sporadic usually lasting for a few days, then we get a few days of very fast processing, then back to slow. When the report is running fine we can return over 14k records in about 10 seconds.
I'm told by our data team that nothing has occurred on the SQL Servers at the time we see the switch from slow to fast. No index rebuilds, statistics recalcs, etc.
The underlying report query (stored procedure) always runs fast. Even when we are experiencing the problem, I can connect to the production database, with the same user as the report uses, and run the stored procedure with the same parameters and it always returns quickly. We have checked for blocking, and none is happening.
The report does have quite a few parameters. I've seen posts regarding "parameter sniffing" so I created a parameter free version of the report and I still get the same results.
There is nothing complicated about this report. It's a table. No grouping or filtering is done at the report level. There are no subreports. The report does use interactive sorting.
The report can return upwards of 14k records. The total amount of data for this is around 2MB. But like I said earlier, some days the report runs fine and will return even the max amount of records in just a seconds.
The report uses a shared data source that is also used by many other reports that do not experience this issue.
In the report database, we're seeing records being added to the RunningJobs table for these report requests, but we don't see any processing occur after that. It's like the report server is forgetting about them.
Our current line or thought is that the Report Server is not operating properly since these entries in RunningJobs just sit there and are not processed.
Does anyone know why a job might sit in the RunningJobs table? We should be seeing something in the Report Server log files if these jobs are being run, correct? Is there anything else we should be testing?
Our Report Server is at version 9.00.3050.00. We are accessing through the Report Viewer web control.