Bug 866919 - Big delay when stopping tuned service
Summary: Big delay when stopping tuned service
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tuned
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Vcelak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-16 10:13 UTC by Jaroslav Škarvada
Modified: 2013-03-04 01:30 UTC (History)
6 users (show)

Fixed In Version: tuned-2.1.0-1.fc18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-12 01:25:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Škarvada 2012-10-16 10:13:11 UTC
Description of problem:
There is big delay when stopping tuned service.

Version-Release number of selected component (if applicable):
tuned-2.0.2-1

How reproducible:
Always

Steps to Reproduce:
1. systemctl start tuned.service
2. tuned-adm profile powersave
3. systemctl stop tuned.service
  
Actual results:
Big delay (timeout) until systemctl returns.

Expected results:
No delay.

Additional info:
Maybe systemd issue, will investigate more deep.

Comment 1 Jan Vcelak 2012-11-07 11:55:52 UTC
This seems to happen if the tuning thread dies due to unhandled exception.

I believe this is already fixed upstream. Package update is coming soon.

Comment 2 Jan Vcelak 2012-11-07 12:40:58 UTC
Hm... the problem still appears from time to time after the update. And sometimes there is a large timeout even when starting the service. Maybe there is something wrong with creating/deleting the PID file.

Comment 3 Jan Vcelak 2012-11-08 17:37:26 UTC
Should be resolved with my last commit, I cleaned up everything around forking:
http://git.fedorahosted.org/cgit/tuned.git/commit/?id=000e82f

Comment 4 Fedora Update System 2012-12-03 11:04:05 UTC
tuned-2.1.0-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/tuned-2.1.0-1.fc18

Comment 5 Jan Vcelak 2012-12-03 11:10:45 UTC
Resolved in:
tuned-2.1.0-1.fc18
tuned-2.1.0-1.fc19

Comment 6 Fedora Update System 2012-12-03 21:32:45 UTC
Package tuned-2.1.0-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tuned-2.1.0-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19556/tuned-2.1.0-1.fc18
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-12-06 10:31:35 UTC
tuned-2.1.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/tuned-2.1.1-1.fc18

Comment 8 Fedora Update System 2013-01-12 01:25:56 UTC
tuned-2.1.1-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.