npolovenko wrote:@novisnagios, How much ram do you have on this server? Please double the memory_limit in the /etc/php.ini file and restart the apache with:[root@nvsplmonnagvt01 libexec]# free -mCode: Select all
service httpd restart
total used free shared buffers cached
Mem: 12025 9854 2170 22 182 8252
-/+ buffers/cache: 1419 10605
Swap: 2015 38 1977
[root@nvsplmonnagvt01 libexec]# egrep -n '^memory_limit|^max_' /etc/php.ini
440:max_execution_time = 180
449:max_input_time = 180
457:memory_limit = 1024M
1659:max_input_vars = 5000
From the command like run the "top" command and then generate a PDF report from the GUI. Let me know what the system load looks like. Take a screenshot of the command output if you can.
If you have google chrome, right click on the stuck webpage and from the drop-down list select "Inspect". First, click on the Console tab and see if there are any errors. Next, go to the network tab and take a screenshot of top time-consuming queries.
Problems when I need to generate the reports in PDF
-
- Posts: 14
- Joined: Fri Jul 20, 2018 4:30 pm
Re: Problems when I need to generate the reports in PDF
You do not have the required permissions to view the files attached to this post.
Re: Problems when I need to generate the reports in PDF
Edit the following file on the Nagios server
Add this line to the bottom of that config file.
Save the file and restart the Apache process by running
Try running the report and downloading it as a PDF file.
Code: Select all
/etc/httpd/conf/httpd.conf
Code: Select all
LimitRequestLine 100000
Code: Select all
service httpd restart
Be sure to check out our Knowledgebase for helpful articles and solutions!