From owner-freebsd-net@FreeBSD.ORG Tue Sep 2 14:56:53 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42F5DEE4; Tue, 2 Sep 2014 14:56:53 +0000 (UTC) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1178A122C; Tue, 2 Sep 2014 14:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=mcWEeGCQPr/+Bf1HBoWkc61/XLE2jsvmqDAsX4lR1mo=; b=YLKTYZsa8EE1uKOfJIq6fusqbE9qGkhibQRbgY1T136g9dwICZOez4DrEYI6iFEcoWIai0VzIDBKZftnvWGY1C/ZIUYl24kvKw0gpL9QkiQSZt9Zh33itFKUa+N7R4rnJdUuNTb4EV1W+AxHFRSMCkQ9z81XVVKXnCWqdgKqYzE=; Received: from localhost.lerctr.org ([127.0.0.1]:55079 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XOpVp-0005g9-4E; Tue, 02 Sep 2014 09:56:50 -0500 Received: from host.alcatel.com ([198.205.55.139]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 02 Sep 2014 09:56:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 02 Sep 2014 09:56:49 -0500 From: Larry Rosenman To: Mark Martinec Subject: Re: random "Can't allocate memory" from sshd In-Reply-To: <2748836689ecfef3b8b921bc609d0b75@mailbox.ijs.si> References: <20140902141815.GA19120@borg.lerctr.org> <2748836689ecfef3b8b921bc609d0b75@mailbox.ijs.si> Message-ID: <3c89c1d4ca505156357b9a943cc6f6c6@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.0.2 X-Spam-Score: -4.6 (----) X-LERCTR-Spam-Score: -4.6 (----) X-Spam-Report: SpamScore (-4.6/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-1.713 X-LERCTR-Spam-Report: SpamScore (-4.6/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-1.713 Cc: freebsd-net@freebsd.org, owner-freebsd-net@freebsd.org 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:56:53 -0000 On 2014-09-02 09:47, Mark Martinec wrote: > 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 Ha. That 2nd one is MY thread :) I just made the change to net.graph.maxdata -- will play. Thanks! -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688