The Indexing Mechanism in QPS 7 is working as designed. To reduce the frequency of FAILED Indexing Status notifications, JConsole may be used to monitor and configure the indexing queue. The count of threads used for indexing, the number of assets pending in queue and the maximum timeout value for each filter are all displayed in JConsole and can be configured via JConsole at runtime. Changes made via JConsole are valid only until the server process is running. A permanent configuration can be made by setting corresponding values in the Indexing.properties file. Filter timeout values are specified in the .properties file of each corresponding filter. The filters you want to configure are:
The Indexing Mechanism of QPS 7 is responsible for queuing the generation of preview thumbnails. The behavior occurs because there is a single queue for preview/thumbnail generation for all types of assets. Queuing is handled in the following manner:
- The queue is serviced by multiple Indexing Threads (from a thread pool), the number of which is configurable in conf\Indexing.properties file or at runtime via JConsole. This allows some degree of parallel processing of assets pending in queue. By default, two threads are present in the pool for handling indexing requests.
- A new indexing request (created during new check-in, revision created, Geometry change, Index Again operation) adds the asset at the end of queue. Therefore, if large numbers of assets are already pending, a new request for article/project would be processed only after all previous assets have been indexed.
- As part of processing the requests, indexing thread selects the correct filter to be used based on the file type of the asset. For images, the ImageMagick based filter is used. QuarkXPress documents and QuarkCopyDesk articles are processed using a QuarkXPress Server based filter. The JAWS filter is used for PDF, EPS and AI files.
- If indexing of a particular asset takes more time than the maximum value specified for its filter, then its indexing is aborted and its Indexing Status attribute is set to FAILED.