openlabs / docker-wkhtmltopdf-aas

wkhtmltopdf in a docker container as a web service.
BSD 3-Clause "New" or "Revised" License
99 stars 94 forks source link

Invalid PDF due to "WORKER TIMEOUT" #19

Open drbarto opened 8 years ago

drbarto commented 8 years ago

When rendering a large PDF (containing about 40 images, each about 500KB), most of the time an invalid file is produced which cannot be opened by the PDF viewer. Apparently this is due to an internal timeout (see log output below). Is there a way to increase this timeout?

Loading pages (1/6)
Counting pages (2/6)                                               
Resolving links (4/6)                                                       
Loading headers and footers (5/6)                                           
Printing pages (6/6)
Done                                                                      
[2016-06-29 16:13:48 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:107)
[2016-06-29 16:13:48 +0000] [107] [INFO] Worker exiting (pid: 107)
[2016-06-29 16:13:48 +0000] [123] [INFO] Booting worker with pid: 123
MikeyF-Anovia commented 7 years ago

See issue https://github.com/openlabs/docker-wkhtmltopdf-aas/issues/22 for my experience with the timeout issue. I hope it helps.