[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-08 8:35:00
[Download RAW message or body]

On Monday 07 April 2003 18:55, Sarang Lakare wrote:
> On Monday 07 April 2003 05:17 am, Josef Weidendorfer wrote:
> > Can you attach strace to it?
>
> How do I do that?

Attaching strace to a process with process ID <PID>:

	strace -p <PID>

For <PID of kded>, do a "ps -ef | grep kded", as kded is started with kdeinit.

> > If Mandrake 9.1 doesn't use FAM, and KDE wasn't compiled with DNOTIFY
> > support, KDED has to do busy STAT polling to detect new
> > applications/mimetypes. This would explain it.
>
> Mandrake does use fam. It is an xinetd service in there. I started it, but
> I cannot see a "fam" process. Is that normal? I looked  into

Use "ps -ef". "-e" is to show all processes, "-f" to show command line options 
for processes started with kdeinit.

> /var/log/messages and that says fam started successfully. Still kded uses
> the same CPU. Do I have to restart kded? (how?)
>
> # service fam start
> fam is a xinetd service
> Reloading configuration:                                        [  OK  ]
> # ps -aef | grep fam
> root      3364  2926  0 13:52 pts/0    00:00:00 grep fam
> # tail /var/log/messages
> Apr  7 13:52:36 rambo xinetd[3292]: Starting reconfiguration
> Apr  7 13:52:36 rambo xinetd[3292]: readjusting service sgi_fam
> Apr  7 13:52:36 rambo xinetd[3292]: Reconfigured: new=0 old=1 dropped=0
> (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)?

Josef
 
>> 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