Most of the time this works (often for months) without any issues. However, once in a while pdf fails to download and when I check the server , ps aux shows multiple wkhtmltopdf processes.
Once I killall wkhtmltopdf , then the pdf generation works again. Is there a way to overcome this or find out why there are multiple processes?
Could it be two requests to phpwkhtmltopdf at once hangs wkhtmltopdf?
Looking for a way to fix this. Appreciate any help