[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/10708] "out of file descriptors and couldn't close any" -- pro
From: |
ian at airs dot com |
Subject: |
[Bug gold/10708] "out of file descriptors and couldn't close any" -- probably fd leak |
Date: |
7 Nov 2009 02:27:49 -0000 |
------- Additional Comments From ian at airs dot com 2009-11-07 02:27 -------
I have tried to recreate this problem, but failed. As far as I can tell, gold
will react correctly to a lack of file descriptors. I will need more
information on what could be causing the issue for you.
gold will try to open as many file descriptors as it needs. If you give it
more
than 1024 input files, then it will open more than 1024 descriptors. However,
if an open fails with ENFILE or EMFILE it will close some descriptors, and will
not try to open that many again.
The error you are getting is the error that gold gives if it runs out of file
descriptors but can not find any to close. It's not reasonable that it would
need to keep 1024 descriptors open--unless perhaps you are running with a very
large number of threads. Are you passing any --thread option to gold?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=10708
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/10708] "out of file descriptors and couldn't close any" -- probably fd leak,
ian at airs dot com <=