[squid-users] AUFS failures on Solaris/Sparc? (Squid2.5.STABLE3)

From: <nospam@dont-contact.us>
Date: Thu, 17 Jul 2003 19:53:52 -0500 (CDT)

Are there any known issues with Squid2.5.STABLE3 on Solaris 8 with AUFS
resulting in dumping core in the validation phase of cache startup?

After a reboot (emergency shutdown), I find that the squid process fails to
restart successfully, and each time an attempt is made to restart the
process dies here:

        assertion failed: store_rebuild.c:79: "store_errors == 0"
        Abort - core dumped

I've included the unabridged startup log information below. Offhand it does
not appear that squid-2.5.STABLE4 addresses the issue we are encountering?

Thanks,

Kevin Kadow

2003/07/16 15:18:29| Starting Squid Cache version 2.5.STABLE3 for sparc-sun-solaris2.8...
2003/07/16 15:18:29| Process ID 1050
2003/07/16 15:18:29| With 4096 file descriptors available
2003/07/16 15:18:29| Performing DNS Tests...
2003/07/16 15:18:29| Successful DNS name lookup tests...
2003/07/16 15:18:29| DNS Socket created at AA.BB.CC.4, port 32780, FD 4
2003/07/16 15:18:29| Adding nameserver 127.0.0.1 from squid.conf
2003/07/16 15:18:29| Unlinkd pipe opened on FD 8
2003/07/16 15:18:29| Swap maxSize 27648000 KB, estimated 2126769 objects
2003/07/16 15:18:29| Target number of buckets: 106338
2003/07/16 15:18:29| Using 131072 Store buckets
2003/07/16 15:18:29| Max Mem size: 2096128 KB
2003/07/16 15:18:29| Max Swap size: 27648000 KB
2003/07/16 15:18:29| Local cache digest enabled; rebuild /rewrite every 3600/3600 sec
2003/07/16 15:18:29| Store logging disabled
2003/07/16 15:18:29| Rebuilding storage in /squid (DIRTY)
2003/07/16 15:18:29| Using Least Load store dir selection
2003/07/16 15:18:29| Set Current Directory to /squid/cores
2003/07/16 15:18:29| Loaded Icons.
2003/07/16 15:18:29| Accepting HTTP connections at AA.BB.CC.4, port 3128, FD 9.
2003/07/16 15:18:29| Accepting ICP messages at AA.BB.CC.4, port 3130, FD 10.
2003/07/16 15:18:29| Outgoing ICP messages on port 3130, FD 11.
2003/07/16 15:18:29| Accepting HTCP messages on port 4827, FD 12.
2003/07/16 15:18:29| Outgoing HTCP messages on port 4827, FD 13.
2003/07/16 15:18:29| Accepting SNMP messages on port 3401, FD 14.
2003/07/16 15:18:29| WCCP Disabled.
2003/07/16 15:18:29| Ready to serve requests.
2003/07/16 15:18:29| Store rebuilding is 16.1% complete
2003/07/16 15:18:29| Done reading /squid swaplog (25499 entries)
2003/07/16 15:18:29| Finished rebuilding storage from disk.
2003/07/16 15:18:29| 24768 Entries scanned
2003/07/16 15:18:29| 0 Invalid entries.
2003/07/16 15:18:29| 0 With invalid flags.
2003/07/16 15:18:29| 24515 Objects loaded.
2003/07/16 15:18:29| 0 Objects expired.
2003/07/16 15:18:29| 246 Objects cancelled.
2003/07/16 15:18:29| 371 Duplicate URLs purged.
2003/07/16 15:18:29| 2 Swapfile clashes avoided.
2003/07/16 15:18:29| Took 0.0 seconds (24515.0 objects/sec).
2003/07/16 15:18:29| Beginning Validation Procedure
2003/07/16 15:18:35| storeAufsCleanupDoubleCheck: MISSING SWAP FILE
2003/07/16 15:18:35| storeAufsCleanupDoubleCheck: FILENO 0000415D
2003/07/16 15:18:35| storeAufsCleanupDoubleCheck: PATH /squid/00/41/0000415D
2003/07/16 15:18:35| StoreEntry->key: 4C4C744806AEC2DB3C1D08AB45053758
2003/07/16 15:18:35| StoreEntry->next: 0
2003/07/16 15:18:35| StoreEntry->mem_obj: 0
2003/07/16 15:18:35| StoreEntry->timestamp: 1058373808
2003/07/16 15:18:35| StoreEntry->lastref: 1058374156
2003/07/16 15:18:35| StoreEntry->expires: -1
2003/07/16 15:18:35| StoreEntry->lastmod: 978702722
2003/07/16 15:18:35| StoreEntry->swap_file_sz: 5325
2003/07/16 15:18:35| StoreEntry->refcount: 1
2003/07/16 15:18:35| StoreEntry->flags: CACHABLE,DISPATCHED
2003/07/16 15:18:35| StoreEntry->swap_dirn: 0
2003/07/16 15:18:35| StoreEntry->swap_filen: 16733
2003/07/16 15:18:35| StoreEntry->lock_count: 0
2003/07/16 15:18:35| StoreEntry->mem_status: 0
2003/07/16 15:18:35| StoreEntry->ping_status: 0
2003/07/16 15:18:35| StoreEntry->store_status: 0
2003/07/16 15:18:35| StoreEntry->swap_status: 2
2003/07/16 15:18:36| storeAufsCleanupDoubleCheck: SIZE MISMATCH
2003/07/16 15:18:36| storeAufsCleanupDoubleCheck: FILENO 00002D32
2003/07/16 15:18:36| storeAufsCleanupDoubleCheck: PATH /squid/00/2D/00002D32
2003/07/16 15:18:36| storeAufsCleanupDoubleCheck: ENTRY SIZE: 7103, FILE SIZE: 4994
2003/07/16 15:18:36| StoreEntry->key: FB04492D65B7E489C84F18FBB46479EF
2003/07/16 15:18:36| StoreEntry->next: 0
2003/07/16 15:18:36| StoreEntry->mem_obj: 0
2003/07/16 15:18:36| StoreEntry->timestamp: 1058364121
2003/07/16 15:18:36| StoreEntry->lastref: 1058364121
2003/07/16 15:18:36| StoreEntry->expires: -1
2003/07/16 15:18:36| StoreEntry->lastmod: 1051981999
2003/07/16 15:18:36| StoreEntry->swap_file_sz: 7103
2003/07/16 15:18:36| StoreEntry->refcount: 1
2003/07/16 15:18:36| StoreEntry->flags: CACHABLE,DISPATCHED
2003/07/16 15:18:36| StoreEntry->swap_dirn: 0
2003/07/16 15:18:36| StoreEntry->swap_filen: 11570
2003/07/16 15:18:36| StoreEntry->lock_count: 0
2003/07/16 15:18:36| StoreEntry->mem_status: 0
2003/07/16 15:18:36| StoreEntry->ping_status: 0
2003/07/16 15:18:36| StoreEntry->store_status: 0
2003/07/16 15:18:36| StoreEntry->swap_status: 2
2003/07/16 15:18:36| storeAufsCleanupDoubleCheck: SIZE MISMATCH
2003/07/16 15:18:36| storeAufsCleanupDoubleCheck: FILENO 000030FF
2003/07/16 15:18:36| storeAufsCleanupDoubleCheck: PATH /squid/00/30/000030FF
2003/07/16 15:18:36| storeAufsCleanupDoubleCheck: ENTRY SIZE: 40560, FILE SIZE: 4433
2003/07/16 15:18:36| StoreEntry->key: C4DA8F8BBC69C6C59986317FE8F4F229
2003/07/16 15:18:36| StoreEntry->next: 0
2003/07/16 15:18:36| StoreEntry->mem_obj: 0
2003/07/16 15:18:36| StoreEntry->timestamp: 1058365394
2003/07/16 15:18:36| StoreEntry->lastref: 1058365609
2003/07/16 15:18:36| StoreEntry->expires: -1
2003/07/16 15:18:36| StoreEntry->lastmod: 839011061
2003/07/16 15:18:36| StoreEntry->swap_file_sz: 40560
2003/07/16 15:18:36| StoreEntry->refcount: 1
2003/07/16 15:18:36| StoreEntry->flags: CACHABLE,DISPATCHED
2003/07/16 15:18:36| StoreEntry->swap_dirn: 0
2003/07/16 15:18:36| StoreEntry->swap_filen: 12543
2003/07/16 15:18:36| StoreEntry->lock_count: 0
2003/07/16 15:18:36| StoreEntry->mem_status: 0
2003/07/16 15:18:36| StoreEntry->ping_status: 0
2003/07/16 15:18:36| StoreEntry->store_status: 0
2003/07/16 15:18:36| StoreEntry->swap_status: 2
2003/07/16 15:18:36| Completed Validation Procedure
2003/07/16 15:18:36| Validated 24149 Entries
2003/07/16 15:18:36| store_swap_size = 743560k
2003/07/16 15:18:36| assertion failed: store_rebuild.c:79: "store_errors == 0"
Abort - core dumped

$ sbin/squid -v
Squid Cache: Version 2.5.STABLE3
configure options: --prefix=/usr/local/squid --enable-async-io --enable-snmp --enable-cache-digests --enable-underscores --disable-ident-lookups --enable-basic-auth-helpers= --enable-ntlm-auth-helpers= --enable-pthreads --enable-storeio=ufs,aufs --enable-removal-policies=lru,heap --enable-htcp

We are aware of the squid issues with Solaris UFS, to work around this the
32GB /squid filesystem is created using this command line:

        newfs -v -o space -m 1 -f 8192 /dev/rdsk/...

Suggestions to solve/prevent this "failure to start" issue would be
appreciated.

Kevin Kadow
Received on Thu Jul 17 2003 - 18:50:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:10 MST