Hi,
I did comment these out already, suspecting that they were the problem.
In fact, I first ran squid without these tags and I got the same problem.
Re-commenting them out produces a different, but no less frustrating
error. I get a message saying that the "server may be down or
unreachable", and that it won't respond. I have routing set up fine on my
computer, so I doubt it's an unrelated network problem. I don't
understand what I could be doing wrong, because I almost verbatim copied
the squid.conf example given at
http://cache.is.co.za/squid/initial/basic.conf.txt
including the preconfigured lines that my source for 10.1.22 (which I just
upgraded to from version 10.1.15, hoping that would solve my problem).
I also don't understand how those tcp and udp tags in squid.conf could
produce the "out of file descriptors" error, since that sounds
specifically like a memory-related problem.
I believe I'm seeing my worst fears realized. I am running an old FreeBSD
system (2.1.6) on a 486/66 with 8 Mb of RAM. I have been forced into this
miserable situation by lack of budget. I have to make squid work with
what I've got. I'm getting afraid that either there is an incompatibility
between squid and 8 Mb of Ram, or one between squid and the way FreeBSD
2.1.6 handles virtual memory.
I have increased my file descriptor kernel parameters to allow for 1024
file descriptors in general, and per process as well (kern.maxfiles and
ker.maxfilesperproc). I have also killed sendmail, and all other memory
hogging processes, as well as ones that don't hog memory but are
unnecessary.
Adding extra physical memory is one thing, if I can scrounge some up. I
can only pray, though, that I don't have to compile the latest version of
FreeBSD on this dinosaur. It will take a week.
Where else can I look? Thanks.
On Fri, 16 Jan 1998, Dancer wrote:
> Very wrong, in fact.
>
> Go through and comment out all the tcp_incoming, tcp_outgoing, udp_incoming and
> udp_outgoing lines in your squid.conf.
>
> (They are actually intended to be _your_ addresses, and default to them. Route
> tables take care of gateways, etc)
>
> After you've got them commented out, then try it.
>
> D
>
>
> John P. Pagano wrote:
>
> > Hi all,
> >
> > Squid seems to be running in a stable manner. When I try to proxy an
> > actual http request, however, my squid process outputs the following
> > error:
> >
> > [ .. ] commBind: Cannot bind socket FD 26 to 208.28.204.1:0: (49) Can't
> > assign requested address
> >
> > 208.28.204.1 is the IP address of the gateway I was assigned by my ISP.
> > That is the address I entered in the tcp_outgoing_address tag entry in my
> > squid.conf file. Is that the wrong place to put that IP address?
> >
> > The error my client browser returns is also interesting:
> >
> > "Out of file descriptors"
> >
> > which means that
> >
> > "the cache is very busy"
> >
> > How can that be accurate? I'm the only one trying to use the cache.
> >
> > Thanks for your help.
> >
> > --
> > John P. Pagano
> > jpagano@allegro.cs.tufts.edu
> > --
> > If nothing within you stays rigid, outward things will disclose themselves.
> > Moving, be like water. Still, be like a mirror. Respond like an echo.
> > --
>
>
>
> --
> Did you read the documentation AND the FAQ?
> If not, I'll probably still answer your question, but my patience will
> be limited, and you take the risk of sarcasm and ridicule.
>
>
>
-- John P. Pagano jpagano@allegro.cs.tufts.edu -- If nothing within you stays rigid, outward things will disclose themselves. Moving, be like water. Still, be like a mirror. Respond like an echo. --Received on Thu Jan 15 1998 - 21:32:21 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:27 MST