From owner-freebsd-questions@freebsd.org Tue Nov 8 16:45:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDB43C37A44 for ; Tue, 8 Nov 2016 16:45:41 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 51E8B14C for ; Tue, 8 Nov 2016 16:45:41 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: by mail-wm0-x22b.google.com with SMTP id a197so257130802wmd.0 for ; Tue, 08 Nov 2016 08:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bris-ac-uk.20150623.gappssmtp.com; s=20150623; h=date:from:message-id:to:subject:reply-to; bh=0JcPxg65+bJlcaypyLOkBG28CdWj8K8XEf2xC6BYR8k=; b=WzObnJ+OMoAh0ZjRAZiJ959LOgnLqRZ9q3CzPbNFYCprQkd1m5NAgXycNsOESPi9Cr ufeAEp85lLb1/Wsmyo+453nqpeaYKdG6pII2hTTOYx1VFxmBmtdH98W7sWNPdZXjQXl/ LluCL9sm4ityJKKfrvfSoRcK9p4Ltx3AJf74+kNxqYHf9ALmCNfBDO9Hnc8vQ0YpyKQk zSFjTrfGIhoCpNtZzYM9sSEPlGgRkO679EnXegMqTnX/P4AxHpL20wd4kCLayWhG2i2s ShwcQNhmW7ZrmvQpi8y500iv2JstmQtbOVCvXSO0uWkyBBkUOLbw20X0p+I4Tc85PHwC 5DbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=0JcPxg65+bJlcaypyLOkBG28CdWj8K8XEf2xC6BYR8k=; b=heAcdJDgVwfH5rZESoD5/qutSpezKvPa6zV4FwPnpunTh0ymK5IWdv5+20tknummRf t2pnUZKCBzLsYd1tug4+6XXVDROs+ecRnFHJzkghrNgei+P/XO8wPk7rK61wl0y4oKr4 Wyi21HEXeow/byL4IXAzMIwiGCwSFnHPNuu9l84pvlTeKF7U1jOdBR+JEW4gErnsjaNl 89tqBIPBKIUNZy0ecYl3GMnNWI8+t0BtQ5FYkhelJSL45LQHHPLh7O3KrktyHW/5wc/F VakYu4owW6EjcFWYad4Orb0RB2DfVeUxAQFPUY3AOTyOG9C0czq22G3BzPWYxbBgT+0d iZJA== X-Gm-Message-State: ABUngvdk2g685QGyKRjLuXLU/dT49JNYZJgqQ3tUBFDtWbNXY+PBZ/BCsHvLoxUwPBMLlAE3 X-Received: by 10.28.48.203 with SMTP id w194mr14687640wmw.115.1478623538215; Tue, 08 Nov 2016 08:45:38 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id n6sm37981438wjg.30.2016.11.08.08.45.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Nov 2016 08:45:37 -0800 (PST) Date: Tue, 08 Nov 2016 08:45:37 -0800 (PST) X-Google-Original-Date: Tue, 8 Nov 2016 16:45:36 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id uA8Gjaqw029035 for ; Tue, 8 Nov 2016 16:45:36 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id uA8Gja3r029034 for freebsd-questions@freebsd.org; Tue, 8 Nov 2016 16:45:36 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201611081645.uA8Gja3r029034@mech-as222.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: tcsh or mail hang? Reply-To: mexas@bris.ac.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2016 16:45:41 -0000 Last couple of months or so I occasionally get apparent hangs in mail(1) on sending mail, i.e. after hitting CTRL/D. The system was 10.3 and now is 11.0. I use mail(1) interactively in tcsh(1), connecting via ssh. The host is active, and I can always login via a new ssh connection. When I do login via a separate ssh connection, I see no mail process in top or ps -axwwdd, e.g.: 27486 - Is 0:00.02 | |-- sshd: mexas [priv] (sshd) 27488 - I 0:00.32 | | `-- sshd: mexas@pts/0 (sshd) 27489 0 Is+ 0:00.10 | | `-- -tcsh (tcsh) 28149 - Is 0:00.02 | |-- sshd: mexas [priv] (sshd) 28151 - I 0:16.19 | | `-- sshd: mexas@pts/1 (sshd) 28152 1 Is 0:00.03 | | `-- -tcsh (tcsh) 28158 1 I+ 0:24.27 | | `-- ssh -Y <...> While I'm blaming mail(1), the problem might be in tcsh(1) or ssh connection, or some rare combination of all three. Has anybody else seen this? Thanks Anton