Synopsis:
"If you fill up your squid cache, CPU will go to 100% but the cache will not be
cleaned up."
PR: 18920
Submitted by: Mike Harding <mvh@ix.netcom.com>
Obtained from: http://www.squid-cache.org/Versions/v2/2.3/bugs/
- the distributed patches got regenerated to have the correct paths
- disable optimization because of gcc bugs (as recommended by squid folks)
- list a few new --enable/--disable options
Squid 2.0 is the-version-formerly-known-as-1.2.
v2.0 has NOVM-like functionality internally, so there's no seperate
NOVM version. v1.1.* is no longer officially supported.
Note: the b14 -> b15 change will loose your cache unless you take
the steps on http://squid.nlanr.net/ to recover it.
Read the Changelog for details, this is a fairly large update.
Major changes:
- the URL and SHA cache key methods are gone, MD5 is the only option.
- the swap.state system has been redesigned as a transaction log for
much faster restarts and crash recovery.
- SIZE on ftp binary transfers.
- Lots of bug fixes and code cleanups.
From the web page; http://squid.nlanr.net/Squid/1.2.beta/
WARNING, with beta12 we are starting to stuff object metadata into
the beginning of objects on disk. With beta13 we have changed the
"swap.state" file format to binary instead of text. When you run this
version for the first time you WILL LOSE YOUR CACHE!
The previous warning still stands:
This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.
Index: like posix says, rather than going into dummy mode. The distributed
patches are generated with standard cvs and don't have ache's hack (which
doesn't work when new files are added anyway).
"We are currently in a beta-test period for Squid-1.2. If you like
seeing Squid coredump frequently, please join us!"
"This is BETA software. Do not run this on your production systems.
Logfile formats are subject (and likely) to change at any time without
warning.
Here is a brief list of the major features of this version:
HTTP/1.1 persisitent connections.
Lower VM usage; in-transit objects are not held fully in memory.
Totally independent swap directories.
Customizable error texts.
FTP supported internally; no more ftpget.
Asynchronous disk operations (optional, requires pthreads library).
Internal icons for FTP and gopher directories.
snprintf() used everywhere instead of sprintf().
...and many more!
"
As well, there is support for using MD5 or SHA hashes of URL's in the
cache index for space (and speed?) savings, SNMP support, poll(2) is
used by default, etc.
Please see http://squid.nlanr.net/Squid/1.2.beta/ before using.
slowdown problem.
Note, I've changed the DIST_SUBDIR.. all the patches files seem to be
called "fixes.patch" and were colliding with each other.
Reviewed by:
Submitted by:
Obtained from:
Note: the patch file on the web site has several problems.. First, it
doesn't apply, and second, it bogusly changes the version. It also
introduces some problems for FreeBSD where the author missed the point of
a fix I sent back. :-(
- POST didn't work if there were null characters (strncpy vs. memcpy)
- defensive measures to try and stop "HELP! IP cache overflowing"
- warn when forced to do blocking gethostbyxxxx() calls
- fix some coredumps and other problems
Reviewed by:
Submitted by:
Obtained from:
Note, there are a few important changes to the squid.conf file,
be sure to read the ChangeLog file for the details. Some names
have been renamed, and a new option needs to be specified if squid
is run as root - it needs to know what uid to change to, it won't run
as root by default. This may require changes to the port to create a
user or something.