8
votes
1answer
262 views

How to limit the total resources (memory) of a process and its children

There are plenty of questions and answers about constraining the resources of a single process, e.g. RLIMIT_AS can be used to constrain the maximum memory allocated by a process that can be seen as ...
3
votes
1answer
147 views

Does 'ulimit -m' not work on (modern) Linux?

This article claims that the -m flag to ulimit does nothing in modern Linux. I can find nothing else to corroborate this claim. Is it accurate? You may try to limit the memory usage of a process ...
1
vote
1answer
358 views

Worker MPM or Prefork?

I understand that there is a comparison topic between the two modules but this is different. I was contacting cPanel support in order to help me freeing up some memory usage on the VPS. They found ...
0
votes
1answer
1k views

Limit CPU and memory usage for PHP-FPM and Nginx processes in CentOS

I want to limit CPU and memory usage for PHP-FPM and Nginx processes in CentOS. I came across following tools cpulimit cggroups memory resource locater which will more efficient and how can I ...
8
votes
2answers
18k views

What do top's %MEM and VSZ mean?

I'm working on an embedded Linux system (128MB RAM) without any swap partition. Below is its top output: Mem: 37824K used, 88564K free, 0K shrd, 0K buff, 23468K cached CPU: 0% usr 0% sys 0% nic ...