# Trouble shooting

### <span class="mw-headline" id="bkmrk-status-on-the-file-i-1">Status on the file indexing</span>

The file indexer has a stus page that will display information about the state of the indexer

```
 https://<server>/tsFileIndexingService/execute
```

The page also constains a goodword "HEALTHY" taht is displayed if the process has not exceeded the specified timeouts.

### <span class="mw-headline" id="bkmrk-controlling-timeouts-1">Controlling timeouts</span>

Timeouts are specified in seconds and should be tuned to CPU size and quality of documents

```
 <Parameter name="TimeoutTesseract" value="600"/>  
 <Parameter name="TimeoutGhostscript" value="60"/>  
```

Poor quality documents on virtualized environments can easily consume about a minute per page.

### <span class="mw-headline" id="bkmrk-debugging-ocr-proces-1">Debugging OCR proces</span>

By default output from the external components are written to logfiles, which can be disabled by adding this option

```
 <Parameter name="SuppressCommandOutput" value="0"/>
```

Note that there is a switch in configuration file (context.xml) which can disable file deletion on the server

```
 <Parameter name="DisableFileCleanup" value=""/>
```