# Frontend Server Disk Space Check

> The automatic check that stops the frontend server accepting agent data when free disk space falls below 3 GB.

Source: https://docs.capaone.com/performanceguard/administration/more-setup/manage-frontend-servers/frontend-server-disk-space-check/  
Product: PerformanceGuard — a separate CapaSystems product; do not apply this page to any other.

<font style="color: #404040;">The PerformanceGuard frontend server automatically checks if there is enough disk space on the computer that runs the frontend server.</font>

<font style="color: #404040;">The frontend server will automatically stop accepting data from PerformanceGuard agents if there is less than 3 GB free disk space on the frontend server, and it will automatically resume accepting data from agents once there is more than 6 GB free disk space.</font>

<font style="color: #404040;">Technically, when the frontend server stops accepting data from agents, the PerformanceGuard Frontend Server service itself does not stop, but it stops listening on the</font> [Installation](/performanceguard/installation/) <font style="color: #404040;">(by default that is port 4001).</font>

:::caution
If the frontend server stops accepting data from agents because of limited disk space, it is important that you free up sufficient disk space on the computer that runs the frontend server. When you have freed up sufficient disk space, the frontend server will automatically resume accepting data from agents.
:::

# **How Will I Know if a Frontend Server Stops to Accept Agent Data?**

<font style="color: #404040;">There are several indications:</font>

:::caution
You can only do this if you're a PerformanceGuard administrator.
:::

## **Frontend Server Log**

<font style="color: #404040;">PerformanceGuard administrators can see it in the frontend server log file, available in the</font> [View Log Files](/performanceguard/administration/more-setup/view-log-files/) <font style="color: #404040;">of the </font><font style="color: #404040;">PerformanceGuard</font><font style="color: #404040;"> web interface or directly under </font>*<font style="color: #404040;">\[PerformanceGuard installation folder\]\collector\logs</font>*<font style="color: #404040;">.</font>

- When the frontend server stops accepting data from agents, the following is logged:

:::note[Important]
Not enough disk space. Stopped serving agents. \[Disk space information\]
:::

:::note[Important]
Stopping the collector server.
:::

:::note[Important]
<details>
<summary>What's ReportFileStore and spooler?</summary>

They are frontend server folders under \[PerformanceGuard installation folder\]\collector\. Sufficient disk space is especially critical for those folders, and that's why the log message may mention them as part of its disk space information. Still, the main thing you need to do is to free up disk space on the computer than runs the frontend server.

</details>
:::
- When the frontend server resumes accepting data from agents, the following is logged:

:::note[Important]
Enough disk space has become available to resume serving agents. \[Disk space information\]
:::

:::note[Important]
Creating a server socket.
:::

:::note[Important]
Server is running. \[Agent/frontend server communication port information\]
:::

## **System Status Will Report FAILURE**

<font style="color: #404040;">PerformanceGuard administrators can see it in the PerformanceGuard web interface: When the frontend server stops accepting data from agents, the **Agents Online** status on the</font> [**System Status**](https://capawiki.capasystems.com/display/PD/System+Status?src=search) <font style="color: #404040;">tab (**ADMINISTRATION > Status > System Status**) will change to **FAILURE**.</font>

:::caution
If your organization uses [Installation](/performanceguard/installation/), agents will automatically [Manage Frontend Servers](/performanceguard/administration/more-setup/manage-frontend-servers/). When that's the case, the **Agents Online** status will remain **OK**. In that case, select the neighboring **Frontend Servers** tab. Because the PerformanceGuard Frontend Server service has technically not stopped on the affected frontend server, it will still appear with an **Online** status. However, you'll be able to recognize the affected frontend server, because it will have an **Online Agents** count of *0*.
:::

## **Use Server Surveillance Tool to Get Automatic Notifications**

<font style="color: #404040;">PerformanceGuard has a separate downloadable tool for monitoring the status of the PerformanceGuard system and alerting you by e-mail if something is wrong. The tool can thus automatically notify you if a frontend server stops accepting data from agents. This requires that you download, configure and run the tool. Read more in.</font>

:::tip
The tool can even write PerformanceGuard status messages in Windows' event log.
:::

:::caution
The tool won't notify you of this problem if your organization uses [Install PerformanceGuard Server](/performanceguard/installation/install-performanceguard-server/). In an environment with multiple frontend servers, agents will automatically [Frontend Server Disk Space Check](/performanceguard/administration/more-setup/manage-frontend-servers/frontend-server-disk-space-check/) if their preferred frontend server stops accepting data. When that's the case, the status of your PerformanceGuard system will remain **OK**, and that's why the tool won't notify you.
:::
