FG
💻 Software

limits.conf to set memory limits

Fresh5 days ago
Mar 15, 202646297 views
Confidence Score0%
0%

Problem

I would like to limit any process from using more than 500 MB of RAM. AFAIK this is done using RSS in /etc/security/limits.conf but the process called gnome-panel apparently is using 618436 kB of VmRSS. How can this be ?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: limits.conf to set memory limits

Low Risk

Found this solution after looking here: http://shortrecipes.blogspot.de/2009/04/limitsconf-virtual-memory-limit.html For your example: This seems to be equivalient to , applied the moment you log into your account.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment