Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-04-2008, 12:18 PM   #1
LQ Newbie
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
how to use ulimit to control processes?

I set max process with "ulimit -u 300" on command line but it didnt work. I still can see over 300 tasks(around 1200 tasks) when i use top. Any idea?
Old 04-04-2008, 05:47 PM   #2
Senior Member
Registered: Sep 2005
Location: Russia
Distribution: NixOS (
Posts: 1,899

Rep: Reputation: 68
ulimit limits only the total parameters of process tree with root node in the shell where you run it. Already running processes and processes that are not descendants of current shell are not affected.


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
A question about processes, threads and control lumix Linux - General 8 10-29-2007 10:29 PM
Limitations of System Processes and Oracle Processes in RHEL AS3.0 sathyguy Linux - Enterprise 0 03-03-2007 12:52 AM
Control over parent of processes? Sinope Linux - General 0 09-27-2004 01:20 AM
Looking for the file that control what processes are loaded! sjia Linux - Software 1 04-08-2004 01:21 AM
FPU and SSE control word and processes proberts9999 Linux - General 0 08-20-2003 11:03 PM

All times are GMT -5. The time now is 02:03 PM.

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