<div dir="ltr">I switched to <a href="http://www.imagemagick.org" target="_top" rel="nofollow" link="external">www.imagemagick.org</a> and away from pdfbox. <br>The problem is solved, the howling of my mac disappeared :-)<div><br></div><div><br><br>2017-07-27 9:59 GMT+02:00 jtuchel [via Smalltalk] <<a href="/user/SendEmail.jtp?type=node&node=4957192&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>>:<div class='shrinkable-quote'><br>><br>> Sounds like you need a pdfbox box ;-)<br>><br>><br>><br>><br>> Am 27.07.2017 um 09:42 schrieb Sabine Manaa <[hidden email]>:<br>><br>> when the report generation is invoked, the session is alive and I have a long session time.<br>> So, it is unlikely that the session will expire. <br>> If it does expire nevertheless, the user will not notice it (because he is logged out) and I will stop report generation if the session is not available.<br>><br>> Ramon, I tested your suggestion and with the session passed into the fork with the local variable, it works.<br>><br>> I was mislead by the method >>queueWorkAndExpireIn:session: <br>><br>> This works<br>> | theSession |<br>> theSession := self session.<br>> [ theSession dummyMethod ] queueWorkAndExpireIn: 25 seconds session: self session ]<br>><br>> and this works too:<br>> | theSession |<br>> theSession := self session.<br>> [ theSession dummyMethod2 ] queueWork ]);<br>><br>> ==>I don't understand for what the session parameter in >>queueWorkAndExpireIn:session: is used.<br>><br>> But I can also use queueWork.<br>><br>> This/the smalltalk side seems to work all fine now with the ThreadPool. Thank you for this!<br>><br>> I also use an external program to <br>> * merge multiple  PDFs into one <br>> * and to generate pngs from pdfs for the preview<br>> (<a href="https://pdfbox.apache.org" target="_top" rel="nofollow" link="external">https://pdfbox.apache.org</a>).<br>><br>> The remaining problem is, that I have many pdfbox calls which create a high load on the machine...<br>> :-)<br>><br>><br>><br>><br>><br>>  <br>><br>><br>><br>>  <br>><br>> ________________________________<br>> View this message in context: Re: ThreadPool with Seaside - how?<br>> Sent from the Seaside General mailing list archive at Nabble.com.<br>><br>> _______________________________________________<br>> seaside mailing list<br>> [hidden email]<br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>><br>><br>> _______________________________________________<br>> seaside mailing list<br>> [hidden email]<br>> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>><br>><br>> ________________________________<br>> If you reply to this email, your message will be added to the discussion below:<br>> <a href="http://forum.world.st/ThreadPool-with-Seaside-how-tp4956812p4957128.html" target="_top" rel="nofollow" link="external">http://forum.world.st/ThreadPool-with-Seaside-how-tp4956812p4957128.html</a><br>> To start a new topic under Seaside General, email <a href="/user/SendEmail.jtp?type=node&node=4957192&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a><br>> To unsubscribe from Seaside, click here.<br>> NAML</div></div>
</div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://forum.world.st/ThreadPool-with-Seaside-how-tp4956812p4957192.html">Re: ThreadPool with Seaside - how?</a><br/>
Sent from the <a href="http://forum.world.st/Seaside-General-f86180.html">Seaside General mailing list archive</a> at Nabble.com.<br/>