Summary: | apt backend takes too long for some operations | ||
---|---|---|---|
Product: | PackageKit | Reporter: | James Westby <jw+debian> |
Component: | backend-apt | Assignee: | Richard Hughes <richard> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | bugs, echidnaman, jw+debian, khashayar.lists, mail |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
James Westby
2008-09-24 02:28:46 UTC
I can confirm seeing this issue. I'm willing to test patches if need be. The error "you need to fork" is a developer message to the backend authors. What is means is the DBUS method took too long to execute, and "blocked" the daemon from any other activity. What's meant to happen is that the daemon "forks" the command into the background, where it can process more reuests in the meantime. If the backend spends over 500ms processing the command without releasing control of the daemon, then you get this message. Do you get this message on every transaction, or only on certain types? Can you reproduce it 100% reliably, or only when somehting else happens? > Do you get this message on every transaction, or only on certain types? Can you
> reproduce it 100% reliably, or only when something else happens?
It's not 100% reliable on a particular command, but some are more likely
to trigger it than others. Some trigger it the first run when things aren't
cached, but then won't once they are.
Thanks,
James
The backend now forces serialisation of nearly all calls (4bc7370cac1564fa3109d2a62df53d62a5cba176). Could you please test the latest version from the PPA or git? If the package signal is still delayed into the next method it seems to be a dbus issue and not a thread race condition. Cheers Hi, This is still present with 0.3.5 from the PPA. Thanks, James The bug is still present in 0.3.14 on Ubuntu Jaunty. I'm able to reproduce it every time I run one of the tools. *** Bug 19953 has been marked as a duplicate of this bug. *** Hi, This is fixed now that apt is a spawned backend. Thanks, James |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.