Author Topic: Configure user resources  (Read 249 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Configure user resources
« on: June 15, 2024, 06:26:54 PM »
Greetings .

When a user executes a process that demands a lot of resources, the entire VPS crashes, is there a way to limit the resources of the users? Memory, for example, that does not take up all of the server's memory.

Offline
*****
Re: Configure user resources
« Reply #1 on: June 15, 2024, 11:41:40 PM »
Generally, that is the point of "Packages" -- setting resource limits for users, but mostly in the sense of disk space, mail & FTP accounts, DBs. If you are running PHP-FPM (or any PHP version, really) -- each PHP version can have a memory limit. Also look into cgroups:
https://www.youtube.com/watch?v=ocgRqy9whtg