[Centos] permanent ulimit -n on CentOS 3.4

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



make sure you increase the global kernel file limit
(/proc/sys/fs/file-max) and that you have a kernel compiled to
accept however much you need...

Cheers,
MaZe.

On Thu, 24 Feb 2005, Mike Obvious wrote:

> I did it before:
> *  soft nofile 16384
> *  hard nofile 16384
> in /etc/security/limits.conf, but it doesn't work at all - I still have
> #ulimit -n
> 1024
> #ulimit -Hn
> 1024
> 
> Any other ideas?
> 
> Mike
> 
> 
> 
> On Wed, 23 Feb 2005 22:22:13 -0500, C. Linus Hicks <lhicks@xxxxxxxxx> wrote:
> > On Wed, 2005-02-23 at 21:50 -0500, Mike Obvious wrote:
> > > Hi!
> > >
> > > Question from the novice.
> > >
> > > I have to permanently increase number of opened files ( ulimit -n 16384 and
> > > ulimit -Hn 16384) for some application.
> > > I did custom kernel based on
> > >
> > > https://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/s1-custom-kernel-modularized.html
> > >
> > > and application documentation ( written for RH 9), no error during all makes
> > > but I have panic during the boot. ( It's Dell SC1425, dual CPU, 2GB RAM,
> > > i686-based kernel).
> > >
> > > Is there any other way to do it ?
> > 
> > Look in /etc/security/limits.conf
> > 
> > --
> > C. Linus Hicks <lhicks at nc dot rr dot com>
> > 
> > _______________________________________________
> > CentOS mailing list
> > CentOS@xxxxxxxxxxx
> > http://lists.caosity.org/mailman/listinfo/centos
> >
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxxx
> http://lists.caosity.org/mailman/listinfo/centos
> 

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux