But i didnt got any error after upgrade my freebsd 4.1 to freebsd4.3Stable..
(My squid version is 2.3ST4, it was installed from /usr/ports when i used to
use FreeBSD4.1)
bash-2.04$ gcc -v
Using builtin specs.
gcc version 2.95.2 19991024 (release)
Best regards,
Ilker G.
> Kimden: Lim Seng Chor [mailto:Lim.Seng.Chor@sit.edu.my]
> Tarih: Wednesday, May 23, 2001 1:11 PM
> Kime: Seung Yoo
> Bilgi: squid-users@squid-cache.org
> Konu: Re: [squid-users] Squid Keep Crashing in FreeBSD 4.3
>
>
> I believe this is the problem experienced by most of the FreeBSD
> squid users.
> Well, the GCC shipped with the FreeBSD is broken. Do not use
> the compiler optimization for the squid compilation. This will cause
> to the segmentation fault/memory violations problem.
> Try either ways at the following:
> (1)
> cd /path/to/squid/src/squid-2.4
> make distclean
> env CFLAGS=-O ./configure
> make
> make install
>
> (2) go and modify your squid 'configure' script
> # Remove optimization for GCC 2.95.[12]
> # gcc -O[2] on *BSD and Linux (x86) causes pointers to magically
> become NULL
> if test "$GCC" = "yes"; then
> GCCVER=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
> case "$GCCVER" in
> 2.95.[12])
> echo "Removing -O for gcc on $host with GCC
> $GCCVER"
> CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
> ;;
> esac
> fi
>
> change the line:
> 2.95.[12])
> to
> 2.95.[123])
>
> Hope this would help.
>
>
> On 23 May 2001, at 18:36, Seung Yoo wrote:
>
> > Hi, everybody, I recently upgrade FreeBSD4.2 to FreeBSD4.3, but the
> > squid keeps restarts and eventually dies. I use the squid as a
> > http_accelerator and have the computer setting as the following.
> > Thanks.
> >
> > Ryu
> >
> > CPU: 1G
> > RAM: 512M
> > BX board
> >
> > squid-2.3.STABLE4 - port 80
> > apache-1.3.19 - port 81
> > mysql 3.23.36
> > php 4.0.3.p1
> > FreeBSD 4.3
> >
> > the crash messages:
> >
> > FATAL: Received Segment Violation...dying.
> > 2001/05/21 14:17:34| storeDirWriteCleanLogs: Starting...
> > 2001/05/21 14:17:34| WARNING: Closing open FD 8
> > 2001/05/21 14:17:34| Finished. Wrote 4225 entries.
> > 2001/05/21 14:17:34| Took 0.0 seconds (696964.7 entries/sec).
> > CPU Usage: 11.134 seconds = 6.747 user + 4.387 sys
> > Maximum Resident Size: 18668 KB
> > Page faults with physical i/o: 0
> > 2001/05/21 14:17:37| Starting Squid Cache version 2.3.STABLE4 for
> > i386-unknown-freebsd4.3...
>
>
Bu e-postada bulunan tüm fikir ve görüşler ve ekindeki dosyalar sadece adres
sahib(ler)ine ait olup, Sümerbank A.Ş hiç bir şekilde sorumlu tutulamaz.
The information contained in this E-Mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom they are
addressed and do not reflect those of Sumerbank A.S.
Received on Wed May 23 2001 - 08:24:43 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:15 MST