How does the bandwidth work?

Post Reply
Ominae
Posts: 19
Joined: Fri Jul 10, 2020 4:30 am

Hi dpeca, thanks for the great job you do alone!
This topic is not a problem, it is only a doubt

I have a question about how to control Bandwidth traffic, I usually have a user in VESTACP who consumes more Bandwidth than what is established in the plan and his user and his domain are never automatically suspended by VESTACP.

In MYVESTA is there an automatic mechanism that suspends the user's account when it exceeds the fixed Bandwidth?

On both machines I installed: Debian, NGINX, PHPFPM and File System Quota
Thanks!
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Bandwidth is calculated from the
/var/log/apache2/domains/*.bytes log files (on apache-based installations)
or
/var/log/nginx/domains/*.bytes log files (on nginx-based installations)

I'm pretty sure that code (that will suspend domain if bandwidth is exceeded) does not exists.
you can only write it by yourself :/
Post Reply