Thread: Per-user process limit: ulimit -u unlimited, how to set it for certain users

Per-user process limit: ulimit -u unlimited, how to set it for certain users

From
"Dan Browning"
Date:
I'm having no problem setting the max per-user process limit for root,
using...
    ulimit -u unlimited

and I check that it works with
    ulimit -a

But for other certain users that also need unlimited processes, such as the
interchange user, when I run
    ulimit -u unlimited
It doesn't report any errors, but

    ulimit -a
still reports that my per-user limit is 256.

So how do I increase the limit for certain users (besides root)?  Such as
postgres, interchange, etc.  Or what about increasing the limit for ALL
users on a system?

Thanks,

Dan Browning
Network & Database Administrator
Cyclone Computer Systems


RE: Per-user process limit: ulimit -u unlimited, how to set it for certain users

From
"Dan Browning"
Date:
SOLVED.

Thanks to Steve Borho [steve@borho.org], I found the
/etc/security/limit.conf file in my rh62 box, where I could set all the
limits in a per-user or per-group basis.

> -----Original Message-----
> From: Dan Browning [mailto:danb@cyclonecomputers.com]
> Sent: Tuesday, September 12, 2000 4:05 PM
> To: 'redhat-list@redhat.com'; 'interchnage-users@minivend.com';
> 'minivend-users@minivend.com'; 'pgsql-novice@postgresql.org'
> Subject: Per-user process limit: ulimit -u unlimited, how to
> set it for
> certain users
>
>
> I'm having no problem setting the max per-user process limit
> for root, using...
>     ulimit -u unlimited
>
> and I check that it works with
>     ulimit -a
>
> But for other certain users that also need unlimited
> processes, such as the interchange user, when I run
>     ulimit -u unlimited
> It doesn't report any errors, but
>
>     ulimit -a
> still reports that my per-user limit is 256.
>
> So how do I increase the limit for certain users (besides
> root)?  Such as postgres, interchange, etc.  Or what about
> increasing the limit for ALL users on a system?
>
> Thanks,
>
> Dan Browning
> Network & Database Administrator
> Cyclone Computer Systems
>