Bug 148307 - kio_http processes remaining after firefox closed
Summary: kio_http processes remaining after firefox closed
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: http (show other bugs)
Version: 0.2
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
Depends on:
Reported: 2007-07-29 04:28 UTC by lukiki blondo
Modified: 2011-04-18 03:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description lukiki blondo 2007-07-29 04:28:25 UTC
Version:           0.2 (using KDE KDE 3.5.4)
Installed from:    Mandriva RPMs
OS:                Linux

When I click on a news header, a popup window indicates the link of the page that will be displayed in a browser.

At the same time a kio_http process is created.

After the page has been downloaded, the popup closes and the page is displayed correctly in firefox (which I associated to the htm/html file types in my KDE settings) in a new tab.

When I close firefox, I can still see the related kio_http processes in the process list.

After reading 30 news from the ticker, that makes 30 remaining useless kio_http processes.

I need to kill them manually to avoid PC overload.

I think the kio_http processes should terminate automatically after passing the link to firefox, and they don't, which constitutes the bug.
Comment 1 Angel Blue01 2009-03-04 17:24:16 UTC
I agree, that doesn't sound like it should do that...
Comment 2 Andreas Hartmetz 2009-07-21 19:08:53 UTC
When you click on a news header where? In some plasmoid? Akregator?
Comment 3 Dawit Alemayehu 2011-01-05 00:56:32 UTC
SVN commit 1211792 by adawit:

- Fixed KIO::SchedulerPrivate::heldSlaveFor to correctly reuse ioslaves that are on hold.
  See http://svn.reviewboard.kde.org/r/6271/ for details.


 M  +14 -3     scheduler.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1211792
Comment 4 Dawit Alemayehu 2011-04-18 03:20:21 UTC
Git commit 5c65f468d016961e7e0bf877e56d475bc302f552 by Dawit Alemayehu.
Committed on 18/04/2011 at 03:23.
Pushed by adawit into branch 'KDE/4.6'.

Mostly revert the changes I made with commit d27c820581673040e80c46087b34b76e9fc9ed79.

I completely misunderstood the main concept behind put slave on hold. With the exception
of corner-case that can only be solved at the application level, putting slaves on hold
should work correctly once this partial revert is commited.


M  +7    -11   kio/kio/scheduler.cpp