Re: Time for squid 3.0 STABLE2 ?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Sat, 01 Mar 2008 23:35:54 +1300

Guido Serassio wrote:
> Hi Amos,
>
> At 13:04 27/02/2008, Amos Jeffries wrote:
>
>> Just a few issues remaining before 3.0.STABLE-2.
>>
>>
>> * Build and tests on as many OS as possible. (branch: SQUID_3_0)
>>
>> I am running the tests I use on Debian/Ubuntu already. Could the rest
>> of you please jump in for any OS you have tests for or even just
>> compiling on.
>
> As usual for 2.6, I will run a build test at least on Irix, Solaris and
> Windows. I hope to run some other build test on my *BSD virtual machines.
>
> The bad news is that 3.0 STABLE is still not operational on Windows: it
> crashes after few request. It seems that there is some strange problem
> in the IPC/FD interaction, but I cannot understand what is happening:
>
> 2008/02/17 19:05:01| setMaxFD: Cannot increase: setrlimit() not
> supported on this system
> 2008/02/17 19:05:01| Starting Squid Cache version 3.0.STABLE1-CVS for
> i686-pc-winnt...
> 2008/02/17 19:05:01| Running as Squid Windows System Service on Windows
> Server 2003
> 2008/02/17 19:05:01| Service command line is:
> 2008/02/17 19:05:01| Process ID 216
> 2008/02/17 19:05:01| With 2048 file descriptors available
> 2008/02/17 19:05:01| With 2048 CRT stdio descriptors available
> 2008/02/17 19:05:01| Windows sockets initialized
> 2008/02/17 19:05:01| Performing DNS Tests...
> 2008/02/17 19:05:02| Successful DNS name lookup tests...
> 2008/02/17 19:05:02| DNS Socket created at 0.0.0.0, port 1189, FD 5
> 2008/02/17 19:05:02| Adding nameserver 172.30.128.1 from Registry
> 2008/02/17 19:05:02| Adding nameserver 172.30.1.1 from Registry
> 2008/02/17 19:05:02| Adding nameserver 172.30.1.2 from Registry
> 2008/02/17 19:05:02| User-Agent logging is disabled.
> 2008/02/17 19:05:02| Referer logging is disabled.
> 2008/02/17 19:05:02| Unlinkd pipe opened on FD 8
> 2008/02/17 19:05:02| Local cache digest enabled; rebuild/rewrite every
> 3600/3600 sec
> 2008/02/17 19:05:02| Store logging disabled
> 2008/02/17 19:05:02| Swap maxSize 102400 KB, estimated 7876 objects
> 2008/02/17 19:05:02| Target number of buckets: 393
> 2008/02/17 19:05:02| Using 8192 Store buckets
> 2008/02/17 19:05:02| Max Mem size: 8192 KB
> 2008/02/17 19:05:02| Max Swap size: 102400 KB
> 2008/02/17 19:05:02| Version 1 of swap file with LFS support detected...
> 2008/02/17 19:05:02| Rebuilding storage in c:/squid/var/cache (CLEAN)
> 2008/02/17 19:05:02| Using Least Load store dir selection
> 2008/02/17 19:05:02| Set Current Directory to c:/squid/var/cache
> 2008/02/17 19:05:02| Loaded Icons.
> 2008/02/17 19:05:02| Accepting HTTP connections at 0.0.0.0, port 3128,
> FD 14.
> 2008/02/17 19:05:02| Accepting ICP messages at 0.0.0.0, port 3130, FD 15.
> 2008/02/17 19:05:02| HTCP Disabled.
> 2008/02/17 19:05:02| Ready to serve requests.
> 2008/02/17 19:05:02| Done reading c:/squid/var/cache swaplog (135 entries)
> 2008/02/17 19:05:02| Finished rebuilding storage from disk.
> 2008/02/17 19:05:02| 135 Entries scanned
> 2008/02/17 19:05:02| 0 Invalid entries.
> 2008/02/17 19:05:02| 0 With invalid flags.
> 2008/02/17 19:05:02| 135 Objects loaded.
> 2008/02/17 19:05:02| 0 Objects expired.
> 2008/02/17 19:05:02| 0 Objects cancelled.
> 2008/02/17 19:05:02| 0 Duplicate URLs purged.
> 2008/02/17 19:05:02| 0 Swapfile clashes avoided.
> 2008/02/17 19:05:02| Took 0.08 seconds (1730.77 objects/sec).
> 2008/02/17 19:05:02| Beginning Validation Procedure
> 2008/02/17 19:05:02| Completed Validation Procedure
> 2008/02/17 19:05:02| Validated 295 Entries
> 2008/02/17 19:05:02| store_swap_size = 1496
> 2008/02/17 19:05:03| storeLateRelease: released 0 objects
> 2008/02/17 19:09:07| CACHEMGR: manager@172.30.128.1 requesting
> 'filedescriptors'
> 2008/02/17 19:09:57| diskHandleWrite: FD 11: disk write error: (9) Bad
> file descriptor
> 2008/02/17 19:09:57| storeDirWriteCleanLogs: Starting...
> 2008/02/17 19:09:57| WARNING: Closing open FD 9
> 2008/02/17 19:09:57| xrename: Cannot rename
> c:/squid/var/cache/swap.state.clean to c:/squid/var/cache/swap.state:
> (17) File exists
> 2008/02/17 19:09:57| Finished. Wrote 138 entries.
> 2008/02/17 19:09:57| Took 0.02 seconds (8625.00 entries/sec).
> FATAL: Write failure -- check your disk space and cache.log
>
> There is also another (or the same ???) problem during reconfigure:

The above is only solved by manually removing the swap.state file. There
is something funky going on with the permissions before these high-level
swap.state operations.
I've seen it here in HEAD and thought it in the code not ported back.

This is a blocker if it's in 3.0.

Amos

>
> 2008/02/17 20:59:02| Reconfiguring Squid Cache (version 3.0.STABLE1-CVS)...
> 2008/02/17 20:59:02| FD 14 Closing HTTP connection
> 2008/02/17 20:59:02| FD 15 Closing ICP connection
> 2008/02/17 20:59:02| Store logging disabled
> 2008/02/17 20:59:02| User-Agent logging is disabled.
> 2008/02/17 20:59:02| Referer logging is disabled.
> 2008/02/17 20:59:02| WARNING: Closing open FD 9
> 2008/02/17 20:59:02| assertion failed: ..\..\..\src\comm.cc:901:
> "fdc_table[new_socket].active == 0"
>
> Regards
>
> Guido
>
>
>
> -
> ========================================================
> Guido Serassio
> Acme Consulting S.r.l. - Microsoft Certified Partner
> Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
> Tel. : +39.011.9530135 Fax. : +39.011.9781115
> Email: guido.serassio@acmeconsulting.it
> WWW: http://www.acmeconsulting.it/
>

-- 
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.
Received on Sat Mar 01 2008 - 03:35:24 MST

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:10 MDT