Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 17:55:05 -0800
From:      "Renaud Waldura" <renaud@waldura.org>
To:        <freebsd-hackers@freebsd.org>, "Len Conrad" <LConrad@Go2France.com>
Subject:   Re: Re: Re: postfix: No buffer space available 
Message-ID:  <026d01c09ba9$4ff6da50$3902010a@zerog.int>
References:  <5.0.0.25.0.20010220223301.00a88e30@mail.Go2France.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> >But neither parameter takes effect.

They may be read-only if you're running with securelevel > 0. Otherwise they
"take effect" just fine.


> Anybody got any other ideas how scale FreeBSD up to postfix's needs?


Yes, recompile your kernel with "maxusers 128" or more. This tweaks a bunch
of stuff, notably mbufs.

E.g. with 128 "users" I've got:

226/1920/10240 mbufs in use (current/peak/max):
        159 mbufs allocated to data
        67 mbufs allocated to packet headers
130/1438/2560 mbuf clusters in use (current/peak/max)
3116 Kbytes allocated to network (9% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines


--Renaud





----- Original Message -----
From: "Len Conrad" <LConrad@Go2France.com>
To: <freebsd-hackers@freebsd.org>
Sent: Tuesday, February 20, 2001 1:36 PM
Subject: Fwd: Re: Re: postfix: No buffer space available


> Here's what has happened with the advice earlier:
>
> >tried to add the following via sysctl.conf
> >
> >kern.ipc.maxsockets = 5000
> >kern.ipc.maxsockbuf = 524288
> >
> >But neither parameter takes effect.
>
> are these read-only values?? and:
>
> ># netstat -m
> >445/720/4096 mbufs in use (current/peak/max):
> >         172 mbufs allocated to data
> >         273 mbufs allocated to packet headers
> >154/252/1024 mbuf clusters in use (current/peak/max)
> >684 Kbytes allocated to network (61% in use)
> >0 requests for memory denied
> >0 requests for memory delayed
> >0 calls to protocol drain routines
>
> Anybody got any other ideas how scale FreeBSD up to postfix's needs?
>
> tia,
> Len
>
>
> http://BIND8NT.MEIway.com : Binary for ISC BIND 8.2.3 for NT4 & W2K
> http://IMGate.MEIway.com  : Build free, hi-perf, anti-spam mail gateways
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
>


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?026d01c09ba9$4ff6da50$3902010a>