SUMMARY: raising ulimit

From: Andy Cohen <acohen_at_cognex.com>
Date: Mon, 10 Apr 2000 15:08:05 -0400

Sorry for the delay in summarizing -- too many fires, too little time.

My original question was:

I'd like to permanently raise the following ulimit setting:

data(kbytes) 131072

I see how I can raise it just for the session but I'd like to make it
permanent and I can't see how to do that from the man page.

The answer was either of two ways:

1) add the command to .profile or .login:

        ulimit -d new_parameter_size as in ulimit -d 524288

or

2) change the system setting via sysconfigtab or dxkerneltuner

Run /usr/bin/X11/dxkerneltuner. Select the proc subsystem, then change the
value for per-proc-data-size. When you exit click on the button indicating
you want to make the changes permanent. This modifies your /etc/sysconfigtab
file to contain the appropriate entry. the next time you reboot the value
gets set on bootup in the kernel.

and

        The relevant kernel parameter that controls the default
        datasize limit is "per-proc-data-size". I've found that
        dxkerneltuner is the easiest way to make parameter
        changes, but see what the sysconfig(8) manual page has
        to say as well. The system management guide that discusses
        kernel tuning probably always say how to change these
        parameters. If you don't have a printed copy, there is
        an online copy on the documentation CDROM.

A reboot is required for option 2.

Thanks everyone!

Andy
Received on Mon Apr 10 2000 - 18:59:48 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT