Operating System - Linux
1828226 Members
2527 Online
109975 Solutions
New Discussion

Re: linux kernel parm: max processes

 
SOLVED
Go to solution
D Block 2
Respected Contributor

linux kernel parm: max processes

Can you change max user processes on the fly using /proc ? How-To?

Also, is there a document reference that details this method and also to configure the kernel tuneables ?

Using AS 3.1
Golf is a Good Walk Spoiled, Mark Twain.
5 REPLIES 5
Huc_1
Honored Contributor
Solution

Re: linux kernel parm: max processes

To keep it short have a look at
man sysctl

J-P (Jean-Pierre)
Smile I will feel the difference
Ross Minkov
Esteemed Contributor

Re: linux kernel parm: max processes

Not sure what the variable name is, but you can view all the variables that are available to be changed, along with their current setting, using the command sysctl -a.

Don't forget that sysctl does not add changes made to the configuration file; this is left for you to do manually. If you want your changes to persist after a reboot, you must maintain this file.

Regards,
Ross
Ross Minkov
Esteemed Contributor

Re: linux kernel parm: max processes

Tom,

I forgot to mention... Check also this file:
/etc/security/limits.conf
and the ulimit command in bash

Regards,
Ross
Muthukumar_5
Honored Contributor

Re: linux kernel parm: max processes

max process can be limited / configured depends upon the user or user can change them on the correspoding shell itself.

To manage from user shell then,

ulimit -u (max user processes)

To manage as user based one then,

Try to give control to users from admin user (root) on /etc/security/limits.conf

Example:

user1 nproc

We can know the system kernel configuration's with /sbin/sysctl -a

Easy to suggest when don't know about the problem!
D Block 2
Respected Contributor

Re: linux kernel parm: max processes

ok guys, thanks.. you All are great.
Golf is a Good Walk Spoiled, Mark Twain.