# Issues and notifications

> Visor opens an issue when a supervisord process can’t start (FATAL), exits unexpectedly or keeps restarting, and notifies you about the configs you watch.

Source: https://getvisor.dev/docs/issues/
Author: Touhidur Rahman (https://touhidurabir.github.io/)

An issue opens when a process can’t start, exits when it shouldn’t, or keeps restarting, and when supervisord stops answering. Visor records every issue. It sends notifications only for the configs you watch.

## Kinds of issue

Kinds of issue:

| Kind | Opens when | Closes |
| --- | --- | --- |
| **Can’t start** | A process reaches FATAL: supervisord gave up starting it. It won’t start again by itself, even with `autorestart=true`. | By itself, once the process has stayed running for a minute. |
| **Exited unexpectedly** | A process exits with a code its config doesn’t expect. A planned exit, such as a queue worker reaching its `--max-time`, opens nothing. | When you resolve it, or when its program is removed. |
| **Crash loop** | supervisord restarts a process again and again: 5 times within 10 minutes by default. | When you resolve it, or when its program is removed. |
| **supervisord unreachable** | Two checks in a row get no answer, or supervisord turns down the password. On a server whose SSH connection dropped, it says *Can’t reach the server over SSH* instead. | When supervisord answers again. |

Changes you make through Visor don’t open issues: a stop you asked for isn’t a crash. Starting a broken program still opens one.

Each [server](https://getvisor.dev/docs/remote-servers/) tab has its own Issues page. When its connection comes back, the notification list says *Reconnected to the server*, with how long it was down.

## The Issues page

Open it from the sidebar or with ⌘2. **Open**, **Resolved** and **All** split the list. Each issue shows its kind, what happened, when it started, how long it lasted and its status:

- *Open*, *Open · notified* or *Open · not watched*
- *Resolved by itself*
- *Marked resolved by you*
- *Dismissed*

![The Issues page on its Open tab, listing a crash loop, an unexpected exit and two can’t-start issues, each with its process, when it started and its status](https://getvisor.dev/docs/shots/issues-light.webp)

Search, filter by kind and date (last 24 hours, 7 days, 30 days or a custom range), or tick **Notified only**. **Logs** opens the process’s log. **Resolve** closes an issue, and Visor won’t reopen it for the same failure. Resolved issues can be deleted.

The **supervisord log** tab shows supervisord’s own log. Resolved issues are kept for 90 days by default.

## Watching a config

Every config file has a **Watch** bell: in the dashboard’s Watch column, on its page and in the menu-bar popover. Click it to switch. New configs are watched.

- **Watching** (a filled bell): Visor notifies you when a process in this file fails.
- **Not watching** (a crossed-out bell in the popover, an empty one on the dashboard): Visor stays quiet about this file. Its issues are still recorded.

supervisord not answering is about every config, so it notifies you whatever you watch.

## Notifications

A notification names the process and what happened: *mailer can’t start*, *mailer exited unexpectedly*, *mailer keeps restarting* or *supervisord isn’t responding*. When supervisord turns down the password, it says *supervisord wants a password*; when a server’s SSH connection dropped, *Can’t reach the server over SSH*. A severity mark comes first. The line under it gives the config file and the reason, for a repeat with a count such as *the 3rd time in 10 minutes*.

Visor shows at most one banner a minute for the same process and kind, so a flapping process doesn’t flood you. Every notification also goes into Visor’s own list: the bell in the sidebar and the popover, with **Unread**, **All** and **Mark all as read**.

Notifications from a server name it, and clicking one opens its tab.

Changes made outside Visor, such as a restart from `supervisorctl` or a deploy script, notify you too, grouped, and each kind can be muted. See [Activity](https://getvisor.dev/docs/activity/#notifications-for-outside-changes).

In [Settings](https://getvisor.dev/docs/settings/), **Send notifications** turns them all off, and four boxes pick the kinds: a process can’t start, exits unexpectedly, keeps restarting, or supervisord stops responding. macOS asks for permission the first time Visor runs.

## Crash loops

A crash loop is a process that keeps dying and coming back. Visor counts the restarts supervisord makes on its own, and opens an issue after 5 within 10 minutes. Change both numbers under **Open a crash-loop issue after** in Settings: from 2 to 100 restarts, within 1 minute to 24 hours.

Restarts you ask for don’t count, and neither do restarts after someone stops a process on purpose with supervisorctl. While the loop goes on, the same issue counts each new restart instead of opening another.

To find out why a program won’t start, see [Troubleshooting](https://getvisor.dev/docs/troubleshooting/).