Re: [Ugly PATCH] Again: panic kmem_malloc(): SOLVED

2002-10-19 Thread Alfred Perlstein
* Ben Stuyts <[EMAIL PROTECTED]> [021019 07:16] wrote:
> At 13:34 19/10/2002, Ben Stuyts wrote:
> >At 04:15 19/10/2002, Alfred Perlstein wrote:
> >>* Jake Burkholder <[EMAIL PROTECTED]> [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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: [Ugly PATCH] Again: panic kmem_malloc(): SOLVED

2002-10-19 Thread Ben Stuyts
At 13:34 19/10/2002, Ben Stuyts wrote:

At 04:15 19/10/2002, Alfred Perlstein wrote:

* Jake Burkholder <[EMAIL PROTECTED]> [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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message