Please try using /etc/security/limits.conf nofile is no of open files.
------------------------------- * soft nofile 16384 * hard nofile 65536 ------------------------------- Thanks "frank nerkt" <[EMAIL PROTECTED]> wrote: >i have checked this file. there is a line fs.file-max = 20000. when i do a >sysctl -a it also shows 20000. but when i do ulimit -a there is still 1024. > >----- Original Message ----- >From: "Ramesh Babu" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Sunday, January 26, 2003 1:23 PM >Subject: RE: file descriptors > > >> >> You can set the value in /etc/sysctl.conf as >> fs.file-max = 20000 >> >> >> "frank nerkt" <[EMAIL PROTECTED]> wrote: >> >> >hi everybody, >> > >> >i run redhat 7.2 and want to increase to maximum file descriptors but got >> >two problems: >> > >> >1st: >> >when i log in with root and changed with ulimit -Hn 20000 and ulimit -n >2000 >> >everything is ok. ulimit -a shows correct 20000. but when i log out and >in >> >again there were again only 1024 file descriptors. how can is set this >> >permanent? >> > >> >2nd: >> >how can is set the limit for the users on this machine. when a users >tries >> >to do ulimit -Hn 20000 he gets permission denies even when he is in the >root >> >group. >> > >> >i hope you can help me. >> > >> >thx >> >frank >> > >> > >> > >> >-- >> >redhat-list mailing list >> >unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe >> >https://listman.redhat.com/mailman/listinfo/redhat-list >> > >> >> __________________________________________________________________ >> The NEW Netscape 7.0 browser is now available. Upgrade now! >http://channels.netscape.com/ns/browsers/download.jsp >> >> Get your own FREE, personal Netscape Mail account today at >http://webmail.netscape.com/ >> >> >> >> -- >> redhat-list mailing list >> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe >> https://listman.redhat.com/mailman/listinfo/redhat-list >> > > > >-- >redhat-list mailing list >unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe >https://listman.redhat.com/mailman/listinfo/redhat-list > __________________________________________________________________ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list