Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
Component/s: Documents & Media
As stated in portal.properties:
should fork a new process when creating PDF.
As it can be seen in source code, this fork is only created when ImageMagick is being used, and not when PDFBox (default) is enabled.
How to test:
1-Enable fork for documents preview generation (dl.file.entry.preview.fork.process.enabled=true) and startup portal.
2-Check number of current java processes ('ps -ef | grep java')
2-Upload some PDF files.
3-Check if current number of java processes increased by 1.
4-When all PDF previews are created, ensure that current java processes are the same as in (2).
Repeat the same with dl.file.entry.preview.fork.process.enabled=false and check if java processes remains the same even just after uploading PDF files.