PDF underloading the cpu
Hello everyone, I have a pertinent question. I'm using the dompdf class to generate pdf documents, so when I click on generate the pdf document the CPU status goes to 99%. Someone can take a tip on how to solve problems with underloading the CPU. thanks in advance.
-
Hey there! It's possible that any server action may lead to a brief spike in the CPU load on the system, and the interface itself doesn't update in real time. It would be best to watch the CPU load on the command line with a command like "top" while you run that tool to see how long the spike actually lasts and if it is really impacting the performance of anything. 0 -
Very grateful for the answer, Continuing. I am using Cpanel Shared and I do not have access to the terminal or command line. I would like to know if you could indicate some software that would help me do a real-time debugging of my system. 0 -
If your hosting provider allows you terminal access you can run "top" as the cPanel user and you'll see everything related to just your site. PHP calls and other processes under that user would still show up, although you wouldn't have as much access to MySQL as you may want to troubleshoot that portion. 0
Please sign in to leave a comment.
Comments
3 comments