From owner-freebsd-net@FreeBSD.ORG Tue Sep 2 14:47:48 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6ECA7D58 for ; Tue, 2 Sep 2014 14:47:48 +0000 (UTC) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) by mx1.freebsd.org (Postfix) with ESMTP id 20E6E10B7 for ; Tue, 2 Sep 2014 14:47:47 +0000 (UTC) Received: from amavis-proxy-ori.ijs.si (localhost [IPv6:::1]) by mail.ijs.si (Postfix) with ESMTP id 3hnWNL4FZMz11F for ; Tue, 2 Sep 2014 16:47:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:references:in-reply-to:organization :subject:subject:from:from:date:date:content-transfer-encoding :content-type:content-type:mime-version:received:received :received:received; s=jakla2; t=1409669261; x=1412261262; bh=7Mo ShKJs4gVmAa2K4wRxj8xnFkw5Rd9MX8OvoAQT+AA=; b=kv+sP2LHs4RT32KCC+5 9qp++FwH1DjH0O3pnRkcjm7jOmjVPLwXSxno8zDgyG9zxs5mG35feUh7EfwRR4EE 9LFxsdgMKvnP21RNDPF6YdwlpHvTmKAaLRDBARlKbRjvX8fpyIeNWvZF8Un/ypkj eBA1VunMyzC/MoLt62G3HRNQ= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-proxy-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10012) with ESMTP id urPnAPoqyED6 for ; Tue, 2 Sep 2014 16:47:41 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP for ; Tue, 2 Sep 2014 16:47:41 +0200 (CEST) Received: from neli.ijs.si (neli.ijs.si [IPv6:2001:1470:ff80:88:21c:c0ff:feb1:8c91]) by mildred.ijs.si (Postfix) with ESMTP id 3hnWNF6Z8Yzs5 for ; Tue, 2 Sep 2014 16:47:41 +0200 (CEST) Received: from neli.ijs.si ([2001:1470:ff80:88:21c:c0ff:feb1:8c91]) by neli.ijs.si with HTTP (HTTP/1.1 POST); Tue, 02 Sep 2014 16:47:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 02 Sep 2014 16:47:41 +0200 From: Mark Martinec To: freebsd-net@freebsd.org Subject: Re: random "Can't allocate memory" from sshd Organization: J. Stefan Institute In-Reply-To: <20140902141815.GA19120@borg.lerctr.org> References: <20140902141815.GA19120@borg.lerctr.org> Message-ID: <2748836689ecfef3b8b921bc609d0b75@mailbox.ijs.si> X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.0.2 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 14:47:48 -0000 2014-09-02 Larry Rosenman wrote: > random "Can't allocate memory" from sshd > I've had this issue for a while on 10 and 11.... > > merrily working along, in an SSH session, or doing zfs send/recv over > ssh > and randomly I'll get a "can't allocate memory" from sshd and the > session > gets killed. > > There is PLENTY of memory on the free list (>500meg). > What can I do to catch what is having an issue, and better yet, fix it? > What diagnostics do I need? Possibly/likely a network resources issue, check these threads: Bumping up a default net.graph.maxdata to avoid "Write failed: Cannot allocate memory" http://lists.freebsd.org/pipermail/freebsd-net/2014-July/039347.html zfs send/recv: STILL invalid Backup Stream http://lists.freebsd.org/pipermail/freebsd-current/2014-July/051391.html Mark