kglobalaccel memory usage

JD jd1008 at gmail.com
Wed Oct 13 22:16:12 UTC 2010


  On 10/13/2010 02:08 PM, Dj YB wrote:
> On Wednesday October 13 2010 22:16:27 JD wrote:
>>   On 10/13/2010 12:02 PM, Dj YB wrote:
>> On Wednesday October 13 2010 20:40:05 JD wrote:
>>
>>    On 10/13/2010 11:24 AM, Kwan Lowe wrote:
>>
>> On Wed, Oct 13, 2010 at 1:55 PM, Dj YB<yehielb at mail.ru>   wrote:
>>
>> tried the fedora-kde list first but got no response.
>>
>> whenever I look at the processes table I see that kglobalaccel is taking
>> about 125 MB of memory, that is a lot.
>> I admit that I have lot's of shortcuts and gestures, but still, is that
>> number normal?
>>
>> Determining how much memory is used by a single PID is tricky. In the
>> case of KDE, which has a lot of shared code, it's even trickier.  Much
>> of the memory footprint seen in ps might be in libraries shared by
>> other KDE apps on the system.
>>
>> Yehiel, what is the RSS (Resident Set Size) for kglobalaccel ?
>>
>> PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>> 2480 djyb      20   0  183m 127m 4048 S  0.0 12.7   0:49.64 kglobalaccel
>>
>> according to top, 127m, I guess that 127MB
>>
>>   OK, I compared it to the RSS of Firefox, with 6 windows, and average
>>   of 4 tabs per window. The RSS for firefox is 183m which is very
>> reasonable.
>>
>>   I do not know what kglobalaccel does, and it has no man page, and I do not
>>   run it.
> As far as I can understand kglobalaccel is responsible for all the global
> shortcuts and mouse gestures in KDE.
>
>>   What is your total physical ram and how much swap space do you have?
> ram 1 GM, swap 2 GB.
>
>>   If you absolutely must have this app running, I think you will have accept
>>   it's mem usage as normal.
> kdebase-runtime-4.4.2-3.fc13.i686 : KDE Runtime
> Repo        : fedora
> Matched from:
> Filename    : /usr/bin/kglobalaccel
>
>>     PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
>> COMMAND            2539 jd        20   0  698m 182m  30m S  7.3  9.0
>> 23:00.45 firefox 3862 jd        20   0  277m  12m 9964 S  2.6  0.6
>> 0:04.76 gnome-terminal 1832 root      20   0  174m  35m 6984 S  2.0  1.7
>> 3:51.51 Xorg
If you do not absolutely need those shortcuts and gestures,
then you might want to disable kglobalaccel (click 
System-Administration->Services)
and disable kglobalaccel.

OK, so when you do top,
how much of swap is being utilised?
If only a small amount, then you have to live with it.
It is not impacting you very much.
If a large amount, you may want to look into adding
ram. Ram is cheap nowadays.

Cheers,

JD


More information about the users mailing list