From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 6 13:20:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DB8E1065674 for ; Fri, 6 Aug 2010 13:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4B30D8FC18 for ; Fri, 6 Aug 2010 13:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o76DK2di027622 for ; Fri, 6 Aug 2010 13:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o76DK2EP027621; Fri, 6 Aug 2010 13:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 6 Aug 2010 13:20:02 GMT Resent-Message-Id: <201008061320.o76DK2EP027621@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, napTu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0794C106566B for ; Fri, 6 Aug 2010 13:11:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D01368FC1D for ; Fri, 6 Aug 2010 13:11:19 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o76DBJTx021277 for ; Fri, 6 Aug 2010 13:11:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o76DBJHw021246; Fri, 6 Aug 2010 13:11:19 GMT (envelope-from nobody) Message-Id: <201008061311.o76DBJHw021246@www.freebsd.org> Date: Fri, 6 Aug 2010 13:11:19 GMT From: napTu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/149363: tcsh cause situation when ssh connection closed X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2010 13:20:02 -0000 >Number: 149363 >Category: bin >Synopsis: tcsh cause situation when ssh connection closed >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 06 13:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: napTu >Release: 8.0 >Organization: icenet >Environment: FreeBSD router5 8.0-STABLE FreeBSD 8.0-STABLE #1: Fri May 7 02:03:26 UTC 2010 root@:/buildscripts/frenzybuild/build/buildscripts/frenzybuild/src/sys/FRENZY i386 >Description: tcsh cause situation when after some work time, on any output, message appears: ============= router5:/etc@[15:44] # ./ngcarspd 50 11992000 bit/s Connection to router5.icenet closed by remote host. Connection to router5.icenet closed. ============= ping is ok: ============= icenet# ping 192.168.10.11 PING 192.168.10.11 (192.168.10.11): 56 data bytes 64 bytes from 192.168.10.11: icmp_seq=0 ttl=64 time=0.270 ms 64 bytes from 192.168.10.11: icmp_seq=1 ttl=64 time=2.156 ms ^C --- 192.168.10.11 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.270/1.213/2.156/0.943 ms ============= again connect request give: ============= icenet# ssh router5 Connection closed by 192.168.10.11 ============= and again: ============= icenet# icenet# ssh router5 Last login: Fri Aug 6 10:30:59 2010 from hst.icenet Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. Frenzy 1.2-standard router5:/root@[15:45] # ============= - normal login ============= messages show: ============= Aug 6 15:44:42 router5 sshd[61168]: fatal: Write failed: Cannot allocate memory Aug 6 15:44:47 router5 sshd[86877]: fatal: Write failed: Cannot allocate memory ============= After some time I can't connect more to the host. On local shell work only combinations ALT+F1-F4,F12. Network subsystem continue processing traffic. If I switch shell to /bin/sh, then this problem not appear. Shell tcsh is configured in colorized format with time output and each hour DING: router5:/root@[15:45] # >How-To-Repeat: Shell tcsh is configured in colorized format with time output and each hour DING: router5:/root@[15:45] # >Fix: switch shell to /bin/sh >Release-Note: >Audit-Trail: >Unformatted: