You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today mold failed to link qtwebengine from Qt6 due to too many opened files. Linking consists of more than 8400 object files, while my limit at the time was set to 8192. So it appears mold keeps descriptors to all object files at some point. Is it possible to reduce that like close descriptor after processing?
The text was updated successfully, but these errors were encountered:
We close a file as soon as we mmap(2) it. IIUC, mmaped files are not counted as opened files. My ulimit shows that the maximum number of open files for me is 1024, but mold seems to be working fine for large programs. So I guess it's not a simple ulimit error. Can you run the linker with strace to watch what system call is failing?
@rui314 you're absolutely right, mold seems to do everything correctly. Looks like it's issue with my particular setup. Raised containers/fuse-overlayfs#378 for this.
Today
mold
failed to linkqtwebengine
from Qt6 due to too many opened files. Linking consists of more than8400
object files, while my limit at the time was set to8192
. So it appearsmold
keeps descriptors to all object files at some point. Is it possible to reduce that like close descriptor after processing?The text was updated successfully, but these errors were encountered: