select(2) won't handle more than 1024 file descriptors. Compile with -DUSE_POLL if you need more than 1024 descriptors.
libmalloc.a is leaky. Squid's configure does not use -lmalloc on Solaris.
by David J N Begley.
DNS lookups can be slow because of some mysterious thing called ncsd. You should edit /etc/nscd.conf and make it say:
enable-cache hosts no
Apparently nscd serialises DNS queries thus slowing everything down when an application (such as Squid) hits the resolver hard. You may notice something similar if you run a log processor executing many DNS resolver queries - the resolver starts to slow.. right.. down.. . . .
by Jason Armistead.
The /etc/nsswitch.conf file determines the order of searches for lookups (amongst other things). You might only have it set up to allow NIS and HOSTS files to work. You definately want the "hosts:" line to include the word dns, e.g.:
hosts: nis dns [NOTFOUND=return] files
We have found that with FreeBSD-2.2.2-RELEASE, there some bugs with T/TCP. FreeBSD will try to use T/TCP if you've enabled the ``TCP Extensions.'' To disable T/TCP, use sysinstall and disable TCP Extensions, or add this to your /etc/rc files:
sysctl -w net.inet.tcp.rfc1644=0
If you get ``yacc'' errors, you need to upgrade your GCC installation to a more recent version, at least 2.7.2.
Try a different version of Linux. We have recieved many reports of this ``bug'' from people running Linux 2.0.30. The bind(2) system call should NEVER give this error when binding to port 0.
Some users have reported that setting cache_effective_user
to nobody
under Linux does not work.
However, it appears that using any cache_effective_user
other
than nobody
will succeed. One solution is to create a
user account for Squid and set cache_effective_user
to that.
Alternately you can change the UID for the nobody
account
from 65535 to 65534.
Another problem is that RedHat 5.0 Linux seems to have a broken setresuid() function. There are two ways to fix this. Before running configure:
% setenv ac_cv_func_setresuid no % ./configure ... % make clean % make installOr after running configure, manually edit include/autoconf.h.in and change the HAVE_SETRESUID line to:
#define HAVE_SETRESUID 0