Bug 1134316
Summary: | [SNAPSHOT]: snapshot create fails with error in log "Failed to open directory <xyz>, due to many open files" | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
Component: | snapshot | Assignee: | Vijaikumar Mallikarjuna <vmallika> | |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.0 | CC: | nsathyan, rhinduja, rhs-bugs, smohan, ssamanta, storage-qa-internal, vmallika | |
Target Milestone: | --- | |||
Target Release: | RHGS 3.0.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | SNAPSHOT | |||
Fixed In Version: | glusterfs-3.6.0.28-1 | Doc Type: | Bug Fix | |
Doc Text: |
Default 'open fd limit' which is 1024 is not sufficient and only ~500 bricks can connect to glusterd with 2 socket connections for each brick.
Now the limit is increased to 65536, with this glusterd can connect upto 32768 bricks
|
Story Points: | --- | |
Clone Of: | ||||
: | 1136352 (view as bug list) | Environment: | ||
Last Closed: | 2014-09-22 19:45:40 UTC | Type: | Bug | |
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: | 1136352, 1145095 |
Description
Rahul Hinduja
2014-08-27 09:39:33 UTC
Can you please check open file limit on the machine with the below command. I think it is running out of the 'open files limit' where so many bricks are running from 450+ snapshots might have opened some files. 'ulimit -n' Also please can you please provide output of 'lsof'? Tested on dev machines but not able to reproduce the problem. Requested QE to reproduce the problem again so that it can be investigated further. This issue is not specific to a snapshot. Default 'open FD limit' is 1024. As the number of volumes/bricks increases, brick-to-glusterd socket FDs also increases in glusterd and runs out of the limit. Solution is to set the 'Open FD' limit to higher value in glusterd Patch submitted: https://code.engineering.redhat.com/gerrit/#/c/31894/ After discussing with Engineering Leads approving this to be in Denali(RHS3.0). Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-1278.html |