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

Re: Transparent proxy



Hi,

I tried these settings as below and it is working great. I might have 
to tune the squid as well as mentioned by Mark in order to better 
performance.

Thanks guys.

Cheers,



> 
> Had this happening with my Postfix server when the loads were too high
> for it to handle. Try some settings similar to these:
> 
> 
> # $FreeBSD: src/etc/sysctl.conf,v 1.1.2.3 2002/04/15 00:44:13 dougb
> # Exp $
> #
> #  This file is read when going to multi-user and its contents piped
> #  thru ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for
> #  details.
> #
> 
> vfs.vmiodirenable=1
> kern.ipc.somaxconn=4096
> kern.maxfiles=65536
> kern.maxfilesperproc=16384
> kern.maxprocperuid=2670
> 
> Also read the squid material from the previous afnogs. I remember
> there was a section on optimising the FreeBSD kernel for squid.
> 
> cheers,
> 
> Sematimba Noah Kevin
> Systems Administrator
> Africa Online Uganda Limited
> Commercial Plaza Kampala Road
> e-mail: ksemat at africaonline.co.ug
> WEB: http://www.africaonline.co.ug
> TEL: +256(41)258143
> FAX: +256(41)258144
> 
> 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
> >
> >
> 
> 
> -----
> 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.
                     

-----
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