Bug 167968

Summary: konqueror process doesn't end when window closed
Product: [Applications] konqueror Reporter: Peter Lewis <pete>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andresbajotierra
Priority: NOR    
Version: 4.1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Lewis 2008-08-01 11:40:56 UTC
Version:           4.1.0 (using KDE 4.1.0)
Installed from:    Ubuntu Packages

Hi,

I've just noticed that after a lengthy KDE 4 session, during which I've opened and closed many konqueror instances, that all their processes are still running. 'ps ax | grep konqueror' returns about 40 processes, with addresses that I was looking at much earlier. I now only have only one konqueror window open.

It appears that upon closing the window, the process isn't being destroyed.

Needless to say, after a long session, KDE slows down quite a lot.

Thanks.
Comment 1 Volker Hemmann 2008-08-01 12:03:22 UTC
I have seen the same. Konqueror is still there in S state. As are the kio_http processes(SL state). But not only konqueror is affected! kmail/kio_pop3 is staying too. And kio_file and kwalletd. I have a 200limit for fork. This behaviour made me run into it. Also 6gb of 4gb ram/4gb swap used by stale processes. Not fun. System gentoo, AMD64. Installed with ebuilds from kdesvn-portage overlay (which inclued more than ust svn ebuilds - like 4.1). glibc 2.8_p20080602, gcc 4.3.1. 

How to reproduce: use KDE 4.1 for an hour or two, open&close konqueror windows, use kmail.

after 15min usage and some konqueror instances opened and closed and kopete closed right after startup it looks like this:
ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.2  0.0   3808   612 ?        Ss   11:43   0:02 init [3]  
root         2  0.0  0.0      0     0 ?        S<   11:43   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S<   11:43   0:00 [migration/0]
root         4  0.0  0.0      0     0 ?        S<   11:43   0:00 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   11:43   0:00 [migration/1]
root         6  0.0  0.0      0     0 ?        S<   11:43   0:00 [ksoftirqd/1]
root         7  0.0  0.0      0     0 ?        S<   11:43   0:00 [events/0]   
root         8  0.0  0.0      0     0 ?        S<   11:43   0:00 [events/1]   
root         9  0.0  0.0      0     0 ?        S<   11:43   0:00 [khelper]    
root        46  0.0  0.0      0     0 ?        S<   11:43   0:00 [kblockd/0]  
root        47  0.0  0.0      0     0 ?        S<   11:43   0:00 [kblockd/1]  
root        48  0.0  0.0      0     0 ?        S<   11:43   0:00 [kacpid]     
root        49  0.0  0.0      0     0 ?        S<   11:43   0:00 [kacpi_notify]
root       145  0.0  0.0      0     0 ?        S<   11:43   0:00 [ata/0]       
root       146  0.0  0.0      0     0 ?        S<   11:43   0:00 [ata/1]       
root       147  0.0  0.0      0     0 ?        S<   11:43   0:00 [ata_aux]     
root       148  0.0  0.0      0     0 ?        S<   11:43   0:00 [ksuspend_usbd]
root       153  0.0  0.0      0     0 ?        S<   11:43   0:00 [khubd]        
root       156  0.0  0.0      0     0 ?        S<   11:43   0:00 [kseriod]      
root       175  0.0  0.0      0     0 ?        S<   11:43   0:00 [kondemand/0]  
root       176  0.0  0.0      0     0 ?        S<   11:43   0:00 [kondemand/1]  
root       208  0.0  0.0      0     0 ?        S    11:43   0:00 [pdflush]      
root       209  0.0  0.0      0     0 ?        S    11:43   0:00 [pdflush]      
root       210  0.0  0.0      0     0 ?        S<   11:43   0:00 [kswapd0]      
root       211  0.0  0.0      0     0 ?        S<   11:43   0:00 [aio/0]        
root       212  0.0  0.0      0     0 ?        S<   11:43   0:00 [aio/1]        
root       316  0.0  0.0      0     0 ?        S<   11:43   0:00 [scsi_eh_0]    
root       318  0.0  0.0      0     0 ?        S<   11:43   0:00 [scsi_eh_1]    
root       320  0.0  0.0      0     0 ?        S<   11:43   0:00 [scsi_eh_2]    
root       322  0.0  0.0      0     0 ?        S<   11:43   0:00 [scsi_eh_3]    
root       365  0.0  0.0      0     0 ?        S<   11:43   0:00 [ktxnmgrd:sda3:w]
root       366  0.0  0.0      0     0 ?        S<   11:43   0:00 [ent:sda3.]      
root       453  0.0  0.0  13988  2364 ?        S<s  11:43   0:00 /sbin/udevd --daemon
root       846  0.0  0.0      0     0 ?        S<   11:43   0:00 [ktxnmgrd:sda5:w]   
root       847  0.0  0.0      0     0 ?        S<   11:43   0:00 [ent:sda5.]         
root       891  0.0  0.0      0     0 ?        S<   11:43   0:00 [ktxnmgrd:sdb2:w]   
root       892  0.0  0.0      0     0 ?        S<   11:43   0:00 [ent:sdb2.]         
root       893  0.0  0.0      0     0 ?        S<   11:43   0:00 [ktxnmgrd:sda6:w]   
root       894  0.0  0.0      0     0 ?        S<   11:43   0:00 [ent:sda6.]         
root      1551  0.0  0.0  10520   644 ?        Ss   11:43   0:00 metalog [MASTER]                                            
root      1552  0.0  0.0  10264   244 ?        S    11:43   0:00 metalog [KERNEL]                                            
root      1675  0.0  0.0   3800   580 ?        Ss   11:43   0:00 /usr/sbin/acpid                                             
root      1678  0.0  0.0   5920  2672 ?        S    11:43   0:00 /usr/sbin/hddtemp -d -l 127.0.0.1 /dev/sda /dev/sdb         
106       1688  0.0  0.0  14892  1016 ?        Ss   11:43   0:00 /usr/bin/dbus-daemon --system                               
root      1701  0.0  0.0  17712  1520 ?        Ss   11:43   0:00 /bin/bash /usr/sbin/fancontrol /etc/fancontrol              
root      1779  0.0  0.0 158104  1368 ?        Ssl  11:43   0:00 /usr/sbin/nscd                                              
root      1790  0.0  0.0  11924   612 ?        S    11:43   0:00 /usr/sbin/smartd -p /var/run/smartd.pid                     
114       1804  0.0  0.0  20640  3788 ?        Ss   11:43   0:00 /usr/sbin/hald --use-syslog --verbose=no                    
root      1805  0.0  0.0  15672  1164 ?        S    11:43   0:00 hald-runner                                                 
root      1808  0.0  0.0  17788  1152 ?        S    11:43   0:00 hald-addon-input: Listening on /dev/input/event4 /dev/input/even
root      1812  0.0  0.0  17800  1192 ?        S    11:43   0:00 /usr/libexec/hald-addon-cpufreq                                 
114       1813  0.0  0.0   8192   840 ?        S    11:43   0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
klive     1845  0.0  0.2 109592 10308 ?        Sl   11:43   0:00 /usr/bin/python /usr/bin/twistd --uid klive --pidfile /var/run/k
root      1860  0.0  0.0   7972   504 ?        Ss   11:43   0:00 /usr/sbin/cron                                                  
root      1873  0.0  0.0  51864  1376 tty1     Ss   11:43   0:00 /bin/login --                                                   
root      1874  0.0  0.0   4020   668 tty2     Ss+  11:43   0:00 /sbin/agetty 38400 tty2 linux                                   
root      1875  0.0  0.0   4020   668 tty3     Ss+  11:43   0:00 /sbin/agetty 38400 tty3 linux                                   
root      1876  0.0  0.0   4020   668 tty4     Ss+  11:43   0:00 /sbin/agetty 38400 tty4 linux                                   
root      1877  0.0  0.0   4020   672 tty5     Ss+  11:43   0:00 /sbin/agetty 38400 tty5 linux                                   
root      1878  0.0  0.0   4020   668 tty6     Ss+  11:43   0:00 /sbin/agetty 38400 tty6 linux                                   
root      1894  0.0  0.0  36756  3956 tty1     S+   11:44   0:00 -zsh                                                            
root      2527  0.0  0.0  21688   688 ?        Ss   11:44   0:00 /usr/kde/4.1/bin/kdm                                            
root      2531 11.6  5.3 304612 216484 tty7    Ss+  11:44   1:56 /usr/bin/X -br -novtswitch -nolisten tcp :0 vt7 -auth /var/run/x
root      2532  0.0  0.0  53284  1688 ?        S    11:44   0:00 -:0                                                             
root      2542  0.0  5.3 304612 216484 tty7    S+   11:44   0:00 /usr/bin/X -br -novtswitch -nolisten tcp :0 vt7 -auth /var/run/x
root      2551  0.0  0.0  23648   772 ?        S    11:44   0:00 dbus-launch --autolaunch a9ea6c39b145c59a899a730047504fda --bina
root      2552  0.0  0.0   6344   672 ?        Ss   11:44   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --se
1000      2558  0.0  0.0  14728  1408 ?        Ss   11:44   0:00 /bin/sh /usr/kde/4.1/bin/startkde                               
1000      2619  0.0  0.0  23648   772 ?        S    11:44   0:00 dbus-launch --sh-syntax --exit-with-session                     
1000      2620  0.0  0.0   7108  1576 ?        Ss   11:44   0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --se
1000      2625  0.0  0.0 135892  3852 ?        Ss   11:44   0:00 kdeinit4: kdeinit4 Run up                                       
1000      2626  0.0  0.2 140312 11600 ?        S    11:44   0:00 klauncher                                                       
1000      2628  0.1  0.5 280352 23916 ?        S    11:44   0:01 kded4                                                           
1000      2634  0.0  0.0   3788   424 ?        S    11:45   0:00 kwrapper4 ksmserver                                             
1000      2635  0.0  0.4 277684 17892 ?        Sl   11:45   0:00 ksmserver                                                       
1000      2637  0.8  0.5 218936 20592 ?        S    11:45   0:08 kwin -session 10cce76572000121742440200000026800000_1217547983_8
1000      2640  0.0  0.4 264756 19236 ?        S    11:45   0:00 /usr/kde/4.1/bin/krunner                                        
1000      2641  0.0  0.2 141252 10024 ?        S    11:45   0:00 /usr/kde/4.1/bin/knotify4                                       
1000      2644  1.5  0.9 397804 38996 ?        Sl   11:45   0:15 /usr/kde/4.1/bin/plasma                                         
1000      2645  0.0  0.2 193584 11920 ?        Sl   11:45   0:00 /usr/kde/4.1/bin/nepomukserver                                  
1000      2647  0.3  0.3 170464 14676 ?        S    11:45   0:03 /usr/kde/4.1/bin/nepomukservicestub nepomukstorage              
1000      2648  0.0  0.2 126092 10420 ?        S    11:45   0:00 /usr/kde/4.1/bin/nepomukservicestub nepomukontologyloader       
1000      2649  0.0  0.2 145560 11772 ?        S    11:45   0:00 /usr/kde/4.1/bin/nepomukservicestub nepomukfilewatch            
1000      2655  0.0  0.2 142708  8736 ?        S    11:45   0:00 kdeinit4: kio_file [kd up                                       
1000      2657  0.0  0.2 143136  9916 ?        S    11:45   0:00 /usr/kde/4.1/bin/kaccess                                        
1000      2666  0.0  0.4 172844 16324 ?        S    11:45   0:00 kmix -session 10cce76572000121726862800000313090007_1217547983_7
1000      2668  0.2  0.8 376744 34948 ?        S    11:45   0:02 kopete -session 10cce76572000121744144700000032280036_1217547983
1000      2669  0.0  0.3 172040 15404 ?        S    11:45   0:00 konqueror -session 10cce76572000121753905000000047600019_1217547
1000      2670  0.0  0.3 172040 15404 ?        S    11:45   0:00 konqueror -session 10cce76572000121753929700000047600021_1217547
1000      2671  0.0  0.3 172040 15404 ?        S    11:45   0:00 konqueror -session 10cce76572000121754028400000047600023_1217547
1000      2672  0.0  0.3 172040 15404 ?        S    11:45   0:00 konqueror -session 10cce76572000121754041400000047600025_1217547
1000      2673  0.0  0.3 172040 15404 ?        S    11:45   0:00 konqueror -session 10cce76572000121754077000000047600027_1217547
1000      2674  0.0  0.3 172040 15404 ?        S    11:45   0:00 konqueror -session 10cce76572000121754112800000047600029_1217547
1000      2679  4.9  3.0 563948 122664 ?       Dl   11:45   0:48 kmail -session 10cce76572000121754197800000047600032_1217547983_
1000      2680  0.0  0.3 172040 15408 ?        S    11:45   0:00 konqueror -session 10cce76572000121754205100000047600034_1217547
1000      2681  0.0  0.3 172040 15404 ?        S    11:45   0:00 konqueror -session 10cce76572000121754213300000047600036_1217547
1000      2684  0.0  0.3 171796 15232 ?        S    11:45   0:00 konqueror -session 10cce76572000121754421500000233330015_1217547
1000      2685  0.0  0.3 171796 15232 ?        S    11:45   0:00 konqueror -session 10cce76572000121754511400000233330018_1217547
1000      2686  0.0  0.3 171800 15236 ?        S    11:45   0:00 konqueror -session 10cce76572000121754588700000233330020_1217547
1000      2687  0.0  0.3 171788 15236 ?        S    11:45   0:00 konqueror -session 10cce76572000121754596000000233330022_1217547
1000      2689  0.0  0.3 171796 15232 ?        S    11:45   0:00 konqueror -session 10cce76572000121754613800000233330024_1217547
1000      2690  0.0  0.3 171780 15256 ?        S    11:45   0:00 konqueror -session 10cce76572000121754656300000233330029_1217547
1000      2691  0.0  0.4 166016 17304 ?        S    11:45   0:00 /usr/kde/4.1/bin/kwalletd
1000      2692  0.0  0.3 171796 15224 ?        S    11:45   0:00 konqueror -session 10cce76572000121754719300000233330031_1217547
1000      2695  0.0  0.3 197508 12712 ?        S    11:45   0:00 /usr/kde/4.1/bin/klipper
1000      2702  0.0  0.3 142540 13096 ?        S    11:45   0:00 /usr/bin/kpowersave
1000      2704  0.0  0.1 124400  6004 ?        Ss   11:45   0:00 kdeinit Running...
1000      2707  0.0  0.0  88444  3812 ?        S    11:45   0:00 dcopserver --nosid --suicide
1000      2709  0.0  0.1 128380  6732 ?        S    11:45   0:00 klauncher [kdeinit]
1000      2712  0.0  0.3 174636 13696 ?        S    11:45   0:00 kded
1000      2713  1.2  1.9 376712 77536 ?        S    11:45   0:12 /usr/kde/4.1/bin/konqueror --silent
1000      2754  0.0  0.1 139012  5348 ?        S    11:45   0:00 kdeinit4: kio_file [kd up
1000      2801  0.0  0.2 175612  8996 ?        Sl   11:47   0:00 kdeinit4: kio_pop3 [kd up
1000      2802  0.0  0.2 175456  8400 ?        Sl   11:47   0:00 kdeinit4: kio_pop3 [kd up
1000      2896  0.1  0.5 186224 20424 ?        Rl   11:49   0:01 /usr/kde/4.1/bin/konsole
1000      2898  0.0  0.0  36520  3912 pts/2    Ss   11:49   0:00 /bin/zsh
1000      2940  0.3  1.4 316852 59140 ?        S    11:50   0:02 konqueror -mimetype text/html http://forums.gentoo.org/viewtopic
1000      2955  0.2  1.4 315080 57544 ?        S    11:50   0:01 konqueror -mimetype text/html http://forums.gentoo.org/viewtopic
1000      2973  0.2  1.4 315892 58196 ?        S    11:50   0:01 konqueror -mimetype text/html http://forums.gentoo.org/viewtopic
1000      3066  0.3  1.2 330680 52160 ?        S    11:53   0:01 konqueror -mimetype text/html http://marc.info/?l=gentoo-dev&m=1
1000      3088  0.0  0.3 181596 15092 ?        S    11:53   0:00 /usr/kde/4.1/bin/kwalletmanager --kwalletd
1000      3244  0.2  0.2 167576  9020 ?        S    11:59   0:00 kdeinit4: kio_smtp [kd up
1000      3286  0.4  0.2 156988  9172 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3292  8.1  1.6 309820 68324 ?        S    12:00   0:02 konqueror -mimetype text/html http://www.auto.de/service/newslet
1000      3293  0.1  0.2 156652  8348 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3294  0.1  0.2 156660  8340 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3297  0.2  0.2 156780  9200 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3298  0.1  0.2 156780  9104 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3299  0.1  0.2 222316  9292 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3300  0.1  0.2 156780  9116 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3301  0.2  0.2 156844  9212 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3302  0.2  0.2 161008  9196 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3303  0.2  0.2 222380  9272 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3304  0.1  0.2 161008  9272 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3310  0.1  0.2 156844  9176 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3312  0.1  0.2 156844  9088 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3314  0.1  0.2 156844  9104 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3315  0.3  0.2 161008  9352 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3317  0.1  0.2 156780  9092 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3318  0.1  0.2 156780  9096 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3319  0.2  0.2 222196  9192 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3320  0.2  0.2 156780  9116 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3321  0.1  0.2 160944  9180 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
1000      3333  0.1  0.2 156780  9060 ?        Sl   12:00   0:00 kdeinit4: kio_http [kd up
root      3359  0.0  0.0   8052   588 ?        S    12:01   0:00 sleep 10
1000      3360  0.0  0.0   9452   888 pts/2    R+   12:01   0:00 ps aux
Comment 2 Dario Andres 2008-08-01 14:18:17 UTC
This is a duplicate of bug 167826
Comment 3 Maksim Orlovich 2008-08-01 16:46:47 UTC
Indeed it is

*** This bug has been marked as a duplicate of 167826 ***