I'm new to the splunk community
I was trying to generate PDF report from the dashboard: Export > Schedule PDF delivery > Send Test Email
I got the following error on my email after almost hour of processing: An error occurred while generating the PDF. Please see python.log for details
2020-10-07 21:49:44,499 +0300 INFO sendemail:1163 - sendemail pdfgen_available = 1 2020-10-07 21:49:44,499 +0300 INFO sendemail:1309 - sendemail:mail effectiveTime=None 2020-10-07 22:49:44,522 +0300 ERROR __init__:522 - Socket error communicating with splunkd (error=('The read operation timed out',)), path = /services/pdfgen/render 2020-10-07 22:49:44,523 +0300 ERROR sendemail:1170 - An error occurred while generating a PDF: Failed to fetch PDF (SplunkdConnectionException): Splunkd daemon is not responding: ("Error connecting to /services/pdfgen/render: ('The read operation timed out',)",) 2020-10-07 22:49:44,523 +0300 INFO sendemail:1189 - buildAttachments: not attaching csv as there are no results 2020-10-07 22:49:44,957 +0300 INFO sendemail:140 - Sending email. subject="Splunk Dashboard: 'Traffic Dashboard PDF - 7 Days'", results_link="None", recipients="[email@example.com']", server="192.168.8.10"
And when I clicked on preview PDF in the same page where was the Send Test Email I got the following error after it was processing for almost an hour:
Unable to render PDF.
We have deployed Splunk with 8(4x2)CPU and 16GB memory. And I noticed whenever I generate pdf or search something the CPU goes to 100%...
Is this the problem ? And why Splunk consuming so much CPU ?
Hi @ac89live may we know if recently upgraded?
this thread got some more details.. pls check it once:
This is new deployment.
Here is what I also did:
--- Moved from SAS to SSD
--- Upgraded CPU to 16
--- Restart to the server
Now CPU usage is 80% when generating PDF , but still not PDF is generated ...
Regarding the article, where can do the "splunk reload deploy-server -timeout 200" ?
This is IIS Server 2016