[Konsole-devel] [Bug 147508] New: Konsole leaves sockets and other file descriptors open when exec:ing the shell.

Robert Knight robertknight at gmail.com
Wed Jul 4 12:41:13 UTC 2007


Hello,

The /dev/pts/X files are obviously needed for communication between
Konsole and the terminal, but I presume you are mainly talking about
the sockets?

I don't see those socket entries when I run the commands you mentioned
here.  I get the same output in Konsole and xterm as I would hope.

Can you check to see whether the output differs when running the
command in Konsole and xterm?

Regards,
Robert.

On 3 Jul 2007 18:19:17 -0000, Rickard Närström
<rickard.narstrom at gmail.com> wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=147508
>            Summary: Konsole leaves sockets and other file descriptors open
>                     when exec:ing the shell.
>            Product: konsole
>            Version: unspecified
>           Platform: Gentoo Packages
>         OS/Version: Linux
>             Status: UNCONFIRMED
>           Severity: normal
>           Priority: NOR
>          Component: general
>         AssignedTo: konsole-devel kde org
>         ReportedBy: rickard.narstrom gmail com
>
>
> Version:            (using KDE KDE 3.5.7)
> Installed from:    Gentoo Packages
> Compiler:          gcc (GCC) 4.1.2 (Gentoo 4.1.2)
> OS:                Linux
>
> Konsole leaves some file descriptors open... from bash running inside
> konsole:
> ----
> $ ls -l /proc/$$/fd/
> totalt 0
> lrwx------ 1 ricce_n users 64  3 jul 20.08 0 -> /dev/pts/1
> lrwx------ 1 ricce_n users 64  3 jul 20.08 1 -> /dev/pts/1
> lrwx------ 1 ricce_n users 64  3 jul 20.08 11 -> socket:[4360335]
> lrwx------ 1 ricce_n users 64  3 jul 20.08 12 -> socket:[4360339]
> lrwx------ 1 ricce_n users 64  3 jul 20.08 13 -> socket:[4360341]
> lrwx------ 1 ricce_n users 64  3 jul 20.08 2 -> /dev/pts/1
> lrwx------ 1 ricce_n users 64  3 jul 20.08 255 -> /dev/pts/1
> $ netstat -np | grep 4360335
> (Not all processes could be identified, non-owned process info
>  will not be shown, you would have to be root to see it all.)
> unix  3      [ ]         STREAM     CONNECTED     4360335 25810/konsole
> [kdei
> $ netstat -np | grep 4360339
> (Not all processes could be identified, non-owned process info
>  will not be shown, you would have to be root to see it all.)
> unix  3      [ ]         STREAM     CONNECTED     4360339 25810/konsole
> [kdei
> $ netstat -np | grep 4360341
> (Not all processes could be identified, non-owned process info
>  will not be shown, you would have to be root to see it all.)
> unix  3      [ ]         STREAM     CONNECTED     4360341 25810/konsole
> [kdei
> ----
> _______________________________________________
> konsole-devel mailing list
> konsole-devel at kde.org
> https://mail.kde.org/mailman/listinfo/konsole-devel
>



More information about the konsole-devel mailing list