Hi,
I downloaded the pinning patch provided by Serassio at
http://devel.squid-cache.org/cgi-bin/diff2/pinning.patch?s2_5.
Applied patch successfully to squid2.5-STABLE7 on SuSE Linux 8 and
rebuilt squid, installed and started up successfully.
But this patch restarted squid each time I refreshed or browsed new
page, there are "assertion failed" error and "Rebuilding storage in
/squidb (DIRTY)" in the cache.log file;
assertion failed: comm.c:448: "F->flags.open"
Starting Squid Cache version 2.5.STABLE7
Process ID 31257
With 1024 file descriptors available
DNS Socket created at 0.0.0.0, port 34378, FD 5
Adding nameserver 192.168.125.25 from /etc/resolv.conf
Adding nameserver 192.168.125.59 from /etc/resolv.conf
Adding nameserver 192.168.101.210 from /etc/resolv.conf
helperOpenServers: Starting 5 'mysql_auth' processes
Unlinkd pipe opened on FD 15
Swap maxSize 21504000 KB, estimated 1654153 objects
Target number of buckets: 82707
Using 131072 Store buckets
Max Mem size: 36864 KB
Max Swap size: 21504000 KB
Store logging disabled
Rebuilding storage in /squidb (DIRTY)
Rebuilding storage in /squidc (DIRTY)
Rebuilding storage in /squidd (DIRTY)
Using Least Load store dir selection
Set Current Directory to /usr/local/squid/var/cache
Loaded Icons.
Accepting HTTP connections at 0.0.0.0, port 8080, FD 20.
WCCP Disabled.
Ready to serve requests.
Store rebuilding is 1.0% complete
Store rebuilding is 87.1% complete
Done reading /squidc swaplog (413532 entries)
Done reading /squidb swaplog (423418 entries)
Done reading /squidd swaplog (423689 entries)
Finished rebuilding storage from disk.
1260631 Entries scanned
0 Invalid entries.
0 With invalid flags.
1260631 Objects loaded.
0 Objects expired.
0 Objects cancelled.
8 Duplicate URLs purged.
0 Swapfile clashes avoided.
Took 17.6 seconds (71589.9 objects/sec).
Beginning Validation Procedure
262144 Entries Validated so far.
524288 Entries Validated so far.
786432 Entries Validated so far.
1048576 Entries Validated so far.
Completed Validation Procedure
Validated 1260623 Entries
store_swap_size = 19319652k
storeLateRelease: released 0 objects
>>> Henrik Nordstrom <hno@squid-cache.org> 27/10/2005 11:24:36 >>>
On Wed, 26 Oct 2005, Daniel Lim wrote:
> Hi Guido,
> Thanks for the info.
> The patch I downloaded is only 187 bytes in size, how do I apply
this
> patch?
With patch.
But just noticed the link on the web page is wrong.. shuld get fixed
tomorrow.
Also please note that this patch is still under development, and using
this patch in it's current state may make you cache vulnerable to cache
pollution.
Regards
Henrik
******************************************************************************
This email message, including any attached files, is confidential and intended solely for the use of the individual or entity to whom it is addressed.
The NSW Department of Commerce prohibits the right to publish,
copy, distribute or disclose any information contained in this email,
or its attachments, by any party other than the intended recipient.
If you have received this email in error please notify the sender and delete it from your system.
No employee or agent is authorised to conclude any binding
agreement on behalf of the NSW Department of Commerce by email. The views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Department,
except where the sender expressly, and with authority, states them to be the views of NSW Department of Commerce.
The NSW Department of Commerce accepts no liability for any loss or damage arising from the use of this email and recommends that the recipient check this email and any attached files for the presence of viruses.
******************************************************************************
Received on Thu Oct 27 2005 - 19:53:53 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:05 MST