Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-14-2010, 01:34 PM   #1
LQ Newbie
Registered: Jan 2007
Location: athens greece
Distribution: fedora core 6
Posts: 5

Rep: Reputation: 0
Process shell limitation

I need when i am creating a shell account to my user to limit him the amount of the processes he can run , so if i wanna to give 5 process as max for this shell account i know i must go in limits.conf and add the user nproc 5 but this creating a problem because also when he is log in is getting 1 process the bash or sh so for him if i need 5 process starting from a number of 10 +5 or i must calculate with other way ?
Old 07-14-2010, 04:14 PM   #2
Registered: Oct 2003
Location: Bath UK
Distribution: RedHat 7,9 RHEL 2.1-4 Suse 9.1, 9.2, Ubuntu, Centos 3-4, Fedora 3-5
Posts: 44

Rep: Reputation: 15
hi ysar68,

if you use Fedora (and possible also RedHat/CentOS) have a look at /etc/security/limits.conf

there is also a command line function ulimit - the man page for ulimit has a few options worth exploring.




process, shell

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
Shell script for reading a particular process contineously from process table vinaykori Linux - General 2 05-29-2009 06:52 AM
How can I get the "Per process memory limitation" for 64-bit system? kauuttt Linux - Kernel 4 02-26-2009 08:50 AM
Shell Script : Kill a running process when another process starts ashmew2 Linux - General 3 08-20-2008 03:47 AM
Limitation of process memeory consumption on Linux james_chao_2000 Programming 16 03-20-2006 02:45 AM
Memory limitation for user process SwannAnderson Linux - Software 1 10-02-2005 08:12 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:55 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