Amit Dev
2012-12-17 14:45:35 UTC
Hi,
We have a perl program packaged into a par. The par is executed and it
works fine. Sometime we shutdown the process and run it again or run an
updated copy of the par file. And intermittently it fails with "Compilation
error..." in logs.
Looks like the issue is somewhere within temp folder (par-root/cache-*).
Once the issue happens I see a "inc.lock" folder created within. Not sure
how the whole thing works. Looks like setting PAR_GLOBAL_CLEAN might fix
the issue, but interested to know why this is happening. Does someone know
how the unpacking really works, and is it required to clean the temp
directory before loading another par program?
We have a perl program packaged into a par. The par is executed and it
works fine. Sometime we shutdown the process and run it again or run an
updated copy of the par file. And intermittently it fails with "Compilation
error..." in logs.
Looks like the issue is somewhere within temp folder (par-root/cache-*).
Once the issue happens I see a "inc.lock" folder created within. Not sure
how the whole thing works. Looks like setting PAR_GLOBAL_CLEAN might fix
the issue, but interested to know why this is happening. Does someone know
how the unpacking really works, and is it required to clean the temp
directory before loading another par program?