Dear Eliška,
I see you are using veraPDF 1.2.1-PDFBox version. I wonder if you could try our latest Greenfield version 1.4.5 available here: http://downloads.verapdf.org/rel/1.4/verapdf-1.4.5-installer.zip
It seems that your issue might be related to memory allocation. And this latest version is optimized in this respect.
Another advice is to check whether your issues are related to some specific files. You may check problematic files on a stand-alone GUI or CLI version of veraPDF. If your problem is reproduced on any single PDF, don't hesitate to report us an issue and, if possible, send a problematic PDF file.
Best regards, Boris
From: Users [mailto:users-bounces@lists.verapdf.org] On Behalf Of Pavlaskova Eliska Sent: Tuesday, May 9, 2017 4:53 PM To: Users@lists.verapdf.org Subject: [Users] Vera does not finish and blocks server
Dear all, we are running veraPDF as a validation service in our system for thesis submission. Lately we encountered a problem on server where Vera instances run. In some cases, Vera is not able to produce output (because of timeout or something), so the script that called Vera instance finishes validation process and the validated file is deleted from the temp directory. Usually, it does not cause any problems, but sometimes Vera does not finish (?why?) and still runs and blocks the server and needs to be killed manually. In these situation, the Vera instances block fully the server and it rises problems for other applications running on the server too. We do not know if it is caused by fact that Vera still runs and needs the validated file that was already deleted. We do not know how to solve the problem and prevent to blocking the server with unfinished Vera instances. Has anyone experienced a same problem?
Installed Vera version: veraPDF 1.2.1-PDFBOX Built: Wed Mar 01 22:00:00 CET 2017 Here you can see an example log of running processes:
3233 ? Sl 16:43 /usr/lib/jvm/jre-1.7.0/bin/java -classpath /usr/local/utils/verapdf/etc:/usr/local/utils/verapdf/bin/* -Dfile.encoding=UTF8 -Dapp.name=VeraPDF validation CLI -Dapp.pid=3233 -Dapp.repo=/usr/local/utils/verapdf/bin -Dapp.home=/usr/local/utils/verapdf -Dbasedir=/usr/local/utils/verapdf org.verapdf.cli.VeraPdfCli -p /net/uloziste/verapdf/profile/verapdf_profile_uk.xml /net/uloziste/FILE_MANAGER2/prace/temp_prace/33a3112ce32342b6807ddbb4822823c9.pdf
5179 ? Sl 15:26 /usr/lib/jvm/jre-1.7.0/bin/java -classpath /usr/local/utils/verapdf/etc:/usr/local/utils/verapdf/bin/* -Dfile.encoding=UTF8 -Dapp.name=VeraPDF validation CLI -Dapp.pid=5179 -Dapp.repo=/usr/local/utils/verapdf/bin -Dapp.home=/usr/local/utils/verapdf -Dbasedir=/usr/local/utils/verapdf org.verapdf.cli.VeraPdfCli -p /net/uloziste/verapdf/profile/verapdf_profile_uk.xml /net/uloziste/FILE_MANAGER2/prace/temp_prace/1b4d275596ad8644b331da4d644518a0.pdf
7594 ? Sl 1:29 /usr/lib/jvm/jre-1.7.0/bin/java -classpath /usr/local/utils/verapdf/etc:/usr/local/utils/verapdf/bin/* -Dfile.encoding=UTF8 -Dapp.name=VeraPDF validation CLI -Dapp.pid=7594 -Dapp.repo=/usr/local/utils/verapdf/bin -Dapp.home=/usr/local/utils/verapdf -Dbasedir=/usr/local/utils/verapdf org.verapdf.cli.VeraPdfCli -p /net/uloziste/verapdf/profile/verapdf_profile_uk.xml /net/uloziste/FILE_MANAGER2/prace/temp_prace/134f70ea14446023524c3959809491d0.pdf
9030 ? Sl 13:19 /usr/lib/jvm/jre-1.7.0/bin/java -classpath /usr/local/utils/verapdf/etc:/usr/local/utils/verapdf/bin/* -Dfile.encoding=UTF8 -Dapp.name=VeraPDF validation CLI -Dapp.pid=9030 -Dapp.repo=/usr/local/utils/verapdf/bin -Dapp.home=/usr/local/utils/verapdf -Dbasedir=/usr/local/utils/verapdf org.verapdf.cli.VeraPdfCli -p /net/uloziste/verapdf/profile/verapdf_profile_uk.xml /net/uloziste/FILE_MANAGER2/prace/temp_prace/4558f4c73ee09c2ce782f7ccc6819404.pdf
9227 ? Sl 0:03 /usr/lib/jvm/jre-1.7.0/bin/java -classpath /usr/local/utils/verapdf/etc:/usr/local/utils/verapdf/bin/* -Dfile.encoding=UTF8 -Dapp.name=VeraPDF validation CLI -Dapp.pid=9227 -Dapp.repo=/usr/local/utils/verapdf/bin -Dapp.home=/usr/local/utils/verapdf -Dbasedir=/usr/local/utils/verapdf org.verapdf.cli.VeraPdfCli -p /net/uloziste/verapdf/profile/verapdf_profile_uk.xml /net/uloziste/FILE_MANAGER2/prace/temp_prace/fa9c56f70cb68cf3960af63872d5e29a.pdf
11922 ? Sl 11:45 /usr/lib/jvm/jre-1.7.0/bin/java -classpath /usr/local/utils/verapdf/etc:/usr/local/utils/verapdf/bin/* -Dfile.encoding=UTF8 -Dapp.name=VeraPDF validation CLI -Dapp.pid=11922 -Dapp.repo=/usr/local/utils/verapdf/bin -Dapp.home=/usr/local/utils/verapdf -Dbasedir=/usr/local/utils/verapdf org.verapdf.cli.VeraPdfCli -p /net/uloziste/verapdf/profile/verapdf_profile_uk.xml /net/uloziste/FILE_MANAGER2/prace/temp_prace/c9c2b6839c892af31c9cdc807852a629.pdf
30521 ? Sl 20:40 /usr/lib/jvm/jre-1.7.0/bin/java -classpath /usr/local/utils/verapdf/etc:/usr/local/utils/verapdf/bin/* -Dfile.encoding=UTF8 -Dapp.name=VeraPDF validation CLI -Dapp.pid=30521 -Dapp.repo=/usr/local/utils/verapdf/bin -Dapp.home=/usr/local/utils/verapdf -Dbasedir=/usr/local/utils/verapdf org.verapdf.cli.VeraPdfCli -p /net/uloziste/verapdf/profile/verapdf_profile_uk.xml /net/uloziste/FILE_MANAGER2/prace/temp_prace/91a4ec6cbab1ef72496b369c61f822bb.pdf
Thank you in advance!
Mgr. Eliška Pavlásková, Ph.D. Archiv UK telefon: +420 224 491 771 eliska.pavlaskova@ruk.cuni.czmailto:eliska.pavlaskova@ruk.cuni.cz