Re: ulimit error while changing max files to unlimited: PAM / sshd options?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 25, 2010 at 4:19 PM, Carl T. Miller <carl@xxxxxxxxxx> wrote:
> Yes, ulimit only lets you set a number up to the hard
> limit that is set for your shell.  Both hard and soft
> limits are set to 1024 by default unless the limits.conf
> file has been configured _before_ the shell is started.

I rebooted with the changed limits.conf. Doesn't that count as
"before" the shell is started?

> I know this works with numbers, since I set hard and
> soft limits to 10240 for select users.  Try using a
> number less than the total for the system instead of
> unlimited.

You are right! It does seem to work with arbitrarily large numbers
lower than the kernel limit. But not unlimited. Strange! Is that a
bug? I thought "unlimited" was supposed to be a convenient synonym for
the kernel imposed limit.

-- 
Rahul

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux