Bug 745672

Summary: Too many open files from .treeinfo.lock files
Product: [Retired] Grinder Reporter: John Matthews <jmatthew>
Component: coreAssignee: John Matthews <jmatthew>
Status: CLOSED EOL QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
lsof a few mins before loop of grinder syncs failed with Too Many Open Files none

Description John Matthews 2011-10-13 01:27:39 UTC
Created attachment 527812 [details]
lsof a few mins before loop of grinder syncs failed with Too Many Open Files

Description of problem:
Running loops of sync tests for RHUI.
After almost 500 loops I typically see:  "Too Many Open Files"

Version-Release number of selected component (if applicable):
grinder-0.0.118-1.el6.noarch


How reproducible:
Running script from Pulp
playpen/grinder/mirror_pulp/grinder_reproducer_noprofiler.py
 Syncing with a Protected Repo from CDN that has a kickstart tree


$ grep treeinfo lsof_output | wc -l
1018



Example from lsof

python    15089    root 1010uW     REG            202,208          6    1278447 /mnt/jwm/grinder/mirror_pulp/repos/rhui-5-mrg-g-2.0-debug-5.7-i386/rhui-5-mrg-g-2.0-debug-5.7-i386/treeinfo.lock
python    15089    root 1011uW     REG            202,208          6    1278437 /mnt/jwm/grinder/mirror_pulp/repos/rhui-5-mrg-g-2.0-debug-5.7-i386/rhui-5-mrg-g-2.0-debug-5.7-i386/.treeinfo.lock (deleted)
python    15089    root 1012uW     REG            202,208          6    3155520 /mnt/jwm/grinder/mirror_pulp/repos/rhel-server-6-optional-srpms-6.0-x86_64/rhel-server-6-optional-srpms-6.0-x86_64/treeinfo.lock (deleted)
python    15089    root 1013uW     REG            202,208          6     411219 /mnt/jwm/grinder/mirror_pulp/repos/rhel-server-6-srpms-6.1-i386/rhel-server-6-srpms-6.1-i386/.treeinfo.lock (deleted)
python    15089    root 1014uW     REG            202,208          6    1278438 /mnt/jwm/grinder/mirror_pulp/repos/rhui-5-mrg-g-2.0-debug-5.7-x86_64/rhui-5-mrg-g-2.0-debug-5.7-x86_64/.treeinfo.lock
python    15089    root 1015uW     REG            202,208          6    3155519 /mnt/jwm/grinder/mirror_pulp/repos/rhel-server-6-optional-srpms-6.0-x86_64/rhel-server-6-optional-srpms-6.0-x86_64/.treeinfo.lock (deleted)