Freeing Server Resources after Processing
RaptorXML Server keeps the result document file, temporary files, and error and output document files related to a processed job on hard disk. These files can be deleted in one of two ways:
•By providing the URI of the result document with the HTTP DELETE method. This deletes all files related to the job indicated by the submitted result-document URI, including error and output documents.
•Manual deletion of individual files on the server by an administrator.
The structure of the URI to use with the HTTP DELETE method is as shown below. Notice that the full URI consists of the server address plus the relative URI of the result document.
HTTP Method | URI |
DELETE | http://localhost:8087/v1/result/D405A84A-AB96-482A-96E7-4399885FAB0F |
To locate the output directory of a job on disk, construct the URI as follows:
[<server.output-root-dir> see server configuration file] + [jobid]
Note: | Since a large number of error and output document files can be created, it is advisable to monitor hard disk usage and schedule deletions according to your environment and requirements. |