Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Nicholas Sushkin" To: Subject: ssh and bash not dying when network connection times out. Date: Fri, 20 Oct 2000 13:53:49 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.3825.400 Hi, I am running cygwin openssh via inetd as described in the readme. When a user logs in and get bash as a default shell and the network connection times out, sshd.exe and bash.exe don't die as they should. Is it a bug in the sshd port, bash, or both? I'd really appreciate some help in this issue, as hung bashes accumulate and consume a lot of memory. Thanks a lot, Nicholas Sushkin. In /etc/inetd.conf: sshd stream tcp nowait root /usr/sbin/in.sshd sshd -i $ cygcheck Usage: cygcheck [-s] [-v] [-r] [-h] [program ...] -s = system information -v = verbose output (indented) (for -s or programs) -r = registry search (requires -s) -h = give help about the info You must at least give either -s or a program name testuser AT DATAJ ~ $ cygcheck -s Cygnus Win95/NT Configuration Diagnostics Current System Time: Fri Oct 20 13:39:22 2000 WinNT Ver 4.0 build 1381 Service Pack 6 Path: /usr/local/bin /usr/bin /usr/bin /cygdrive/d/Perl/bin/ /cygdrive/c/WINNT/system32 /cygdrive/c/WINNT /cygdrive/d/Oracle/Ora81/bin /cygdrive/d/Oracle/Ora81/orb/bin /cygdrive/d/DataJunction7.0 %PERL_HOME%/bin /cygdrive/c/Program Files/SSH Communications Security/SSH Secure Shell /cygdrive/d/bin /cygdrive/c/WINNT/System32/WBEM /cygdrive/d/Program Files/Symantec/pcAnywhere/ /usr/bin /cygdrive/d/ntreskit . /cygdrive/d/data/testuser/mapper/scripts /cygdrive/d/data/testuser/mapper/scripts SysDir: C:\WINNT\System32 WinDir: C:\WINNT HOME = `/cygdrive/d/data/testuser' MAKE_MODE = `unix' PWD = `/cygdrive/d/data/testuser' USER = `testuser' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 2012Mb 51% CP CS UN PA FC d: hd NTFS 32671Mb 45% CP CS UN PA FC e: cd N/A N/A C:\Apps\cygwin\bin /usr/bin system binmode C:\Apps\cygwin\lib /usr/lib system binmode C:\Apps\cygwin / system binmode Found: C:\Apps\cygwin\bin\bash.exe Found: C:\Apps\cygwin\bin\cat.exe Found: d:\ntreskit\cat.exe Found: C:\Apps\cygwin\bin\cpp.exe Found: C:\Apps\cygwin\bin\find.exe Found: d:\ntreskit\find.exe Found: C:\Apps\cygwin\bin\gcc.exe Found: C:\Apps\cygwin\bin\gdb.exe Found: C:\Apps\cygwin\bin\ld.exe Found: C:\Apps\cygwin\bin\ls.exe Found: d:\ntreskit\ls.exe Found: C:\Apps\cygwin\bin\make.exe Found: C:\Apps\cygwin\bin\sh.exe Found: d:\ntreskit\sh.exe 83k 2000/06/11 C:\Apps\cygwin\bin\cygitcl30.dll 35k 2000/06/11 C:\Apps\cygwin\bin\cygitk30.dll 402k 2000/06/11 C:\Apps\cygwin\bin\cygtcl80.dll 5k 2000/06/11 C:\Apps\cygwin\bin\cygtclpip80.dll 10k 2000/06/11 C:\Apps\cygwin\bin\cygtclreg80.dll 639k 2000/06/11 C:\Apps\cygwin\bin\cygtk80.dll 586k 2000/08/04 C:\Apps\cygwin\bin\cygwinb19.dll 586k 2000/08/04 C:\Apps\cygwin\bin\cygwin1.dll Cygwin DLL version info: dll major: 1001 dll minor: 4 dll epoch: 19 dll bad signal mask: 19005 dll old termios: 5 api major: 0 api minor: 26 shared data: 3 dll identifier: cygwin1 mount registry: 2 cygnus registry name: Cygnus Solutions cygwin registry name: Cygwin program options name: Program Options cygwin mount registry name: mounts v2 build date: Thu Aug 3 20:53:46 EDT 2000 CVS tag: cygwin-1-1-4 shared id: cygwin1S3 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com