Check traffic by user and limit him

MindServer

Well-Known Member
Mar 18, 2020
246
32
28
Spain
cPanel Access Level
Root Administrator
Hi,

In our servers have many users, and we need know which webs or cPanel's users are consuming more resources.

We can check table with resources by user or traffic by user?. We can limit simultaneous visits?.

Thank you very much.
 

Remitur

Active Member
Jan 17, 2018
35
3
8
Ljubljana
cPanel Access Level
Root Administrator
You need to configure LVE, and then set the resource limit for a certain package/user

Then CloudLinux will do the magic, suspending any user who exceeds the allowed resources (memory, CPU, number of processes, IOPS etc.)
 

MindServer

Well-Known Member
Mar 18, 2020
246
32
28
Spain
cPanel Access Level
Root Administrator
You need to configure LVE, and then set the resource limit for a certain package/user

Then CloudLinux will do the magic, suspending any user who exceeds the allowed resources (memory, CPU, number of processes, IOPS etc.)
Thank you very much, this is that i need.

Have nice day.
 

MindServer

Well-Known Member
Mar 18, 2020
246
32
28
Spain
cPanel Access Level
Root Administrator
Hi,

Other question, we have an old domain who not have web (all content are deleted). But this is primary domain in account, and still receive traffic and consuming resources.

How i can block traffic in this domain?. Only this domain, not other domain in same account.

Thank you very much.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
There a few ways you could do this, probably the most optimal way would be to redirect it to another site.

You can also outright block all traffic to it in the .htaccess but this would also block traffic to any domain listed in the same document root. If the other domains have their document root outside the documentroot, they'd be fine.