Find the answer to your Linux question:
Results 1 to 4 of 4
I have a problem,please look environment: jboss + apache. system occurs "Too many files open exception" when application server run serval hours. I use "ls -l /proc/pid/fd" command view all ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    4

    Smile Too many files open!..Help

    I have a problem,please look
    environment: jboss + apache.

    system occurs "Too many files open exception" when application server run serval hours.
    I use "ls -l /proc/pid/fd" command view all fd in this java process.I found that the number of pipe is increase slowly and constantly.

    Who can tell me What mean of follow line:
    lrwx------ 1 admin admin 64 04-07 15:40 998 -> pipe:[15068198]
    lr-x------ 1 admin admin 64 04-07 14:40 999 -> eventpoll:[14775666]

    Thanks.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Well, since you haven't provided any information about your specific application that uses jboss+apache it is pretty impossible to speculate why your application is leaving pipes open. All I can suggest is that you verify that they are being closed when finished.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    4

    what mean of "lr-x------ 1 admin admin 64 Apr 6 22:20 980 -> pipe:[4319543]"

    I used "ls -l /proc/pid/fd" command.The ouput like this
    "lr-x------ 1 admin admin 64 Apr 6 22:20 980 -> pipe:[4319543]"

    what mean of [4319543] ? help......

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    All that tells us is how many pipes were left open while the server(s) were running. It doesn't help as far as knowning what is causing them to be left open.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...