Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 11:55:28 -0700
From:      Alfred Perlstein <alfred@FreeBSD.ORG>
To:        Ben Stuyts <ben@stuyts.nl>
Cc:        Jake Burkholder <jake@locore.ca>, Terry Lambert <tlambert2@mindspring.com>, current@FreeBSD.ORG, Jeff Roberson <jroberson@chesapeake.net>, Robert Watson <rwatson@FreeBSD.ORG>, jeff@FreeBSD.ORG
Subject:   Re: [Ugly PATCH] Again: panic kmem_malloc(): SOLVED
Message-ID:  <20021019185528.GD91539@elvis.mu.org>
In-Reply-To: <4.3.2.7.2.20021019161330.00b36938@terminus>
References:  <20021019021502.GC91539@elvis.mu.org> <20021018213608.A60569@locore.ca> <4.3.2.7.2.20021018125313.00bb8990@terminus> <3DB07805.AB4BAA15@mindspring.com> <4.3.2.7.2.20021019001010.00b89f28@terminus> <20021018213608.A60569@locore.ca> <4.3.2.7.2.20021019161330.00b36938@terminus>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ben Stuyts <ben@stuyts.nl> [021019 07:16] wrote:
> At 13:34 19/10/2002, Ben Stuyts wrote:
> >At 04:15 19/10/2002, Alfred Perlstein wrote:
> >>* Jake Burkholder <jake@locore.ca> [021018 18:26] wrote:
> >>> semop() leaks memory.  An important free() was removed by alfred in
> >>> rev 1.55.  Try this.
> >>
> >>Seriously, I just checked in slightly different fix (based on jake's
> >>sleuthing)...  please let me know if works for you guys.
> >
> >Thanks Alfred, I am building the kernel right now with your fix. Later 
> >today I will let you know if this fixes the problems I've been seeing.
> 
> Looks good, the machine has been running for a couple of hours now, and 
> vmstat -m says:
> 
>           sem     4     7K      8K     3556  16,1024,4096
> 
> Before it used to be 2 - 5 MB allocated, and qpopper/smbd do no longer eat 
> memory each time they are invoked.
> 
> Many thanks!

Great!  Thanks for the bug report and my apologies for jumping down
your throat initially.  Best of luck to you.

-Alfred

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021019185528.GD91539>