[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kded cpu usage
From: Josef Weidendorfer <Josef.Weidendorfer () gmx ! de>
Date: 2003-04-09 18:19:02
[Download RAW message or body]
On Wednesday 09 April 2003 03:26, Sarang Lakare wrote:
> > Attaching strace to a process with process ID <PID>:
> >
> > strace -p <PID>
>
> I am attaching the output. Looks like it lstats a lot of files. I have
> attached output of a few seconds. The processes pauses between these:
> gettimeofday({1049855001, 793797}, NULL) = 0
> select(11, [3 4 5 7 10], [], [], {0, 498216}) = 0 (Timeout)
>
> for a while and then continues again in a loop...
As I said, this is the busy polling loop, quite fine from the view of KDE:
kded *has* to do this to detect system changes because FAM isn't running.
This seems to be a configuration/installation problem of your distribution.
Somewhere in the boot process "fam -T 0" should be started. Or add it
yourself. For a quick test you can start "fam -d" (with debug output) in a
shell and do "kdeinit" in another (this restarts kded).
Josef
>
> > Use "ps -ef". "-e" is to show all processes, "-f" to show command line
> > options for processes started with kdeinit.
>
> Yes.. thats what I did. "ps -aef" actually. No fam running!
>
> Sarang
>
> > > (services)
> > > Apr 7 13:52:36 rambo xinetd: xinetd -USR2 succeeded
> > >
> > > On my another machine where kded does not take any cpu, fam is not seen
> > > in output of "ps" either, but the service is running.
> >
> > No idea.
> > Is the portmapper running on your machine (needed for NFS and FAM)?
>
> Yes.
>
> Sarang
>
> > Josef
> >
> > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> > >> unsubscribe <<
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic