Bug 142400 (IT_56694) - 'too many open files' by LVM commands
Summary: 'too many open files' by LVM commands
Keywords:
Status: CLOSED ERRATA
Alias: IT_56694
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: lvm2
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Alasdair Kergon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 143501
TreeView+ depends on / blocked
 
Reported: 2004-12-09 15:32 UTC by Issue Tracker
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHBA-2005-192
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-23 16:54:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:192 0 low SHIPPED_LIVE lvm2 bug fix and enhancement update 2005-06-09 04:00:00 UTC

Comment 1 JoAnne K. Halligan 2004-12-09 15:33:15 UTC
 Version-Release number of selected component (if applicable):
  lvm2-2.00.29-1.3.RHEL4

How reproducible:
  Always

Steps to Reproduce:
  1. vgdisplay on many disks (~1000)

Actual results:
  /dev/sdafz: open filed Too many open files
  ...

Expected results:
  No warnings.

Additional info:
  Increasing the maximum number of open files by ulimit can work around this
problem.


Comment 8 Alasdair Kergon 2005-03-23 16:51:22 UTC
I believe this got fixed long ago - I can't reproduce any problem like this now.
If someone provides me with enough disks I can test the precise case:-)

Note that you still need 1 file descriptor per metadata area in a volume group.
So if you had 1000 PVs in a single VG and used default settings (which would be
a rather stupid thing to do - you really don't want to maintain 999 backup
copies of your metadata - see 'man pvcreate'!) - you'd need a few more than 1000
file descriptors.

Comment 9 Tim Powers 2005-06-09 12:29:58 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/RHBA-2005-192.html



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