Ungroup timeout

Post Reply
smages
Newbie
Posts: 3
Joined: Tue Jul 05, 2011 10:16 am

Ungroup timeout

Post by smages »

Hi,

I want to handle different Jobs between 1000 and 5000 PDFs per Folder. In the flow the job should be ungrouped, the PDFs changed, afterwards regrouped and merged.

Now the problem is that the Ungroup-Module generates a timeout after about half an our and the job will be aborted.

Does anyone knows a workaround?

Thanks for your help.

Kind regards
Steffen
freddyp
Advanced member
Posts: 1008
Joined: Thu Feb 09, 2012 3:53 pm

Re: Ungroup timeout

Post by freddyp »

Are you saying that it takes more than 20 minutes to ungroup 5,000 files from a job folder? I find that hard to believe.

I can easily imagine, however, that it takes more than 20 minutes for all 5,000 files to be processed so they are ready to be assembled. And yes, "Assemble job" has a property "Orphan time-out" that is set to 15 minutes by default. Set that to a high enough value.
smages
Newbie
Posts: 3
Joined: Tue Jul 05, 2011 10:16 am

Re: Ungroup timeout

Post by smages »

Hi Freddy,

thanks for the reply. I don´t have any experience with such jobs (I mean with more than 1000 PDFs). Unfortunately the process in this flow takes so long. I have attached an excerpt of the log with the start of the ungroup-process and the time-out.

I set the time-out of "Assemble job" to 120 minutes but this has no effect at all.

Hope this will help you.
Steffen
Attachments
log-excerpt.zip
(524 Bytes) Downloaded 509 times
User avatar
Terkelsen
Advanced member
Posts: 297
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Re: Ungroup timeout

Post by Terkelsen »

If it is actually the Ungroup process that takes that long, you will need to change: Preferences -> Error handling -> Abort processes after (minutes)
smages
Newbie
Posts: 3
Joined: Tue Jul 05, 2011 10:16 am

Re: Ungroup timeout

Post by smages »

Hi,

sorry to answer so late. I was a few days out of office. To change the time in Preferences -> Error handling has solved the problem. Thanks for your help!

Steffen
User avatar
vernonvd
Member
Posts: 38
Joined: Tue Oct 09, 2012 9:21 am
Location: Pretoria, South Africa

Re: Ungroup timeout

Post by vernonvd »

i am also experiencing a time-out on the Ungroup-job function. at the moment i am splitting a 500 page pdf into single pages, the Ungroup-job function take more than 30min and fails on time-out :o i know i can set the preferences for the time-out but is this normal?
Arthur
Member
Posts: 113
Joined: Sat Sep 09, 2017 11:58 pm
Location: Yateley, UK

Re: Ungroup timeout

Post by Arthur »

Ungroup Job is not for splitting PDF on a per page basis...
To do that, you'd need to use - Split PDF.

Ungroup "extracts" individual files from a job folder, so that they retain hierarchy, but can be processed individually.
Unless I do not know about some extra functionality of Ungroup....
Zoranj
Member
Posts: 107
Joined: Tue Sep 20, 2016 7:37 pm
Location: Canada

Re: Ungroup timeout

Post by Zoranj »

From my experience, Split and Merge PDF are the slowest configurators in Switch.
If you are dealing with large files in thousands of pages, you will be loosing your hair pretty soon, like me :)
For splitting PDF's my solution was to use Quite Hot imposing instead, it is at least 10 times faster in splitting PDF's than Switch Split PDF configurator.
I am still looking for good PDF merge alternative, I tried several commercial ones and mostly are either just as slow or error prone.

I did not run into issues with Ungroup configurator so far.
Arthur
Member
Posts: 113
Joined: Sat Sep 09, 2017 11:58 pm
Location: Yateley, UK

Re: Ungroup timeout

Post by Arthur »

@Zoranj - for merging pdfs Apago had a soft which worked based on hotfolders.
We use PDF Combine Pro from the CLI. Straightforward server almost like app, without gui, that works OK ish...
Few hundred of pdfs totalling hundreds and most often thousands of pages it can process in just couple of minutes building complete bookmark tree (from the file names) and retaining existing bookmarks that go into it.
I bet there are other more sophisticated solutions... But bang for the buck, this does the job ;)
Zoranj
Member
Posts: 107
Joined: Tue Sep 20, 2016 7:37 pm
Location: Canada

Re: Ungroup timeout

Post by Zoranj »

Thanks Arthur, but it appears PDF Merge is Mac only, unfortunately our Switch is on Windows server.
Arthur
Member
Posts: 113
Joined: Sat Sep 09, 2017 11:58 pm
Location: Yateley, UK

Re: Ungroup timeout

Post by Arthur »

As far as I'm concerned the one I was talking about is actually windows only... :D
User avatar
JimmyHartington
Advanced member
Posts: 278
Joined: Tue Mar 22, 2011 7:38 am

Re: Ungroup timeout

Post by JimmyHartington »

I have just noticed a slow ungroup on my system.
And it seems to be if my flow contains a submit point.
Then Switch generates a thumbnail for each new pdf-file and that is time consuming.
On my system (16 cores, 212 GB of RAM, SSD for Switch dataroot) it took about 40 minutes for 500 pdf-files.

I have contacted support about this.
User avatar
JimmyHartington
Advanced member
Posts: 278
Joined: Tue Mar 22, 2011 7:38 am

Re: Ungroup timeout

Post by JimmyHartington »

@Zoranj for merging pdf-files I have used CPDF (https://community.coherentpdf.com) and PDFTK Server (https://www.pdflabs.com/tools/pdftk-server/). Both are available for Windows.
Post Reply