Help, ulimit -n system wide

Vahric MUHTARYAN vahric at doruk.net.tr
Tue Feb 24 02:51:00 UTC 2004


Thanks Frank , 

	I solve my problem .. I added a line to sysctl.conf before but only
for soft . I have to add hard too .... 

Thanks 

-----Original Message-----
From: redhat-list-admin at redhat.com [mailto:redhat-list-admin at redhat.com] On
Behalf Of Frank Jahn
Sent: Saturday, February 21, 2004 2:26 PM
To: redhat-list at redhat.com
Subject: Re: Help, ulimit -n system wide

Hello,

add this line to your /etc/rc.d/rc.local to set the maximum open files.

This line allows 100000 open files for example:

echo "100000" > /proc/sys/fs/file-max

best regards

Frank

> Hi,  ,
>
> I want to set to all users to have max 16384 open file with ulimit -n but
> it's act only on root user ? When I login with another user name it's only
> 1024 ? I don't understand Why ? How can I set this value system wide ?!
> I used limits.conf for that users but still 1024 ....
>
>
> Thanks
> Vahric MUHTARYAN
>
>
>


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





More information about the redhat-list mailing list