[squid-users] Trying to create squid log to hold more than 2GB-seg faults

From: Balu <thambi_thekku@dont-contact.us>
Date: Fri, 21 Apr 2006 12:31:26 -0700 (PDT)

Hello All,

I was trying to make squid hold more than 2.1Gb log
file. I know there is option to enable it
"--with-large-files" But I do not want to use this as
there are issues as per Henrick

http://www.squid-cache.org/mail-archive/squid-dev/200402/0021.html

So i compiled the access_log.c and logfile.c by ading
flag "D_FILE_OFFSET_BITS=64". But still I am getting
the segmeation fault when squid log goes beyond 2GB.

Here is compildation steps we used

source='access_log.c' object='access_log.o' libtool=no
\
depfile='.deps/access_log.Po'
tmpdepfile='.deps/access_log.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid25s12/etc/squid.conf\"
-D_FILE_OFFSET_BITS=64 -I. -I. -I../include -I. -I.
-I../include -I../include -g -O2 -Wall -c `test -f
access_log.c || echo './'`access_log.c

source='access_log.c' object='access_log.o' libtool=no
\
depfile='.deps/access_log.Po'
tmpdepfile='.deps/access_log.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid25s12/etc/squid.conf\"
-D_FILE_OFFSET_BITS=64 -I. -I. -I../include -I. -I.
-I../include -I../include -g -O2 -Wall -c `test -f
access_log.c || echo './'`access_log.c

Please let us know your ideas here. How can I run make
squid to handle more than 2GB log file, wit using the
build option "--with-large-files".

Regards,
-Balu.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Fri Apr 21 2006 - 13:31:32 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT