Search squid archive

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

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

 



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 

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

  Powered by Linux