[clug] Open File Limit (ulimit)
Chanop Silpa-Anan
chanop at thai.anu.edu.au
Wed Jun 2 08:12:34 GMT 2004
Justin,
If your system use pam make sure that the process `login' for example
does read pam_limits.so; look for /etc/pam.d/login on debian.
Chanop
On a good day of Tue, Jun 01, 2004 at 03:38:36PM +1000, Doychi wrote
> Hi All,
>
> I seem to have a problem changing the number of open files a user can have. I
> want to set it above the 1024 for an application I am running. When I modify
> the file /etc/security/limits.conf so that the user "verity" has the lines
> something like this:
>
> verity soft nofile 10000
> verity hard nofile 20000
>
> But when I login again and try to use ulimit as the user I get the error:
>
> bash: ulimit: cannot modify open files limit: Operation not permitted
>
> or
>
> bash: ulimit: cannot modify open files limit: Invalid argument
>
> Does any one have any suggestions as to what I might be doing wrong?
>
> Thanks,
--
#########################################
#Chanop Silpa-Anan #
#gpg @ http://thai.anu.edu.au/chanop.asc#
#########################################
More information about the linux
mailing list