From owner-freebsd-stable Mon Mar 4 16: 4: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 9F8E837B400 for ; Mon, 4 Mar 2002 16:04:02 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g25042F91389; Mon, 4 Mar 2002 16:04:02 -0800 (PST) (envelope-from dillon) Date: Mon, 4 Mar 2002 16:04:02 -0800 (PST) From: Matthew Dillon Message-Id: <200203050004.g25042F91389@apollo.backplane.com> To: "Jan L. Peterson" , Ian Dowse , freebsd-stable@FreeBSD.ORG Subject: Re: crashes on 4.5-RELEASE References: <200202232021.aa04276@salmon.maths.tcd.ie> <20020304233509.5BFD0422D8@mail.flipdog.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ::So what exactly does INVARIANTS do? According to LINT, it enables ::extra sanity checking of internal structures (making the system ::slower). :: ::Seems to be a lot of people reporting crashing problems on 4.5, even on ::hardware that was previously stable. Could be we have a real problem ::here? :: :: -jan- There are no solid leads on that yet. Recently a commit to -current fixed a problem with NFS potentially building up huge socket buffers. I wonder if this could be related and would like you to apply this patch to -stable and re-test if you could. -Matt Matthew Dillon Index: uipc_socket.c =================================================================== RCS file: /home/ncvs/src/sys/kern/uipc_socket.c,v retrieving revision 1.68.2.18 diff -u -r1.68.2.18 uipc_socket.c --- uipc_socket.c 13 Feb 2002 00:43:10 -0000 1.68.2.18 +++ uipc_socket.c 5 Mar 2002 00:02:59 -0000 @@ -525,7 +525,7 @@ if ((atomic && resid > so->so_snd.sb_hiwat) || clen > so->so_snd.sb_hiwat) snderr(EMSGSIZE); - if (space < resid + clen && uio && + if (space < resid + clen && (atomic || space < so->so_snd.sb_lowat || space < clen)) { if (so->so_state & SS_NBIO) snderr(EWOULDBLOCK); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message