Bug 142400 (IT_56694)

Summary: 'too many open files' by LVM commands
Product: Red Hat Enterprise Linux 4 Reporter: Issue Tracker <tao>
Component: lvm2Assignee: Alasdair Kergon <agk>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: halligan, jturner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2005-192 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-23 16:54:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 143501    

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