Henrik, I don't use an external log rotation program. What's that and what
program should I use? Sorry I just installed squid, saw that it worked and
continued on my work on other software that needed squid to operate. I took
a look at /var/log/squid again this morning and it was as follows:
total 132
drwxr-x--x 2 squid squid 4096 Apr 22 04:02 .
drwxr-xr-x 7 root root 4096 Apr 20 04:02 ..
-rw-r--r-- 1 squid squid 0 Apr 13 04:02 access.log
-rw-r--r-- 1 squid squid 6478 Apr 13 04:02 access.log.1.gz
-rw-r--r-- 1 squid squid 24391 Apr 6 04:02 access.log.2.gz
-rw-r--r-- 1 squid squid 0 Apr 22 04:02 cache.log
-rw-r--r-- 1 squid squid 291 Apr 22 04:02 cache.log.1.gz
-rw-r--r-- 1 squid squid 2618 Apr 13 04:02 cache.log.2.gz
-rw-r--r-- 1 squid squid 2648 Apr 6 04:02 cache.log.3.gz
-rw-r--r-- 1 squid squid 0 Apr 13 04:02 store.log
-rw-r--r-- 1 squid squid 16661 Apr 13 04:02 store.log.1.gz
-rw-r--r-- 1 squid squid 56076 Apr 6 04:02 store.log.2.gz
cache.log was gzipped and today it had a size of 0 too!
So I gunzipped cache.log.1.gz and it contained the following:
CPU Usage: 1.350 seconds = 0.930 user + 0.420 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 369
Memory usage for squid via mallinfo():
total space in arena: 3374 KB
Ordinary blocks: 3308 KB 81 blks
Small blocks: 0 KB 0 blks
Holding blocks: 176 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 65 KB
Total in use: 3484 KB 103%
Total free: 65 KB 2%
Many thanks for your help,
Gilbert
-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Monday, April 21, 2003 3:29 PM
To: Galea Gilbert; squid-users@squid-cache.org
Subject: Re: [squid-users] Squid logs
It looks like something went wrong when your external log rotation
program last rotated the log files, or your Squid is not used.
What does your cache.log say?
Regards
Henrik
On Monday 21 April 2003 14.34, Galea Gilbert wrote:
> Hi Squid gurus,
>
> Does anybody know why an ls -la in /var/log/squid on my RH7.2 gives
> the following?
>
> total 132
> drwxr-x--x 2 squid squid 4096 Apr 13 04:02 .
> drwxr-xr-x 7 root root 4096 Apr 20 04:02 ..
> -rw-r--r-- 1 squid squid 0 Apr 13 04:02 access.log
> -rw-r--r-- 1 squid squid 6478 Apr 13 04:02 access.log.1.gz
-rw-r--r-- 1 squid squid 24391 Apr 6
> 04:02 access.log.2.gz -rw-r--r-- 1 squid squid 468
> Apr 21 14:12 cache.log -rw-r--r-- 1 squid squid 2618
> Apr 13 04:02 cache.log.1.gz -rw-r--r-- 1 squid squid
> 2648 Apr 6 04:02 cache.log.2.gz -rw-r--r-- 1 squid squid
> 0 Apr 13 04:02 store.log -rw-r--r-- 1 squid squid
> 16661 Apr 13 04:02 store.log.1.gz -rw-r--r-- 1 squid squid
> 56076 Apr 6 04:02 store.log.2.gz
>
> Why does access.log and store.log have a size of 0? I have tried to
> access other pages to generate new entries in the log files however
> these two files remain 0 bytes. However squid is working perfectly.
>
> Many thanks,
> Gilbert
> *******************************************************************
>*********
> *******************************************************************
>********* **************
>
> FREE Internet connection anytime, anywhere.
>
> Surf the Web and send/receive email when you're out and about. All
> you need is your GPRS-enabled phone and laptop or PDA.
>
> Visit www.vodafone.com.mt for more info.
>
> *******************************************************************
>*********
> *******************************************************************
>********* **************
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org If you need commercial Squid support or cost effective Squid or firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, [email protected] **************************************************************************** **************************************************************************** ************** FREE Internet connection anytime, anywhere. Surf the Web and send/receive email when you're out and about. All you need is your GPRS-enabled phone and laptop or PDA. Visit www.vodafone.com.mt for more info. **************************************************************************** **************************************************************************** **************Received on Tue Apr 22 2003 - 01:12:28 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:08 MST