Bug 58007
Summary: | rpmq going to sleep on select() | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Bill Crawford <billc> | ||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.0 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2002-01-07 22:39:04 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: | |||||||
Attachments: |
|
Description
Bill Crawford
2002-01-05 01:26:38 UTC
Created attachment 41833 [details]
Backtrace after attaching gdb to hung rpmq process.
Try rm -f /var/lib/rpm/__db* Yeah, sure ... but why is the process hanging like that? It *appears* to have been triggered by two processes trying to access the database at the same time, sure ... but they're both read-only accesses, if they're queries, aren't they? Why does that end up hanging? Can't we just get rid of these __db* files? And closing bugs as "WORKSFORME" when it plainly isn't working right for other people really isn't an answer, please consider that some bugs only affect a small number of people, and I assure you they have been reproducible and repeatable. Short answer: The __db files are gonna be necessary to support concurrent database access so that, say, rpm installs can be run from %post scriptlets (i.e. a package of packages). No they cannot be eliminated. And I have a limited number of resolutions to choose from, WORKSFORME is closest IMHO. Well, OK ... cluster packages would be nice. But this is still a bug, as is the other problem I reported. |