# Plan and usage

> The Plan and usage tab: what your plan gives the app, the memory, CPU, disk and traffic meters, the traffic chart, and how to move up a plan.

Source: https://fadehost.com/docs/app-plan-and-usage/

**Plan and usage** is the last tab on a bot or app's page. It answers two questions: what this app is allowed to use, and how close it is to that right now.

## The plan

The top of the tab names the plan the app is on and the limits that come with it: how many apps the plan carries, memory, CPU, disk, and whether its traffic is capped. It also says where the app runs, whether it sleeps when idle, what it may reach on the internet, and whether it can send mail.

A paid plan is a number of app slots, and every slot is the same size. What you choose is how many apps you want on one plan, not how big one app is.

| | Free | Starter | Standard | Pro |
| --- | --- | --- | --- | --- |
| Price per month | $0 | $2 | $3 | $6 |
| Price per year | free | $20 | $30 | $60 |
| Apps included | 1 | 1 | 2 | 4 |
| Memory per app | 256 MB | 1 GB | 1 GB | 1 GB |
| CPU per app | 0.25 vCPU | 1 vCPU | 1 vCPU | 1 vCPU |
| Extra memory per app | not available | up to 3 GB | up to 3 GB | up to 3 GB |
| Disk under `/data` | 3 GB | 5 GB | 10 GB | 20 GB |
| Daily traffic limit | 1 GB | none | none | none |

Standard is your bot and your test bot, both always on. A yearly subscription pays for ten months of the year, which is where the yearly prices come from.

You can hold more than one unit of a plan. Two Standard units are four apps.

## Extra memory

One gigabyte is enough for most apps. When one needs more, add memory to that app from this tab: **$1 a month per gigabyte**, or $10 a year, up to **3 GB per app**. An app on a paid plan can therefore run on as much as 4 GB.

- Pick the number of gigabytes and save. The app restarts once on the new limit; your code, your environment variables and everything under `/data` stay as they are.
- Each gigabyte is assigned to one app. Lower an app and the gigabytes go back to your plan, where another app can take them at no extra cost. The card says how many you have spare.
- The gigabytes stay on your subscription until you remove them under **Billing**, so moving memory between apps never costs anything twice.
- Extra memory needs a paid plan. An app on the free plan has 256 MB and nothing to add.

## Where it stands

Four meters show the app against its limits.

- **Memory** is what the app is using of what its plan allows, with any extra gigabytes you added included in the limit. An app sitting at its limit is the first thing to check when it restarts on its own.
- **CPU** is the share of its CPU allowance the app is using.
- **Disk** is everything the app has written to its own storage, which is `/data` and the code checked out inside it.
- **Traffic today** appears on the free plan, in and out together, against the 1 GB a day the plan allows. On a paid plan there is nothing to cap, so the tab shows **Traffic, last 7 days** as a figure instead.

Readings are taken every five minutes rather than live, so a stopped or sleeping app shows its last reading and the time it was taken. Memory and CPU readings are kept for 48 hours.

Below the meters, a chart draws the app's traffic by day for the last 30 days.

## Traffic by port

Under the chart, **Traffic by port** shows where the last 7 days of traffic went.

- **Going out** lists the connections your app opens, by the port it connects to. A bot that talks to an API shows up under Web (HTTPS), one in a voice channel under Discord voice.
- **Coming in** lists the connections made to your app, by the port it listens on. Visitors to its web address appear as **Web address**.

Each way shows the eight busiest ports and one line for the rest. This is the place to look when a free app is close to its daily traffic limit and you want to know what is using it.

## Changing the plan

The owner of the app sees the next plan up, what it would change for this app, and what it costs. One button moves the app onto it.

- A bigger plan carries more apps and gives this one more disk. The memory per app is the same on all three, so more memory for one app is the extra-memory control above, not a plan move.
- If your subscription already has a spare slot of that plan, the card says so and there is no charge.
- Otherwise the price is prorated from the day you change, and the card shows the figure before you confirm.
- An app on **Pro** is on the largest plan, so the card says that instead.

The app restarts on the new plan. Your code, your environment variables and everything under `/data` stay as they are.

Team members with access to the app see the plan and the meters but no price and no button, because spending stays with the owner. See [Team sharing](/docs/discord-bot-hosting/#team-sharing).

## When a meter is nearly full

- **Memory full** usually means the app needs a gigabyte more, or has a leak. Add one from **Extra memory** on this tab. The crash doctor on the **Overview** tab names an out-of-memory restart when that is what happened.
- **Disk full** is often logs or a cache the app writes and never clears. A scheduled command can clean it up nightly; see [Scheduled commands](/docs/app-hosting/#scheduled-commands). You also get a **Disk almost full** alert if you have it switched on, which you can read about under [Alerts and activity](/docs/app-alerts/).
- **Traffic today full** on a free app stops it for 24 hours. [The free plan](/docs/app-free-plan/#the-daily-traffic-limit) covers what counts.

## Need help?

Open a ticket from the panel, or reply to any of our emails, and we will look at the app with you.
