Bug 1000699 - Nightmare of updates
Summary: Nightmare of updates
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-24 11:49 UTC by Mikhail
Modified: 2015-02-17 16:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-17 16:54:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot of htop (231.58 KB, image/png)
2013-08-24 13:27 UTC, Mikhail
no flags Details
screenshot mc1 (300.05 KB, image/png)
2013-08-29 22:52 UTC, Mikhail
no flags Details
screenshot mc2 (291.29 KB, image/png)
2013-08-29 22:53 UTC, Mikhail
no flags Details
screenshot mc3 (290.43 KB, image/png)
2013-08-29 22:54 UTC, Mikhail
no flags Details
screenshot mc after two days of removing .cache directory (299.09 KB, image/png)
2013-09-01 20:21 UTC, Mikhail
no flags Details

Description Mikhail 2013-08-24 11:49:02 UTC
Description of problem:

Every time updating package selinux-policy-targeted run very long time about a day.

May be this related to this problem: https://bugzilla.redhat.com/show_bug.cgi?id=998267

Comment 1 Mikhail 2013-08-24 13:27:13 UTC
Created attachment 789854 [details]
screenshot of htop

Comment 2 Daniel Walsh 2013-08-26 19:54:43 UTC
How many files to you have in those directories?

Comment 3 Mikhail 2013-08-26 21:31:31 UTC
[mikhail@localhost ~]$ find /home/mikhail/.cache /home/mikhail-old/.cache /home/mikhail/.config /home/mikhail-old/.config -type f|wc -l
3209162

Comment 4 Miroslav Grepl 2013-08-27 08:01:45 UTC
Any chance to clean up these directories?

Comment 5 Mikhail 2013-08-27 08:04:34 UTC
This not solving problem because they grow again.

Comment 6 Daniel Walsh 2013-08-27 19:23:02 UTC
Mikhail and if you run 

restorecon -R -v /home/mikhail/.cache /home/mikhail-old/.cache /home/mikhail/.config /home/mikhail-old/.config 

Takes hours?

Comment 7 Mikhail 2013-08-28 02:06:49 UTC
# time restorecon -R -v /home/mikhail/.cache /home/mikhail-old/.cache /home/mikhail/.config /home/mikhail-old/.config 
restorecon get context on /home/mikhail/.cache/google-chrome/Default/Cache/f32e5ad3f7718b0a_2 failed: 'No such file or directory'
restorecon:  Warning no default label for /home/mikhail-old/.cache/deadbeef/covers/Ñåðãåé Ìèíàåâ
Сергей Минаев

real	220m36.509s
user	0m43.331s
sys	1m10.609s

Comment 8 Daniel Walsh 2013-08-28 18:41:26 UTC
But why are they so huge?
find ~/.config | wc -l
1855
find ~/.cache | wc -l
6042


And I have never cleaned these out?

Comment 9 Mikhail 2013-08-29 22:50:29 UTC
[mikhail@localhost ~]$ find ~/.config | wc -l
8792
[mikhail@localhost ~]$ find ~/.cache | wc -l
3166828

Comment 10 Mikhail 2013-08-29 22:52:14 UTC
Created attachment 791977 [details]
screenshot mc1

Comment 11 Mikhail 2013-08-29 22:53:13 UTC
Created attachment 791978 [details]
screenshot mc2

Comment 12 Mikhail 2013-08-29 22:54:26 UTC
Created attachment 791980 [details]
screenshot mc3

Comment 13 Daniel Walsh 2013-08-30 14:41:02 UTC
If chrome is throwing hundreds of thousands of files into you  homedir,  think you have a bug with them. 

I would remove some of those cache files

https://support.google.com/chrome/answer/95582?hl=en

This is the first bug we have seen complaining about this.  But I think we should remove this code if google is dropping thousands of files into these directrories.

The reason we are doing it is if new directory labeling is added to .config or .cache subdirs, we want to make sure they are labeled correctly.

Comment 14 Mikhail 2013-09-01 20:19:06 UTC
I removed the directory ~/.cache/google-chrome all night. And while deleting I can not do anything, all wildly lag. This is kernel problem or ext4?

But that's not all. For two days in the directory ~/.cache/google-chrome/Default/Cache has created 199184 files. And the growth rate is not reduced. Midnight Commander enter in this folder more than a minute. :(

Comment 15 Mikhail 2013-09-01 20:21:05 UTC
Created attachment 792663 [details]
screenshot mc after two days of removing .cache directory

Comment 16 Fedora End Of Life 2015-01-09 19:34:44 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 17 Fedora End Of Life 2015-02-17 16:54:13 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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