Skip to main content

SSH Troubleshooting Information

Connection Timed Out

The SSH connection will start timing out after you have had multiple failed login attempts. This is a soft-ban which only lasts for 10 minutes. In this case, please change your SSH password from the Control Panel and wait for 10 minutes. Then, try to login via SSH using the newly set password. Note that, attempting to login even with the correct password when you are soft-banned will just get your IP banned again for 10 minutes. Therefore, it is important to wait for 10 minutes.

How to check high disk IO utilization?

If your apps are slow and your slot is running sluggish, this is the most common cause.

Any file access on the disk creates io load on the HDD, either by you or other users in the node. This is not an issue with the NVME slots due to their breakneck IO speeds.

Typical applications that do this include the following:

  • Torrent clients checking torrents.
  • A very active torrent.
  • Unpacking files
  • Constant rclone operations to and from providers
  • Usenet operations (Unpacking, Downloading, Repairing, etc.)

Execute this command in your shell terminal and pay attention to the last column %util.

iostat -xk 2 $(findmnt -T ~ | awk 'END {print $2}')

If this is 100% after a few minutes, the disk is entirely saturated, affecting performance. We recommend curbing your settings in your installed applications to prevent this.

If you're doing none of the above, you may need to submit a ticket.

Check IO utilization per individual process:

If you suspect that you are the reason for the high IO utilization, you need to find out which process is the culprit. There are two ways you can investigate this.

  • Execute htop
  • Press F2 for access to settings
  • Navigate to Columns
  • Add IO_RATE
  • Press Escape to exit settings

You should now see the newly added IO_RATE column when you view your process list in htop. Take note of the IO transfer rates, and then exit htop by pressing F10.

Besides using htop, you can also use pidstat to see the IO utilization per individual process. Simply execute the following command: pidstat -dl 2

How to clear up disk space or move data from my slot?

The easiest way to manage any data is by using your favorite S/FTP client. Filezilla is the most popular choice. We recommend using SFTP as your connection of choice because it is more flexible on which folders to manage. You can also drag and drop with an S/FTP client, which makes it incredibly useful as a whole. The downside of this is that it takes time for the client to process your moves. Our help guide for S/FTP is available here.

However, the fastest way is by using SSH, but this might be intimidating for inexperienced users. For starters, you can use Midnight Commander, which is a graphical user interface file manager in your slot. It can be started by executing mc in your shell. You can also read our basic Linux cheat sheet here.

Why am I unable to connect with SSH, and why is there an error "Resource Temporarily Unavailable"?

In most cases, this is your total proclimit being saturated. We implement resource limits in each slot to ensure fair resource usage on all users. Usually, apps like rclone or syncthing are responsible due to hundreds of worker threads spawned by the application. In most cases, restarting your applications before logging into SSH again should fix the issue. If it does not work, you may need to submit a ticket.

Some of my files have duplicates in ~/files or ~/Downloads directory and ~/media directory. Are they using double disk space?

If you're using Radarr/Sonarr/Sickchill/CouchPotato/Medusa etc., they should not be taking any additional space. By default, these applications create a hardlink of the file to the default root directory of your application. A hard link can be described as a single file located at two different paths but pointing at the same block of data on the disk. Think of it as two signposts from other streets that direct you to the same destination. Hardlinks do not take any extra space. You can compare the inode numbers for both files from the Terminal (SSH Access) with ls -I on both files'. The inode number will be the same.

You can read more about Hard Links here: https://en.wikipedia.org/wiki/Hardlink.