Bug 982833
| Summary: | Dangling files (anon_inodes) after creating, syncing, and deleting repos | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Justin Sherrill <jsherril> | ||||||||
| Component: | API/integration | Assignee: | Jason Connor <jconnor> | ||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Preethi Thomas <pthomas> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | 2.2 Beta | CC: | daviddavis, ddavis, mhrivnak, mmccune | ||||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-07-10 13:25:04 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: | 950743 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Justin Sherrill
2013-07-10 01:47:24 UTC
Created attachment 771319 [details]
Script to reproduce the issue
Note that this was seen on RHEL 6 (not sure about f18). Example output of script:
[ OK ]
[jlsherri@abed runcible]$ ./test.sh
create: 1035 - 20
Successfully created repository [FOO-16440-1]
sync: 1037 - 22
delete: 1041 - 25
create: 1042 - 26
Successfully created repository [FOO-16440-2]
sync: 1043 - 27
delete: 1045 - 29
create: 1046 - 30
Successfully created repository [FOO-16440-3]
sync: 1047 - 31
delete: 1049 - 33
create: 1050 - 34
Successfully created repository [FOO-16440-4]
sync: 1051 - 35
delete: 1053 - 37
create: 1054 - 38
Successfully created repository [FOO-16440-5]
sync: 1055 - 39
<SNIP>
After about ~140 repo creates/sync/deletes:
sync: 1588 - 572
delete: 1590 - 574
create: 1591 - 575
Successfully created repository [FOO-16440-139]
sync: 1592 - 576
delete: 1594 - 578
create: 1595 - 579
Successfully created repository [FOO-16440-140]
sync: 1596 - 580
delete: 1598 - 582
create: 1599 - 583
An internal error occurred on the Pulp server. More information can be found in
the client log file ~/.pulp/admin.log.
Uploading last ~500 lines of pulp.log
Created attachment 771330 [details]
Log of too many of open files
Example output from pulp-server-2.1.2-0.3.beta.el6.noarch where problem is NOT seen: [jlsherri@abed runcible]$ ./test.sh create: 1028 - 19 Successfully created repository [FOO-3507-1] sync: 1028 - 19 delete: 1029 - 19 create: 1029 - 19 Successfully created repository [FOO-3507-2] sync: 1029 - 19 delete: 1029 - 19 create: 1029 - 19 Successfully created repository [FOO-3507-3] sync: 1029 - 19 delete: 1029 - 19 create: 1029 - 19 Successfully created repository [FOO-3507-4] sync: 1029 - 19 delete: 1029 - 19 create: 1029 - 19 Successfully created repository [FOO-3507-5] sync: 1029 - 19 delete: 1029 - 19 create: 1029 - 19 Successfully created repository [FOO-3507-6] sync: 1029 - 19 delete: 1029 - 19 create: 1029 - 19 Successfully created repository [FOO-3507-7] <SNIP> I'm getting some different behavior on Fedora 18. Running the script as is on Fedora 18 didn't reproduce it at all but I noticed the script is only doing 100 iterations. I changed it to 1000 iterations and after about 10 minutes, it began throwing the "Too many files" error. However, after about 5-10 iterations, it resumed working. Moreover, the number for $ANON doesn't increase on F18. Ack sorry yeah, i accidentally uploaded an older script that only did 100 iterations. Uploading anew version that also exists as soon as the first failed command occurs. Created attachment 771590 [details]
NEW script to reproduce the issue that runs 1000 times
Thanks for the detailed report. We're tracking this bug already, but your additional diagnosis will certainly help. *** This bug has been marked as a duplicate of bug 976561 *** |