[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transparent proxy



great. that's a lot easier, I will try it.

Thanks.

On Mon, 2 Dec 2002, Antonio Godinho wrote:

> Is it really necessary to recompile your kernel? Canīt you put these
> settings in sysctl.conf?
>
> Cheers,
>
>
>
> > Hi,
> >
> > I had encountered the same problem before running squid on FreeBSD. It
> > means the buffer allocation in your FreeBSD kernel is in-adequate. I
> > increased the value of the buffer and recompiled the kernel and I was
> > ok.
> >
> > You can use sysctl kern.ipc.nmbclusters to check the current buffer
> > allocation. I tweaked mine from the default 1024k to 8192k. You could
> > use more or less. To change, I edited /usr/src/sys/kern/uipc_mbuf.c
> > looked for NMBCLUSTERS and changed the entry from 512 *(16 bla, bla)
> > to read # define NMBCLUSTERS 8192.
> >
> > After the changes, recompile your kernel and should be ok.
> >
> > Pls back-up the uipc_mbuf.c file before making any changes.
> >
> > On Fri, 29 Nov 2002, Antonio Godinho wrote:
> >
> > > Hi,
> > >
> > > I have setup a transparent proxy using squid 24 and FreeBSD 4.7. It
> > > works normally but after a few minutes I start getting the message:
> > >
> > > Nov 29 09:40:55 servername /kernel: All mbuf clusters exhausted,
> > > please see tuning(7).
> > >
> > > repeatedly on the monitor. Does anyone know What is causing
> > > this?
> > >
> > > Cheers,
> > >
> > >
> > >
> > > Antonio Godinho
> > > B.Sc., MCP, MCP+Internet, MCSE, CCNA
> > > Address:Av. Julius Nyerere 947 3rd floor esq
> > > Maputo - Mozambique
> > > Phone  : 258-82-300392
> > > e-mail : ANTONIO at nambu.uem.mz
> > >
> > > An expert is one who knows more and more
> > > about less and less until he knows absolutely
> > > everything about nothing.
> > >
> > >
> > > -----
> > > This is the afnog mailing list, managed by Majordomo 1.94.5
> > >
> > > To send a message to this list, e-mail afnog at afnog.org
> > > To send a request to majordomo, e-mail majordomo at afnog.org and put
> > > your request in the body of the message (i.e use "help" for help)
> > >
> > > This list is maintained by owner-afnog at afnog.org
> > >
> > >
> >
> > --
> > Regards,
> >
> > ----------------------------------------
> > Bolanle Akinpelu
> > General Data Engineering Services Ltd.
> > 18b Oshin Road, Kongi Bodija, Ibadan.
> > email: akinpelu at skannet.com
> > phone: 234-2-8105156
> > ----------------------------------------
> >
> >
> >
> > -----
> > This is the afnog mailing list, managed by Majordomo 1.94.5
> >
> > To send a message to this list, e-mail afnog at afnog.org
> > To send a request to majordomo, e-mail majordomo at afnog.org and put
> > your request in the body of the message (i.e use "help" for help)
> >
> > This list is maintained by owner-afnog at afnog.org
> >
>
>
>
> Antonio Godinho
> B.Sc., MCP, MCP+Internet, MCSE, CCNA
> Address:Av. Julius Nyerere 947 3rd floor esq
> Maputo - Mozambique
> Phone  : 258-82-300392
> e-mail : ANTONIO at nambu.uem.mz
>
> An expert is one who knows more and more
> about less and less until he knows absolutely
> everything about nothing.
>
>
>

-- 
Regards,

----------------------------------------
Bolanle Akinpelu
General Data Engineering Services Ltd.
18b Oshin Road, Kongi Bodija, Ibadan.
email: akinpelu at skannet.com
phone: 234-2-8105156
----------------------------------------



-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org