Bug 166524 - Erratic behaviour when system fd limit reached
Summary: Erratic behaviour when system fd limit reached
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Peter Staubach
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 168429
TreeView+ depends on / blocked
 
Reported: 2005-08-22 20:28 UTC by Peter Staubach
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHSA-2006-0132
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-07 19:36:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch (1.92 KB, patch)
2005-08-26 14:18 UTC, Peter Staubach
no flags Details | Diff
Proposed patch (1.89 KB, patch)
2005-09-20 12:53 UTC, Peter Staubach
no flags Details | Diff
Proposed patch (1.89 KB, patch)
2005-11-18 19:42 UTC, Peter Staubach
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:808 0 normal SHIPPED_LIVE Important: kernel security update 2005-10-27 04:00:00 UTC
Red Hat Product Errata RHSA-2006:0132 0 qe-ready SHIPPED_LIVE Moderate: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 3 2006-03-09 16:31:00 UTC

Description Peter Staubach 2005-08-22 20:28:35 UTC
+++ This bug was initially created as a clone of Bug #166364 +++

Escalated to Bugzilla from IssueTracker

Comment 1 Peter Staubach 2005-08-26 14:18:46 UTC
Created attachment 118156 [details]
Proposed patch

Comment 2 Peter Staubach 2005-08-26 14:36:51 UTC
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.

Comment 3 Peter Staubach 2005-09-20 12:53:52 UTC
Created attachment 119024 [details]
Proposed patch

Comment 4 Peter Staubach 2005-11-18 19:42:37 UTC
Created attachment 121242 [details]
Proposed patch

The previous proposed patch was incomplete.

Comment 8 Red Hat Bugzilla 2006-03-07 19:36:35 UTC
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.

http://rhn.redhat.com/errata/RHSA-2006-0132.html



Note You need to log in before you can comment on or make changes to this bug.