From owner-freebsd-net@FreeBSD.ORG Fri Dec 11 10:59:45 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 867B51065672 for ; Fri, 11 Dec 2009 10:59:45 +0000 (UTC) (envelope-from victorloureirolima@gmail.com) Received: from mail-qy0-f203.google.com (mail-qy0-f203.google.com [209.85.221.203]) by mx1.freebsd.org (Postfix) with ESMTP id 398FB8FC1A for ; Fri, 11 Dec 2009 10:59:45 +0000 (UTC) Received: by qyk41 with SMTP id 41so379625qyk.29 for ; Fri, 11 Dec 2009 02:59:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=GU1Q0iXKZost1NnG9fY8wWqFw/p4TqQHwC401trWpx8=; b=LfGUdyrJsyJtyE3SuUG/uGCXWW59n3XWtHU06GPv/3MaAqRyznKLYzz+qGqO5KE8lM wU4C5oRSfh/xjru+6U99fbQbxKe6JI4gbnq2ZnH/fqgW2/A8+mj67nIPR7GP7hvkH0xX nkgmiFwh8u3O8aBFmUFuBEjm3dDL/VhMM+Kcc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=pKii1z7c1k6a6iA9DSOrrSo+mOVKYk9F9/QECQ2pHS3L03ouPG8EHyHYBAqYJ9xezQ 8EyFMjfZay6i+8WGNyNLb+jLS4ckWC5YqJ4o6YK69wQhSdAZfAmiVZPo8CdlxdvRVl2U rX5CE7mQIOaiEINrBzjfVkzrfW9z670ilAI5c= Received: by 10.224.59.77 with SMTP id k13mr571403qah.230.1260527864102; Fri, 11 Dec 2009 02:37:44 -0800 (PST) Received: from ?189.66.46.9? ([189.66.46.9]) by mx.google.com with ESMTPS id 8sm4387904qwj.13.2009.12.11.02.37.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 11 Dec 2009 02:37:42 -0800 (PST) References: <20091211102928.GA40831@traktor.dnepro.net> Message-Id: <9F5E7B59-0CF1-47A7-BE85-41B2C9F0D22B@gmail.com> From: Victor Lima To: Eugene Perevyazko In-Reply-To: <20091211102928.GA40831@traktor.dnepro.net> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Mailer: iPhone Mail (7A341) Mime-Version: 1.0 (iPhone Mail 7A341) Date: Fri, 11 Dec 2009 08:37:29 -0200 Cc: "freebsd-net@freebsd.org" Subject: Re: How can I find the reason network writes fail with ENOMEM on 7.x? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2009 10:59:45 -0000 Have you checked your memory integrity? Maybe you should consider =20 buying some more mem to that machine. Have you check with top(1) how =20 much memory is actually available when the write fails? Att, Victor Lima Em 11/12/2009, =C3=A0s 08:29, Eugene Perevyazko = escreveu: > > I'm getting network write failures on a host running 7.2-PRERELEASE > (I know, I should update it to STABLE, but I've heard of similar =20 > reports > on 7-S too) > > Failures are expressed for example in BIND > named[72084]: /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/=20 > unix/socket.c:1567: unexpected error: > named[72084]: internal_send: 192.168.71.91#1049: Cannot allocate =20 > memory > named[72084]: client 192.168.71.91#1049: error sending response: out =20= > of memory > > and on ssh session spontaneously breaking with "Write failed: Cannot =20= > allocate memory" > > Frequency of those failures clearly correlates with network load for =20= > the host, > which is mainly doing dummynet and ng_nat. > > How can I find what to tune in this case? > > --=20 > Eugene Perevyazko > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"