Summary: | konsole hangs trying to start /bin/bash on the 101st konsole session: Could not start program '/bin/bash' WHENEVER "bash-profile > Scrolling > Unlimited scrollback" | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Bassem W Jamaleddine <jamaleddineb> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | adaptee |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Bassem W Jamaleddine
2010-08-17 16:17:31 UTC
This may be a KDE bug not specifically related to konsole. It is manifested with konsole sessions up to a certain limit of sessions. I noticed first in Fedora F10, but I was hoping to have it resolved. I tried to reproduce in Fedora F13. I use always root account for development, with KDE konsole sessions. To test, I ssh to the machine, have delta backup of the ~/.kde as I gradually added konsole sessions. After Logout, I restore the .kde from the ssh session. Previous bug was tested on desktop with AMD processor. Bug is persistent when tested on laptop with Intel duo core (vgn-fw373j). Bug being reproduced on a new Fedora F13 install on laptop. Again, I opened as many as 101 session, causing the konsole to hang. I break from X, and edited the ~/.kde/share/config/session/konsole_* to reduce the session count by 1. I login again, and have all 100 konsole session started and none hanging. Bug is still persistent when tested on a different platform (using Fedora F13 on Intel laptop). The following shows the diff on the elements deleted from the konsole_* to reduce the konsole session by 1: 8:10 mm07: /2/root/.kde/share/config/session # diff konsole_1015513ca6c8000128182542600000024830027_1282139436_612581 konsole_previously_hang_due_to_101st_session 37c37 < Active=9 --- > Active=10 39c39 < Sessions=92,93,94,95,96,97,98,99,100 --- > Sessions=92,93,94,95,96,97,98,99,100,101 82c82 < NumberOfSessions=100 --- > NumberOfSessions=101 105a106,112 > [Session101] > Encoding=UTF-8 > LocalTab=%d : %n > Profile[$e]=$HOME/.kde/share/apps/konsole/bassem.profile > RemoteTab=%h : %u > WorkingDir[$e]=$HOME > ATTENTION: Just discovered that the above 101 konsole sessions limitation is manifested ONLY when the current bash-profile > Scrolling > Unlimited scrollback is being selected for all the 101 sessions. I disabled the scrollbar and was able to have the system Logout/Login with more than the 100 konsole sessions (bypassing the 100 konsole sessions limitation). I also tested by having the "scrollback set to Fixed number of lines: 50000" and was able to overcome the session limitation of 100 maximum konsole sessions. I am updating the title of this bug. If having Unlimited scrollback is known to force a limitation of 100 KDE konsole sessions, then KDE tester please close this ticket. NOTE: bug has been tested on many platform with Fedora F13. All platform do not show any memory starvation. Systems were configured with enough systemic resources: Multi-core CPU with 2GB, 8GB and 24GB of memory. Memory and CPU usage showed to be OK. ALSO, previous version of KDE 4.1 installed with Fedora F10 showed a similar symptom with konsoles session limitation (IN ADDITION THE CPU used to go to 99% UTILIZATION on the struggling konsole trying to start /bin/bash) whenever "bash-profile > Scrolling > Unlimited scrollback". With F13 with KDE 4.3 the situation has changed as konsole hangs on the 101st konsole session without causing the CPU starvation on trying to start /bin/bash. Can you still reprouduce this in recent version? I failed to reproduce it in KE-4.7.1, even when the scrollback option is set as 'unlimited history'. Well, I just can't reproduce this. Feel free to reopen if this does happen in recent verion of KDE. |