<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: the &amp;quot;pdfserver&amp;quot; times out with &amp;quot;Error 500&amp;quot; in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/the-quot-pdfserver-quot-times-out-with-quot-Error-500-quot/m-p/17277#M270</link>
    <description>&lt;P&gt;It sounds like there may be one of two problems.  &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;The pdfserver may not be able to render the pdf&lt;/LI&gt;
&lt;LI&gt;The Splunk server is not delivering the search result to the pdf server&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;For issue 1, I would double check the error to make sure it is truly a timeout issue and not a local firefox process issue.  Does firefox have proper resources to render the pdf?&lt;/P&gt;

&lt;P&gt;For issue 2, it is possible that the search is timing out internally.  I would check to see how long the search takes to run and see if it is hitting some sort of limit internally.  Also, sending a 10k event result might be hitting another limit depending on your search.&lt;/P&gt;

&lt;P&gt;The following debugging page might be helpful:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/wiki/Community:TroubleshootingPDFServer" rel="nofollow"&gt;http://www.splunk.com/wiki/Community:TroubleshootingPDFServer&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jul 2010 23:02:50 GMT</pubDate>
    <dc:creator>Simeon</dc:creator>
    <dc:date>2010-07-13T23:02:50Z</dc:date>
    <item>
      <title>the "pdfserver" times out with "Error 500"</title>
      <link>https://community.splunk.com/t5/Reporting/the-quot-pdfserver-quot-times-out-with-quot-Error-500-quot/m-p/17276#M269</link>
      <description>&lt;P&gt;The problem is with the "pdfserver" module.&lt;/P&gt;

&lt;P&gt;Our saved search generates results of around 1,000 to 10,000+ events and in order to print all the events into a single page, we have a modified version of "flashtimeline" so that all events will be shown on the single page.&lt;/P&gt;

&lt;P&gt;However, the problem is that the "pdfserver" times out with "Error 500" when run. 
We have tried increasing the timeout period for the pdfserver from 5 to 10 to 15 minutes (firefox_timeout = 900) but with no success.&lt;/P&gt;

&lt;P&gt;We did a test of a little over 1000 events with a timeout period of 5 minutes and it runs ok.
Then, we increased the events to 2000 and a timeout period of 10 minutes and theoretically it should be fine. However the "timeout" problem surfaces.&lt;/P&gt;

&lt;P&gt;Regards and thank you,&lt;/P&gt;

&lt;P&gt;Shiro Lu.  &lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2010 16:27:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/the-quot-pdfserver-quot-times-out-with-quot-Error-500-quot/m-p/17276#M269</guid>
      <dc:creator>shirolu</dc:creator>
      <dc:date>2010-07-13T16:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: the "pdfserver" times out with "Error 500"</title>
      <link>https://community.splunk.com/t5/Reporting/the-quot-pdfserver-quot-times-out-with-quot-Error-500-quot/m-p/17277#M270</link>
      <description>&lt;P&gt;It sounds like there may be one of two problems.  &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;The pdfserver may not be able to render the pdf&lt;/LI&gt;
&lt;LI&gt;The Splunk server is not delivering the search result to the pdf server&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;For issue 1, I would double check the error to make sure it is truly a timeout issue and not a local firefox process issue.  Does firefox have proper resources to render the pdf?&lt;/P&gt;

&lt;P&gt;For issue 2, it is possible that the search is timing out internally.  I would check to see how long the search takes to run and see if it is hitting some sort of limit internally.  Also, sending a 10k event result might be hitting another limit depending on your search.&lt;/P&gt;

&lt;P&gt;The following debugging page might be helpful:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/wiki/Community:TroubleshootingPDFServer" rel="nofollow"&gt;http://www.splunk.com/wiki/Community:TroubleshootingPDFServer&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2010 23:02:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/the-quot-pdfserver-quot-times-out-with-quot-Error-500-quot/m-p/17277#M270</guid>
      <dc:creator>Simeon</dc:creator>
      <dc:date>2010-07-13T23:02:50Z</dc:date>
    </item>
  </channel>
</rss>

