savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers] Re: lshd interruption problem


From: Loic Dachary
Subject: [Savannah-hackers] Re: lshd interruption problem
Date: Wed, 5 Jun 2002 14:36:00 +0200

Niels Möller writes:
 > To me, that indicates that lshd have closed its ends of the pipes.

        Yes but lshd fails to do something so that the shell process
notices that the connection goes down. A similar problems shows with
rms who is using lsh to connect to the machine. There are many pending
shells because they were apparently not notified that the connection
went down. These shells have a pty instead of a unix socket though:

root     10234  0.0  1.9 20336 18992 ?       S    Apr29   8:09 
/usr/local/sbin/lshd --enable-core --daemonic --ssh1-fallback=/usr/sbin/sshd 
--trace --verbose
rms      21923  0.0  0.0     0    0 pts/6    S    May03   0:00  \_ -bash
rms      28869  0.0  0.0     0    0 pts/13   S    May04   0:00  \_ -bash
rms      15097  0.0  0.0     0    0 pts/7    S    May07   0:00  \_ -bash
rms      29643  0.0  0.0     0    0 pts/9    S    May08   0:00  \_ -bash
rms       6093  0.0  0.0     0    0 pts/17   S    May12   0:00  \_ -bash
rms       5009  0.0  0.0     0    0 pts/8    S    May13   0:00  \_ -bash
rms       9952  0.0  0.0     0    0 pts/0    S    May14   0:00  \_ -bash
rms      13026  0.0  0.0     0    0 pts/21   S    May19   0:00  \_ -bash
rms        974  0.0  0.0     0    0 pts/14   S    May21   0:00  \_ -bash
rms      25391  0.0  0.0     0    0 pts/22   S    May25   0:00  \_ -bash
rms      28855  0.0  0.0     0    0 pts/11   S    May28   0:00  \_ -bash
rms        624  0.0  0.0     0    0 pts/16   S    May29   0:00  \_ -bash
rms      29245  0.0  0.0     0    0 pts/18   S    May30   0:00  \_ -bash
rms      11936  0.0  0.0     0    0 pts/19   S    May31   0:00  \_ -bash
rms      31833  0.0  0.0     0    0 pts/28   S    Jun03   0:00  \_ -bash
rms      13761  0.0  0.0     0    0 pts/27   S    Jun04   0:00  \_ -bash

lsof -p 11936

COMMAND   PID USER   FD   TYPE DEVICE    SIZE    NODE NAME
bash    11936  rms  cwd    DIR    3,6    4096 1156555 /home/rms
bash    11936  rms  rtd    DIR    3,1    4096       2 /
bash    11936  rms  txt    REG    3,1  511400  100400 /bin/bash
bash    11936  rms  mem    REG    3,1   90210  323306 /lib/ld-2.2.5.so
bash    11936  rms  mem    REG    3,1  248132  318838 /lib/libncurses.so.5.2
bash    11936  rms  mem    REG    3,1    8008  323330 /lib/libdl-2.2.5.so
bash    11936  rms  mem    REG    3,1 1153816  323313 /lib/libc-2.2.5.so
bash    11936  rms  mem    REG    3,1   40152  323403 
/lib/libnss_compat-2.2.5.so
bash    11936  rms  mem    REG    3,1   69472  323344 /lib/libnsl-2.2.5.so
bash    11936  rms    0u   CHR 136,19              21 /dev/pts/19
bash    11936  rms    1u   CHR 136,19              21 /dev/pts/19
bash    11936  rms    2u   CHR 136,19              21 /dev/pts/19

-- 
Loic   Dachary         http://www.dachary.org/  address@hidden
12 bd  Magenta         http://www.senga.org/      address@hidden
75010    Paris         T: 33 1 42 45 07 97          address@hidden
        GPG Public Key: http://www.dachary.org/loic/gpg.txt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]