LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-30-2003, 10:42 PM   #1
amitkush
Member
 
Registered: Jun 2003
Location: Roorkee, Uttrakhand, India
Distribution: RedHat, Ubuntu
Posts: 47

Rep: Reputation: 15
Unhappy limiting cpu and memory usage by user process


Hello everyone!
I have a problem with my RedHat Linux 8.0 system. How can I limit the CPU and memory usage by the user processes. Can I define the maximum amount of memory (RAM) usage by the usage process, some of which consume too much of memory and thus leads to blockage of all resources for other users.
Thanks to all in advance.
 
Old 07-02-2003, 06:31 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Did you look into ulimit?
 
Old 07-04-2003, 12:21 AM   #3
amitkush
Member
 
Registered: Jun 2003
Location: Roorkee, Uttrakhand, India
Distribution: RedHat, Ubuntu
Posts: 47

Original Poster
Rep: Reputation: 15
Hi!
Tried ulimit...thought it would work.
But unfortunately....the problem is still there. still some of the the user processes are consuming too much of memory. I tried to limit the memory consumption by using ulimit to maximum 10MB for each user.
Any other suggestions please.....how do I control them.

Last edited by amitkush; 07-07-2003 at 08:00 AM.
 
  


Reply



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
Limiting a process CPU usage therandomthing Linux - Software 1 06-07-2005 09:00 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
Controlling user memory/cpu usage JamesF1 Linux - General 0 10-19-2004 01:41 AM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Limiting memory use by a process fpmc Programming 14 06-26-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:20 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
Open Source Consulting | Domain Registration