On 30/07/15 10:03, Oliver Slay wrote:
> Hi Dan
>
> Isn't that what $pdf_dynamic_rip does? It uses pdfinfo to get the
> dimensions of the pdf, calculates a new DPI and then passes that into
> the variable $resolution, overriding the default... But they would have
> to test that to see if they are happy with the results for smaller PDFs
> and AI files etc.
>
> Yes, it is running out of disk space... The /tmp and /tempdir folders
> are on the 40GB system drive. The resourcespace www folder is on the
> 80GB datadisk .. and the resources are on a 1TB attached storage...
>
> When the temporary GhostScript file reaches 30GB that's 100% of the
> diskspace, and it could then crash out leaving the temp file on the disk
> (which GS is notorious for) and then every time someone attempts to view
> a resource they see the Storage Error 28 message (and I get a flood of
> error emails). Without removing the temp file, no further uploads can
> be made to the server until the offending file is removed. Since the
> ingest can be repeated, I figure that these temporary files could be
> removed without harm.
>
> When I get a free moment I'll upload the file to my local Ubuntu install
> which is a mirror of the production server and run the GhostScript
> command manually...
>
> Oliver
>
>
> On 30 July 2015 at 08:36, Dan Huby <
d...@montala.com