Re: Too Many Open Files On System

From: Paul E Condon (pecondon_at_mesanetworks.net)
Date: 08/29/04

  • Next message: EDIECD_at_aol.com: "(no subject)"
    Date: Sat, 28 Aug 2004 20:44:13 -0600
    To: debian-user@lists.debian.org
    
    

    On Sat, Aug 28, 2004 at 10:00:35PM -0500, Ken Januski wrote:
    > Mike Ward wrote:
    >
    > >Firstly, I apologize for having no real details on this.
    > >
    > >I'm running Debian Unstable, and seemingly randomly, I'll go to run a
    > >program or save a file or what not, and I'll get an error to the
    > >effect of "too many open files on system". In one case, I rebooted to
    > >try and solve this, and within 5 minutes of starting X, it started
    > >that again.
    > >
    > >That brings me to the next part - Sometimes (often), it seems that
    > >it's a simple case of shutting down another program. In the
    > >aforementioned case, it was Internet Explorer running under Crossover
    > >Office. Another one was when "ls" returned "Segmentation Fault" while
    > >I ran "tail -f" on the apache error log. If I shut down tail, it
    > >worked fine. Started tailing again, and again "ls" would Seg Fault,
    > >but after a reboot, it's never happened again.
    > >
    > >In a bit of frustration, I didn't think to write down what file (ugh),
    > >but some commands and programs would say that a certian library
    > >couldn't be opened. That also is usually soved by shutting down a
    > >program that seemingly has nothing to do with the one that's reporting
    > >the problem.
    > >
    > >
    > >
    > >Again, I apologize for having next to no *real* information on this
    > >problem, but I will indeed post back with some now that it's become a
    > >problem rather than a minor annoyance. Any ideas are appreciated.
    > >
    > >
    > >
    > >
    >
    > I don't have an answer just a similar experience. But I did discover
    > that it was over 100 nmbd samba files, discovered through use of ps,
    > that gave me the clue.
    >
    > I never did discover what spawned all the nmbd processes. But they were
    > the source of the too many open files errors I believe. On the other
    > hand maybe i was wrong and someone will correct/enlighten me.
    >
    >

    Look at the program lsof (LiStOpenFiles). lsof lists open files and
    the processes that are holding them open. lsof output should help you
    figure out which process/program is causing the problem. I, of course,
    suspect Internet Explorer. It doesn't come from a source that I
    trust. You can install Mozilla Firefox, or Opera, which is non-free,
    on unstable. Both work fine in Sarge, which I'm using.

    -- 
    Paul E Condon           
    pecondon@mesanetworks.net
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: EDIECD_at_aol.com: "(no subject)"

    Relevant Pages

    • Re: lsof: cant figure out how to show open files
      ... Probably the issue with jfs2. ... Subject: lsof: can't figure out how to show open files ... New to AIX? ...
      (AIX-L)
    • Re: How to tell whats using sound?
      ... lsof is a program that will LiSt Open Files. ... Another option is to use System/Administration/System Monitor. ... monitor and go to Monitor/Search for Open Files. ...
      (Ubuntu)
    • Re: lsof: cant figure out how to show open files
      ... Subject: lsof: can't figure out how to show open files ... New to AIX? ... N.B. Unsolicited email from vendors will not be appreciated. ...
      (AIX-L)
    • output of du and df differ
      ... looks each file in directories and adds their sizes, ... programs running and try to restart them. ... You can try to look at lsof (lsof = LiSt of Open Files) output (lsof can be ...
      (SunManagers)
    • [HPADM] Summary: du/bdf
      ... Consensus is that open files are probably the issue. ... for the fact that lsof only shows 3 directories being "open" as cwd's. ... info which includes data areas that could be occupied if the areas ... and then bdf and du will agree. ...
      (HP-UX-Admin)