Red Hat Bugzilla – Bug 166524
Erratic behaviour when system fd limit reached
Last modified: 2007-11-30 17:07:19 EST
+++ This bug was initially created as a clone of Bug #166364 +++
Escalated to Bugzilla from IssueTracker
Created attachment 118156 [details]
The problem is the ordering of creating the entry in the directory and
allocating the file struct to reference the file. The file struct was
getting allocated second, but should be allocated before the directory
entry is created. Thus, if the allocation fails, then the error can be
returned without creating the directory entry.
Created attachment 119024 [details]
Created attachment 121242 [details]
The previous proposed patch was incomplete.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.