[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kded cpu usage
From:       Sarang Lakare <sarang () users ! sourceforge ! net>
Date:       2003-04-07 16:55:08
[Download RAW message or body]

On Monday 07 April 2003 05:17 am, Josef Weidendorfer wrote:
> Can you attach strace to it?

How do I do that?

> 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 /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. 

Thanks
Sarang

>
> Josef
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sarang Lakare
mailto:sarang@users#sourceforge.net
web:http://www.cs.sunysb.edu/~lsarang/linux
!!Join the fight for freedom - Go GNU/Linux!!
 
>> 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