Search squid archive

COSS trouble revisited ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Finally 2.6STABLE4 made it to FreeBSD (6.x) ports. I made an attempt at 
using Squid with COSS cache.
Squid fails to start and there is a core dump.


Here are the details:

cache_dir coss /usr/local/squid/squid-coss/c0d2p1 5 max-size=131072
cache_dir coss /usr/local/squid/squid-coss/c0d2p2 5 max-size=1048575
cache_swap_log /usr/local/squid/logs/%s

cache_dir aufs /usr/local/squid/cache1 5120 16 256
cache_dir aufs /usr/local/squid/cache2 5120 16 256


beastie# gdb /usr/local/sbin/squid squid.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `squid'.
Program terminated with signal 12, Bad system call.
Reading symbols from /lib/libcrypt.so.3...done.
Loaded symbols for /lib/libcrypt.so.3
Reading symbols from /usr/lib/libssl.so.4...done.
Loaded symbols for /usr/lib/libssl.so.4
Reading symbols from /lib/libcrypto.so.4...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /lib/libm.so.4...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /lib/libpthread.so.2...done.
Loaded symbols for /lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x48314997 in aio_read () from /lib/libc.so.6
[New LWP 100200]
(gdb) where
#0  0x48314997 in aio_read () from /lib/libc.so.6
#1  0x080ea8cd in a_file_read (q=0x832c04c, fd=8, buf=0x88dc000, req_len=1048576, offset=0,
    callback=0x80e9c8c <storeDirCoss_ReadStripeComplete>, data=0x8819210) at coss/async_io.c:98
#2  0x080e94fc in storeDirCoss_ReadStripe (rb=0x8819210) at coss/store_dir_coss.c:1238
#3  0x080e9834 in storeCossDirInit (sd=0x8325c00) at coss/store_dir_coss.c:1257
#4  0x080cac43 in storeDirInit () at store_dir.c:66
#5  0x080c82f8 in storeInit () at store.c:1592
#6  0x080af49f in main (argc=2, argv=0xbfbfeb70) at main.c:610



cache.log:

2006/11/05 16:27:15| Starting Squid Cache version 2.6.STABLE4 for i386-portbld-freebsd6.2...
2006/11/05 16:27:15| Process ID 97930
2006/11/05 16:27:15| With 8960 file descriptors available
2006/11/05 16:27:15| Using kqueue for the IO loop
2006/11/05 16:27:15| DNS Socket created at 0.0.0.0, port 57946, FD 5
2006/11/05 16:27:15| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2006/11/05 16:27:15| Adding nameserver 192.168.51.1 from /etc/resolv.conf
2006/11/05 16:27:15| User-Agent logging is disabled.
2006/11/05 16:27:15| Referer logging is disabled.
2006/11/05 16:27:18| Starting Squid Cache version 2.6.STABLE4 for i386-portbld-freebsd6.2...
2006/11/05 16:27:18| Process ID 98133
2006/11/05 16:27:18| With 8960 file descriptors available
2006/11/05 16:27:18| Using kqueue for the IO loop
2006/11/05 16:27:18| DNS Socket created at 0.0.0.0, port 51565, FD 5
2006/11/05 16:27:18| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2006/11/05 16:27:18| Adding nameserver 192.168.51.1 from /etc/resolv.conf
2006/11/05 16:27:18| User-Agent logging is disabled.
2006/11/05 16:27:18| Referer logging is disabled.




-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@xxxxxxxxxxxx>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

The cow is nothing but a machine with makes grass fit for us people to
eat.
		-- John McNulty

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux