Comment #8 on issue 1757 by [email protected]: IBus used 100% CPU when system gets very busy when konsole is running
https://code.google.com/p/ibus/issues/detail?id=1757

Here is what you do to reproduce:
1. Have kde4 and konsole up, and IBus running in kde.
2. In konsole, create several terminals Ctrl-Shift-T
3. Compile the attached program: cc -o load-memory load-memory.c
4. Run several copies of it. Each copy allocates 5GB, and pushes the system out into swap.

Once large portion of the system goes into swap, system response becomes sluggish. You have to wait until this happens, and then try using IBus in konsole.

For example, while system was very busy with swap, I pressed keys 'k' and 'j' in konsole many times. Later, when I press <backspace> key, it only adds more 'k's and 'j's, and never erases anything. But when I kill ibus-daemon, keyboard begins to work fine. I only observed this problem in konsole, and not in browser. I also switched to another language, if this matters.

You need to have disk swap for this, and run number of instances of load-memory such that the total of all 5GB sizes is roughly equal to the size of physical memory.


Attachments:
        load-memory.c  543 bytes

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
--- You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复