Bug 549619

Summary: preload uses a lot of cpu
Product: [openSUSE] openSUSE 11.2 Reporter: David Kerkhof <dutchkind>
Component: BasesystemAssignee: Stephan Kulow <coolo>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: gankov, matz
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/cache/preload/prepared

Description David Kerkhof 2009-10-23 17:04:34 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; nl; rv:1.9.1.3) Gecko/20090909 SUSE/3.5.3-3.2 Firefox/3.5.3

I put the widget for cpu monitoring on my desktop and found one of my duo2core cpu's is constantly in use. In kde's system activity monitor I found it is the preload process that is using around 50% cpu time all the time, which is totally unacceptable.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Andrey Gankov 2009-10-24 08:15:56 UTC
I have same issue, for GNOME. And i can test. I use RC1.
Comment 2 Stephan Kulow 2009-10-24 17:15:35 UTC
The preload process or the prepare_preload process? Can you install preload-debuginfo and gdb -p $(pidof preload) and then type bt?
Comment 3 David Kerkhof 2009-10-26 08:04:28 UTC
It was the preload process, not the prepare_preload process. But the funny thing is I cannot repeat it anymore, I have been watching closely but both mentioned processes come up and then either close or don't use much cpu anymore, so it seems no problem at the moment. I also noted that my ram memory usage has gone down without doing a thing to it. I used to have only 1 Gb free of the 3Gb I have, and now it is after boot 2.3Gb free, which is more normal compared to kde3 in opensuse 11, although still more than that used to use.
So for now can't give more info on this bug, sorry to have bothered with this.
Comment 4 Stephan Kulow 2009-10-26 14:44:44 UTC
if you notice it, attach /var/cache/preload/prepared here
Comment 5 Bart Whiteley 2009-10-29 08:22:42 UTC
Created attachment 324628 [details]
/var/cache/preload/prepared

I saw this problem as well.
Comment 6 Bart Whiteley 2009-10-29 08:24:47 UTC
top:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
  386 root      20   0 10844 1120  280 S   95  0.0 254:14.26 preload
Comment 7 Michael Matz 2009-10-29 15:46:39 UTC
Uh.  Well, the prepared file contains extremely many commands (10600), but
that alone shouldn't lead to this issue.  I can't reproduce it with
that input on my machine, but that's no wonder as I don't have all of the
mentioned files here.  Maybe we can login to your machine (if it's reproducable
again)?
Comment 8 Stephan Kulow 2009-11-02 16:48:22 UTC
Michael and me looked at it and are confident that both bugs are duplicates.

*** This bug has been marked as a duplicate of bug 551801 ***