Date: Mon, 29 Nov 2010 14:06:46 -0800 From: Garrett Cooper <gcooper@FreeBSD.org> To: Grant Peel <gpeel@thenetnow.com> Cc: freebsd-hackers@freebsd.org Subject: Re: sbsize - console messages Message-ID: <AANLkTi=nM1Nf3W6iaJkXDiEHo67TBCzYJ7wODCo55Y7_@mail.gmail.com> In-Reply-To: <BA5D37DBE0F04ACBA4A04B5DC5DDEC72@GRANTDESKTOP> References: <98D05F98AE284E59B83CB2FA55993387@GRANTLAPTOP> <AANLkTik8Rw15X1onQcWKH29azsvfw4wJDCmu4%2BEewcWJ@mail.gmail.com> <BA5D37DBE0F04ACBA4A04B5DC5DDEC72@GRANTDESKTOP>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 29, 2010 at 1:36 PM, Grant Peel <gpeel@thenetnow.com> wrote: > -----Original Message----- From: Garrett Cooper > Sent: Monday, November 29, 2010 11:29 AM > To: Grant Peel > Cc: freebsd-hackers@freebsd.org > Subject: Re: sbsize - console messages > > On Mon, Nov 29, 2010 at 4:38 AM, Grant Peel <gpeel@thenetnow.com> wrote: >> >> Hi all, >> >> I orriginally posted this to -questions and someone there suggest I post >> here ... >> >> I am using FreeBSD 8.0 and am getting lots of these: >> >> negative sbsize for uid =3D 0 >> +negative sbsize for uid =3D 0 >> +negative sbsize for uid =3D 0 >> +negative sbsize for uid =3D 0 >> +negative sbsize for uid =3D 0 >> >> any ideas what it means or how to cure it?, or even how to trace it down= ? > > =A0 Read limit under csh(1) or ulimit under sh(1) for more details and > try to apply the change to login.conf and rebuild the database. ... > Garrett, > > Thanks for the hint. > > I am looking through login.conf and from what I can see none of the defau= lts > have been modified. Does this then indicate that there might be an issue > with a process trying to consume to many reasources? > > FWIW I only see the messages occasionally in the logs and the console. Potentially, yes. The other thing to note is that the application that you're using may be setting the limit via setrlimit(2). Flipping through the mbuf(9) manpage (because I had forgotten), mbufs are zone allocated. The number of mbufs (which is related to sbsize) could be better tuned by tuning the zone size, maybe... I'd wait for someone more knowledgeable in this area to reply though because my comments are merely speculation as I haven't actually tuned the VM system extensively to improve my systems' performance as most out-of-the-box settings work for me :/.. Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=nM1Nf3W6iaJkXDiEHo67TBCzYJ7wODCo55Y7_>