Skip site navigation (1)Skip section navigation (2)
From:      Ben Stuyts <ben@stuyts.nl>
To:        Alfred Perlstein <alfred@FreeBSD.ORG>, Jake Burkholder <jake@locore.ca>
Cc:        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:  <4.3.2.7.2.20021019161330.00b36938@terminus>
In-Reply-To: <4.3.2.7.2.20021019133250.00b3bad0@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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!
Ben


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?4.3.2.7.2.20021019161330.00b36938>