Where are maxproc, etal system params under Linux?

Where are maxproc, etal system params under Linux?

Post by Marc Slayto » Thu, 19 Feb 1998 04:00:00



Sorry for that last post -
I'm using news over a very slow connection.

Anyhow - my question is this:
Suppose I'm a systems administrator and I want to increase the maximum
number of allowed user processes on a Linux server.

OR - the maximum number of system processes

OR - the maximum number of IP connections allowed.

These parameters and other typical kernel tweaking seem to be
missing from the documentation. I already know how to do this
under BSD and SysV.

Can anyone enlighten me?

BTW - I'm using RedHat 5.0, and I already know how to compile/install
Linux kernels.  I've checked the /usr/docs files, as well as browsed
through headers such as those in /usr/src/linux/include/asc/param.h ,
but can't seem to find any well-documented roadmap of these
header parameters to help.

 
 
 

1. PARAM 3/4: PARAM() support in modules.

"One-liner" to enable PARAM() support in modules.

Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

Name: Parameter Implementation for modules
Author: Rusty Russell
Status: Tested on 2.5.38
Depends: Module/param.patch.gz

D: This activates parameter parsing for PARAM() declarations in modules.

diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .31807-linux-2.5.43/kernel/module.c .31807-linux-2.5.43.updated/kernel/module.c
--- .31807-linux-2.5.43/kernel/module.c 2002-10-18 17:17:25.000000000 +1000

 #include <linux/fcntl.h>
 #include <linux/rcupdate.h>
 #include <linux/cpu.h>
+#include <linux/params.h>
 #include <asm/uaccess.h>
 #include <asm/semaphore.h>

        if (err < 0)
                goto cleanup;

-#if 0 /* Needs param support */
-       /* Size of section 0 is 0, so this works well */
+       /* Size of section 0 is 0, so this works well if no params */
        err = parse_args(mod->args,
                         (struct kernel_param *)

                         NULL);
        if (err < 0)
                goto cleanup;
-#endif

        /* Get rid of temporary copy */
        vfree(hdr);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Multiple Display

3. Solaris 2.5.1 /etc/system params

4. Mediavision Fusion CD 16

5. Solaris 2.6 /etc/system syntax for tcp_xmit_hiwat and other TCP params

6. Blocking internet addresses that children can not access with iptables

7. where are mproc, maxuser system params?

8. Suddenliy can only ping anymore

9. I am looking for IDE for Linux Developement System.

10. i am going to setup linux operating system

11. PPP leased line loopback problem, etal

12. kdm,etal

13. ufc-crypt, crack etal