Hide Forgot
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)