Re: Increasing the maximum number of open files

From: Rainer Traut (rainer.traut_at_epost.de)
Date: 08/03/04

  • Next message: David: "Anti Virus Software for FC1"
    Date: Tue, 03 Aug 2004 09:09:55 +0200
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Hi,

    J.L. Coenders wrote:
    > Hi guys,
    > I have a program which tells me it needs more open files than the system can
    > handle.
    > When I do nlimit -n, it tells me I have 1024 files max. How do you increase
    > this number, permanently? I found some stuff about
    > changing /etc/security/limits.conf and /etc/pam.d/gdm and some others, but
    > that doesn't really work. It's probably some simple trick and I remember
    > something alike before, but I cannot remember how it was done.
    > I use FC2 with KDE.

    /etc/security/limits.conf is the right place:
    [root@asp5 root]# cat /etc/security/limits.conf |grep nofile
    # - nofile - max number of open files
    notes soft nofile 90000
    notes hard nofile 90000
    [root@asp5 root]# su - notes
    [notes@asp5 notes]$ ulimit -a|grep files
    open files (-n) 90000

    Rainer

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: David: "Anti Virus Software for FC1"

    Relevant Pages

    • [SOLVED] Re: Increasing the maximum number of open files
      ... > J.L. Coenders wrote: ... >> I have a program which tells me it needs more open files than the system ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: [SLE] Permission Problem
      ... The problem was the number of open files limit. ... installed as root. ... >> running the installer as root one time, ... > Linux, have limits on the number of open files. ...
      (SuSE)
    • Re: [opensuse] Re: su problem/question
      ... It is not the typical behaviour of ls: if you have access to a directory, you can list it, and the symlinks and what the symlinks point to - I think. ... What you may not be able to do is to open files in that directory. ... it seems to mean the root directory of the filesystem... ...
      (SuSE)
    • kernel option to increase max open files
      ... like these in the sendmail log: ... So I figure I need to increase the max number of open files available. ... sendmail runs as). ... a login.conf class setting assigned to root. ...
      (freebsd-questions)
    • Re: exiting chroot()
      ... > as root inside a chroot, it will escape and run a shell in the real ... It relies on the common property that open files outside the ... > new root remain open after a chroot call. ...
      (comp.unix.programmer)