300k single page PDF doesn't convert

QuestionsCategory: PDF Light Viewer300k single page PDF doesn't convert
Chris Berendes asked 6 years ago
When I import and attempt to convert a 300k PDF, I instead get an error (see log) and get redirected to a 502 page. PDF Light Viewer has worked on this server before, with larger PDFs.
The PDF Light Viewer error log directory (/var/www/html/wp-content/pdf-light-viewer-logs/) is empty.
 
nginx-access-log 140.147.236.152 – – [26/Feb/2019:17:27:31 +0000] “HEAD / HTTP/1.1” 200 0 “https://staging-yjwr0y8f.versionpress.com/wp-admin/post.php?post=4385&action=edit” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36”
php-fpm-error-log [26-Feb-2019 17:27:38] WARNING: [pool www] child 1185 exited on signal 9 (SIGKILL) after 228.604153 seconds from start
php-fpm-error-log [26-Feb-2019 17:27:38] NOTICE: [pool www] child 1264 started
nginx-access-log 140.147.236.152 – – [26/Feb/2019:17:27:38 +0000] “POST /wp-admin/post.php HTTP/1.1” 502 568 “https://staging-yjwr0y8f.versionpress.com/wp-admin/post.php?post=4385&action=edit” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36”
nginx-error-log 2019/02/26 17:27:38 [error] 509#509: *2410 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 140.147.236.152, server: _, request: “POST /wp-admin/post.php HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “staging-yjwr0y8f.versionpress.com”, referrer: “https://staging-yjwr0y8f.versionpress.com/wp-admin/post.php?post=4385&action=edit”
support
replied 6 years ago

Hello Chris, could you please send us that PDF, if possible of course? I believe the issue is not about file size. It depends on your server settings, but probably nginx-error-log should contain more info about the error.