From owner-freebsd-stable@FreeBSD.ORG Sun Aug 29 22:05:47 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDC5810656A9; Sun, 29 Aug 2010 22:05:47 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2-6.sentex.ca [IPv6:2607:f3e0:80:80::2]) by mx1.freebsd.org (Postfix) with ESMTP id 89EA68FC08; Sun, 29 Aug 2010 22:05:47 +0000 (UTC) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.14.4/8.14.4) with ESMTP id o7TM5GvU002102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Aug 2010 18:05:16 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.4/8.14.3) with ESMTP id o7TLq6AC085028; Sun, 29 Aug 2010 17:52:06 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <201008292152.o7TLq6AC085028@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 29 Aug 2010 17:52:01 -0400 To: Andre Oppermann From: Mike Tancsa In-Reply-To: <4C7AB0B2.9020003@freebsd.org> References: <201008291409.o7TE9QCJ082862@lava.sentex.ca> <4C7A7DD4.9020803@freebsd.org> <201008291716.o7THGxcF083744@lava.sentex.ca> <4C7AB0B2.9020003@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.67 on 205.211.164.50 Cc: freebsd-stable@freebsd.org Subject: Re: syncache errors X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 22:05:47 -0000 At 03:10 PM 8/29/2010, Andre Oppermann wrote: >On 29.08.2010 19:16, Mike Tancsa wrote: >>At 11:33 AM 8/29/2010, Andre Oppermann wrote: >>>On 29.08.2010 16:09, Mike Tancsa wrote: >>>>After upgrading to a recent STABLE, I have been seeing the >>>>following sporadic errors >>>> >>>>Aug 28 04:15:15 smarthost2 kernel: TCP: [xx.yy.165.120]:53617 to >>>>[xx.yy.164.50]:25; syncache_socket: >>>>Socket create failed due to limits or memory shortage >>>> >>>>this is with >>>>FreeBSD 8.1-STABLE #7: Wed Aug 25 15:32:05 EDT 2010 >>>>and the previous kernel was from July 20th. > >When sendmail is deferring the connections it should not show up >in the syncache logs. The accept() by sendmail is much later than >when the socket for a new connection is created in syncache. Here >it points to the limits in the listen queue. Maybe sendmail is >getting behind in accepting new connections and the listen queue >is overflowing. How would I track that down to confirm it ? ---Mike