Why access_log so large?

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

 



hi,list!

    My server use 1.3 and work well all the time.
    Recently,i upate 1.3 to 2.2 with the configuration almost same as 1.3! And 2.2 is working well for several days!
    But when i compare the access_log between 1.3 and 2.2 , i find 2.2's access_log so large then 1.3's.
[1.3 access_log]
[root@cms101 09]# cat www_access_log | wc -l
39069
[root@cms101 09]# awk -F '[ ?]+' '{a[$7]++}END{for(i in a)printf "%s %d\n",i,a[i]}' www_access_log | sort -k2nr | head -5
/ 7043
/rest/track/track.js 1840
/lbi-image/homepage/gif9901.gif 1791
/lbi-image/homepage/gif000001.gif 1700
/rest/text.htm 1610
[2.2 access_log]
[root@cms101 14]# cat www_access_log | wc -l
169729
[root@cms101 14]# awk -F '[ ?]+' '{a[$7]++}END{for(i in a)printf "%s %d\n",i,a[i]}' www_access_log | sort -k2nr | head -5
/ 75393
/newjs/hexunjs.js 42849
/newcss/hexun2008.css 7912
/chinabank.js 7585
/favicon.ico 6117

    I have two squid in front of apache to cache ,and use squid control cache time!!
	




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux