[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] maximum number of user process
On Wed, Dec 15, 1999 at 04:07:54PM +0530, linuxfan@xxxxxxxxxxx wrote:
>
> I am having the default installation of RH 6.1
> is there any way to find out that
> 1)how many processes can the there for the user maximum.
In Linux 2.3.x:
max_threads = memsize / THREAD_SIZE / 2;
Earlier, it used to be a compile time constant.
$ grep NR_TASKS /usr/include/linux/tasks.h
#define NR_TASKS 2560 /* On x86 Max 4092, or 4090 w/APM configured. */
> 2)can that be changed without building the kernel ?
No.
> 3)which way the upper limit can be put on the number of process the user
> is owning.
> 4) Can the process be restricted in terms of the memory size on the
> process.
man setrlimit.
-Arun
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.