Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

urgent help required ulimit / max user processes aloowed (for a single user)

407 views
Skip to first unread message

Bruce Gillespie

unread,
Jun 4, 2001, 8:44:49 PM6/4/01
to
Hi all. I am filling in for the AIX Sysadmin while he is on a course. I
come from a SCO Unix background.

I urgently need to increase the limit on user processes for a particular
user. Can this be done, or must the setting be system wide? It seems
maxuproc has no equivalent on AIX. I have tried wandering through smit and
the man pages for ulimt with out success. Can anyone give me the syntax, or
point me in the right area, to double the number of allowable user processes
for an individual user from 512 to 1024 process?

Thanks in advance.


--
Regards,

Bruce Gillespie

brucegi...@bigpond.com


Carlo Lagaac

unread,
Jun 4, 2001, 10:15:26 PM6/4/01
to

"Bruce Gillespie" <b.gil...@patrick.com.au> wrote in message
news:9fha44$q2c$1...@merki.connect.com.au...

> the man pages for ulimt with out success. Can anyone give me the syntax,
or
> point me in the right area, to double the number of allowable user
processes
> for an individual user from 512 to 1024 process?
>
>

It's set systemwide for all users,

To list:

lsattr -El sys0

To change :

chdev -l sys0 -a maxuproc=some_number

To look at systemwide/user limits, look at the file /etc/security/limits.

Cheers,

Carlo


Richard D. Latham

unread,
Jun 4, 2001, 11:37:37 PM6/4/01
to
"Carlo Lagaac" <carlo....@ctp.com> writes:

Uh, IIRC, maxuprocs is one of those few things that require a reboot .

--
#include <disclaimer.std> /* I don't speak for IBM ... */
/* Heck, I don't even speak for myself */
/* Don't believe me ? Ask my wife :-) */
Richard D. Latham lat...@us.ibm.com

Carlo Lagaac

unread,
Jun 5, 2001, 12:22:36 AM6/5/01
to
Ummm... with maxuproc I've never had to...

ulimits if they are system wide things, then yes.

"Richard D. Latham" <lat...@us.ibm.com> wrote in message
news:ud78ji...@us.ibm.com...

Patrick Babb

unread,
Jun 5, 2001, 10:04:04 AM6/5/01
to
I thought you could set maxuproc by altering the appropriate stanza in
/etc/security/limits.

--
"Diplomacy is the art of saying 'Nice doggy,' until you can find a rock."

"Bruce Gillespie" <b.gil...@patrick.com.au> wrote in message
news:9fha44$q2c$1...@merki.connect.com.au...

Chris

unread,
Jun 5, 2001, 3:44:13 PM6/5/01
to
maxuproc is a kernel parameter, not a user/group parameter as
/etc/security/limits would imply. Changing maxuproc will indeed
require a reboot before it takes effect. It's one of the few times
that AIX requires such. Sorry. I wish there were a way around that.

Regards,
Chris


"Patrick Babb" <schul...@earthlink.net> wrote in message news:<oF5T6.13265$XN6....@newsread2.prod.itd.earthlink.net>...

sp2 admin

unread,
Jun 6, 2001, 10:43:38 AM6/6/01
to
that is certainly not true.. it does not require a reboot.

Richard D. Latham

unread,
Jun 6, 2001, 12:03:26 PM6/6/01
to
sp2 admin <sp2a...@freenet.nether.net> writes:

> that is certainly not true.. it does not require a reboot.
>
>

Hmmm, the on-line help in smit for this field (on 4.3.3 ML05, anyway),
claims that a re-boot is necessary when you lower this parameter, but
not when it is increased.


> Chris <chr...@po.wr.com> wrote:
> > maxuproc is a kernel parameter, not a user/group parameter as
> > /etc/security/limits would imply. Changing maxuproc will indeed
> > require a reboot before it takes effect. It's one of the few times
> > that AIX requires such. Sorry. I wish there were a way around that.
>
> > Regards,
> > Chris
>
>
> > "Patrick Babb" <schul...@earthlink.net> wrote in message news:<oF5T6.13265$XN6....@newsread2.prod.itd.earthlink.net>...
> >> I thought you could set maxuproc by altering the appropriate stanza in
> >> /etc/security/limits.
> >>

<snip>

sp2 admin

unread,
Jun 6, 2001, 12:46:24 PM6/6/01
to

I was actually thinking that as I typed my prior response... So, I gave
it a whirl on my machine.. It let me increase it and decrease it, and
both worked fine without a reboot...

Larry Stimely

unread,
Jun 12, 2001, 12:49:07 PM6/12/01
to
"Bruce Gillespie" <b.gil...@patrick.com.au> wrote in message news:<9fha44$q2c$1...@merki.connect.com.au>...

Yup. maxuprocs definitely requires a reboot.

Chris

unread,
Jun 15, 2001, 1:15:43 PM6/15/01
to
You can change the value up and down without rebooting, and it will
report the value you set; but it won't take effect until a boot is
performed. This statement comes from experience.

lsti...@fhhlc.com (Larry Stimely) wrote in message news:<b3939bd1.01061...@posting.google.com>...

0 new messages