LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2011, 04:41 AM   #1
unifiedquarks
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Rep: Reputation: 0
Limits on memory usage


we have SL5.5 on our computing nodes.

Sometimes, users runs too many computations, and servers become unreachable due to lack of enough memory.

I want to restrict total memory usage of users to a little bit lower value of physical memory, so under all circumstances the servers will have enough memory to run system services.

I tried to limit several parameters in limits.conf file. But they didn't work.

How can I limit total memory usage of users?
 
Old 08-18-2011, 07:52 AM   #2
lystor
Member
 
Registered: May 2010
Location: Ukraine, Donetsk
Posts: 43

Rep: Reputation: 3
Quote:
Originally Posted by unifiedquarks View Post
we have SL5.5 on our computing nodes.

Sometimes, users runs too many computations, and servers become unreachable due to lack of enough memory.

I want to restrict total memory usage of users to a little bit lower value of physical memory, so under all circumstances the servers will have enough memory to run system services.

I tried to limit several parameters in limits.conf file. But they didn't work.

How can I limit total memory usage of users?
Hi
PAM module pam_limits with configuration file
/etc/security/limits.conf works for me.

Limits are implemented per-login, not globally.
 
Old 08-18-2011, 10:05 AM   #3
unifiedquarks
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
I need global settings.

While I searching on google, I found something related with "cgroups". That may be a solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X hangs after prolonged usage ... memory usage goes upto 195MB duryodhan Slackware 18 05-10-2007 07:16 PM
limits on memory resource bayram Linux - General 3 12-14-2006 12:32 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 09:43 PM
monitor java thread usage against o/s limits rlangsto Linux - General 1 02-11-2005 01:20 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 05:45 AM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration