Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Problem

The OCR Temp folder is very large, with many documents that appear to be very similar or the same. This folder can swell up by many gigabytes overnight, causing server slowdowns or crashes.

Cause

A corrupt PDF is trying to be converted by your Archive PDF Conversion, is failing, and is caught in a loop. This PDF will try and convert ad-infinitum, causing your OCR Temp folder to explode in size. If left alone, this will eventually crash the drive.

Solution

The most important thing to do is find the document sending the convert message to the queue, and remove it from the file structure. This will stop the bad PDF from converting over and over. To do this, you'll have to look into the message queue.

The OCR Temp folder typically lives in the service account user's temp directory - usually in C:\Users\SSAdministrator\AppData\Local\Temp\Square9\OCR


Locating the conversion message for the stuck document and removing it from the file structure.
  1. Open Computer Management
  2. Unfold Services and Applications > Message Queueing > Private Queues > ss_fulltext
  3. left-click "ss_fulltext" to display all the messages for the PDF Conversion queue - you'll very likely see quite a few if the document is indeed stuck.
  4. Open some of the messages and confirm they are all pointing to the same document or documents. Simply double click on the message and use the filepath in the "Body" tab to locate the document within the file structure.
  5. Navigate to the filepaths specified in the message and move the document from the file structure. You're going to want to keep the document and not delete it, in case the client wants to remove the metadata from GS as well.
  6. Once all the files that are corrupt have been removed, clear the message queue by right clicking on ss_fulltext > All Tasks > Purge
  7. Delete all files from OCR Temp folder
  8. Monitor the OCR Temp folder for a time and ensure that the folder isn't enlarging rapidly (documents should spend very little time in this folder - the folder size under normal circumstances should not grow very large.)
  9. If your OCR Temp folder continues to expand rapidly, there's a chance there are more corrupt PDFs to remove. Repeat the process until the OCR Temp folder stabilizes.



  • No labels