# You receive an "out of disk space" error on the IMS server

**Issue:** During regular operation of your OpenIZ server environment you begin to encounter synchronization issues or other errors with clients with the message "Out of disk space".

**Applies To:**

* OpenIZ Immunization Management Server

**Symptoms:**

* During synchronizations all connected tablets report a 500 error&#x20;
* The OpenIZ log files do not grow or are filled with "out of disk space" exceptions
* Using a connected web application such as the administrative portal you see an HTML error page listing "Out of disk space"

**Cause:** The cause of this issue is that the OpenIZ host server or server which you're attempting to connect to has run out of disk space.

**Solutions:**

1. You can prune the OpenIZ log files located in C:\Program Files (x86)\Mohawk College\OpenIZ and named in a format similar to openiz\_20170901.log.
   1. You can delete historical log files per your retention policy
   2. Alternately you can ZIP old logs files as an archive and then delete the files.
2. Attempt to free up disk space by uninstalling programs. For more information see: <https://support.microsoft.com/en-us/help/4028054/windows-repair-or-remove-programs-in-windows-10>
3. You can turn down the verbosity of logs that OpenIZ produces by editing the **\<system.diagnostics>** configuration section. This configuration section typically is structured as follows:

   ```
     <system.diagnostics>
       <sources>
         <source name="OpenIZ.OrmLite" switchValue="Verbose">
           <listeners>
             <add name="console"/>
             <add name="rollover"/>
           </listeners>
         </source>
   ```

   1. swithValue should be set to&#x20;
      1. Verbose - Everything from the service traces is logged
      2. Information - Informational logs or more serious are logged
      3. Warning - Only errors and warnings are logged
      4. Error - Only errors are logged
4. You can procure a larger disk in a virtualized environment or install a larger hard drive in a physical environment.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.santesuite.org/knowledgebase/sdb-kb/kb012-you-receive-an-out-of-disk-space-error-on-the-ims-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
