Question

Droplet extremely slow same time every evening

Posted March 29, 2020 500 views
DigitalOcean

My droplet has been working perfectly for about 5 months since creation.
For 3 days now however, every evening from about 6pm onwards, its data transfer speed slows to a crawl. I mean, 30 to 50KB/s max.
I have a few OneDrives mounted via rclone, and a local NAS mounted via CIFS. Read/copy speeds from these sources are extremely slow in the evenings, and normal (=fast) in the mornings and afternoons till 6pm.

Uploading via SFTP is also equally slow in that time range every evening.

There has been no config change or anything else I can think of. The problem disappears in the morning (not sure what time but it works fine when I get up and use it at around 8am).

Any idea what might be causing this?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hello,

It sounds like that there are some processes or jobs running at that very time which could be causing the problem for you.

Have you tried accessing the Droplet during this time via SSH and checking the processes? You can do that by following the steps here.

To touch upon what @ServerEnthusiast, it could be due to traffic since an evening would be the most visited time of your application.

Another thing I can think of would be some cron job or something similar. Having said that I would also suggest to SSH to your Droplet during that time and try to debug the situation.

Here is what always tell people when they need to debug:

Have you tried checking the running processes on your droplet and also to monitor the server’s performance using top or htop ?

I will recommend you to check the currently running processes and see if the server is not under some high load or just some processes consuming more of the CPUs or the available RAM.

One of the most common tools for checking the resource utilization of processes is “top”. Top provides a simple, real-time table of your processes, with the largest consumers on top. The top portion has some system statistics, including load averages for the past minute, 5 minutes, and 15 minutes. It also shows memory and swap usage, and the count of various process states.

Although “top” is included in almost every distribution by default, an improved version, called “htop” is available for download from most repositories. Running htop, we can see that it has a similar output, but is colorized, and is more interactive.

You can check our existing tutorial on how to use top, netstat, du, & other tools to monitor server resources here:

https://www.digitalocean.com/community/tutorials/how-to-use-top-netstat-du-other-tools-to-monitor-server-resources#process

by Justin Ellingwood
Monitoring a server's resources is an important task for every administrator. There are many command line tools made for this purpose. This guide will cover some of the more popular utilities for monitoring your VPS.