Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D4BEDFFA for ; Mon, 10 Sep 2012 02:34:43 +0000 (UTC) Received: (qmail 44232 invoked by uid 500); 10 Sep 2012 02:34:39 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 43893 invoked by uid 500); 10 Sep 2012 02:34:39 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 43885 invoked by uid 99); 10 Sep 2012 02:34:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 02:34:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of joechiu@gmail.com designates 209.85.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 02:34:32 +0000 Received: by mail-oa0-f48.google.com with SMTP id n16so438874oag.35 for ; Sun, 09 Sep 2012 19:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=YlWh77SrNRmb51EzmAN2fHe3d+cCsdLi5xSlEprA9v0=; b=lyWKuGcIum6pMlY9TpRvgNrD8LIkruZRNb6GKtMVV315aZ+QRBxzmyjG5KObDPX+xY SKzwPHztK4+oz71Cvh5YKMgCRpg0rqlOwQnpUBSKP7tRZ1AUIc5pTEYHmKub+HJnvMXW iU7dh3RG53UxeLA85xcx7vTX2PrZgms781p2tEG4NcRsmAvIo78ziywC8bmpWusqb4Jg caNvrUA5ktCyqWEmn+kHZ0bg+1g2WiJqNBojvhhnIbJc42JqFDUPqzTNv5jyVPw7QGMJ XSenqrJexyLAkE3Wb7Ju/XtI2Pg63UiDhhYWzhp8MP3E/f2RkAYyq+SFkf0MgR1a3iuN iMgA== MIME-Version: 1.0 Received: by 10.182.85.8 with SMTP id d8mr12359728obz.70.1347244452334; Sun, 09 Sep 2012 19:34:12 -0700 (PDT) Sender: joechiu@gmail.com Received: by 10.76.8.8 with HTTP; Sun, 9 Sep 2012 19:34:12 -0700 (PDT) Received: by 10.76.8.8 with HTTP; Sun, 9 Sep 2012 19:34:12 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 Sep 2012 19:34:12 -0700 X-Google-Sender-Auth: ex8elpmAdxxaWKS5lOd3MPu-slU Message-ID: Subject: Re: Strange behaviour in SSHD From: Joseph Chiu To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=f46d0447955901cc0204c94fcb49 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0447955901cc0204c94fcb49 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Try playing with ssh keepalive and/or allocate tty (-t I think?)... I went through something similar a while back... On Sep 9, 2012 7:31 PM, "=E6=9F=90=E5=9B=A0=E5=B9=A1" = wrote: > Hi, > When I ssh to the server, client gets a "Broken pipe" error and > disconnects immediately. > So I am trying to strace the server process, but if I attached to the > server process with strace, the problem will be gone. And after > detaching, it comes back. > The server is a Cent OS 6.0. > > -- > language: Chinese, Japanese, English > --f46d0447955901cc0204c94fcb49 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Try playing with ssh keepalive and/or allocate tty (-t I think?)... I we= nt through something similar a while back...

On Sep 9, 2012 7:31 PM, "=E6=9F=90=E5=9B=A0= =E5=B9=A1" <tewilove@gmail.co= m> wrote:
Hi,
When I ssh to the server, client gets a "Broken pipe" error and disconnects immediately.
So I am trying to strace the server process, but if I attached to the
server process with strace, the problem will be gone. And after
detaching, it comes back.
The server is a Cent OS 6.0.

--
language: Chinese, Japanese, English
--f46d0447955901cc0204c94fcb49--