Bug 76457 - konqueror + konsole + kate are spamming with open FDs (FileDescriptors) whenever they fork(+exec other programs).
Summary: konqueror + konsole + kate are spamming with open FDs (FileDescriptors) whene...
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.3
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-29 22:57 UTC by Marc Ziegert
Modified: 2004-03-23 16:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Ziegert 2004-02-29 22:57:12 UTC
Version:           1.3 (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.3 gcc (GCC) 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux

konsole causes kde to crash after opening >50 or >60 commandtabs (Befehlsfenster in german).
each new session has 3 new opened FDs.

it seems that the programmer has forgotten to set several close-on-exec flags.

at least konqueror(->run_command) and kate('s terminal) are doing the same, so there may be an other program/library/deamon that causes this.

coeus@titan ~ $ ps
  PID TTY          TIME CMD
....
 8068 ?        00:00:00 bash
 8096 ?        00:00:00 ps
coeus@titan ~ $ ls -lF /proc/8068/fd
insgesamt 20
lrwx------    1 coeus    users          64 29. Feb 22:53 0 -> /dev/pts/10
lrwx------    1 coeus    users          64 29. Feb 22:53 1 -> /dev/pts/10
lrwx------    1 coeus    users          64 29. Feb 22:53 11 -> /tmp/kde-coeus/konqueror-crash-oYcIJb.log
lrwx------    1 coeus    users          64 29. Feb 22:53 12 -> /tmp/kde-coeus/konsoler6O0Ha.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 13 -> /tmp/kde-coeus/khtmlcache3b6obb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 14 -> /tmp/kde-coeus/khtmlcacheIpDIHa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 15 -> /tmp/kde-coeus/khtmlcachen1wVCb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 16 -> /tmp/kde-coeus/khtmlcachePFb7Zb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 17 -> /tmp/kde-coeus/khtmlcachecowjGa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 18 -> /tmp/kde-coeus/konsolem2nedb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 19 -> /tmp/kde-coeus/khtmlcache7z6aKa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 2 -> /dev/pts/10
lrwx------    1 coeus    users          64 29. Feb 22:53 20 -> /tmp/kde-coeus/konsoleJBNlzb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 23 -> /tmp/kde-coeus/khtmlcachezF94sa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 24 -> /tmp/kde-coeus/khtmlcacheS6Ka8b.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 25 -> /tmp/kde-coeus/khtmlcacheCUXbEa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 255 -> /dev/pts/10
lrwx------    1 coeus    users          64 29. Feb 22:53 26 -> /tmp/kde-coeus/khtmlcacheoWfmqb.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 27 -> /tmp/kde-coeus/khtmlcachelJVtGa.tmp (deleted)
lrwx------    1 coeus    users          64 29. Feb 22:53 28 -> /tmp/kde-coeus/khtmlcacheEnNJma.tmp (deleted)
coeus@titan ~ $
Comment 1 Stephan Kulow 2004-03-23 16:38:24 UTC
the close on exit are in afaik