Re: [squid-users] Store log too big

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 26 Mar 2002 02:31:35 +0100

What OS are you using?

For example Solaris is known to "lie" about the amount of free disk
space.. only telling half of the truth. See the Squid FAQ section on
Solaris for details.

But from the device names it looks like you are using Linux. In such
case there basically only is four alternatives:

a) Your machine really ran out of space, perhaps temporarily due to
something else.

b) There is resourse limits preventing Squid from creating files larger
than a certain size. See the ulimit command.

c) Filesystem corruption. See your system messages file.

d) Perhaps your store.log file is hitting the 2GB barrier (does not
looks so from your printour, or from the error message, but...)

Regards
Henrik Nordström
Squid Developer

Jairo.Castañeda wrote:
>
> > Hi,
> >
> > Today my squid stopped and refused to start again until I renamed my
> > store.log. Checking the system log I found the following lines:
> >
> > Mar 1 16:24:50 bogs201 (squid): logfileWrite:
> > /usr/local/squid/logs/store.log: (28) No space left on device
> > Mar 1 16:24:50 bogs201 squid[31866]: Squid Parent: child process 31883
> > exited with status 1
> >
> > Well, I know that the message is very clear but there was a lot of space
> > available on my disk:
> > Filesystem 1k-blocks Used Available Use% Mounted on
> > /dev/sda1 1032072 132972 846672 14% /
> > /dev/sdb1 8782840 7063944 1272740 85% /tmp/cache/sdb1
> > /dev/sdc1 8782840 7066764 1269920 85% /tmp/cache/sdc1
> > /dev/sda6 2064144 752448 1206788 39% /usr
> > /dev/sda5 4653432 896180 3520864 21% /usr/local
> >
> > As you see, /usr/local usage was at 21% so there was space left. Why did
> > squid refuse to start?
> >
> > This is a snapshot of my logs:
> > -rw-r--r-- 1 nobody nogroup 398M Mar 1 16:58 access.log
> > -rw-r--r-- 1 nobody nogroup 22M Mar 1 16:58 cache.log
> > -rw-r--r-- 1 root root 7.0k Feb 26 15:10 colvanes.err
> > -rw-r--r-- 1 root root 2.0k Feb 28 10:40 demo.err
> > -rw-r--r-- 1 root nogroup 6 Mar 1 16:33 squid.pid
> > -rw-r--r-- 1 nobody nogroup 451M Mar 1 16:24 store.log
> >
> > I don't think they are too big, am I wrong? is there any tag that I should
> > check in my squid.conf which limits the size of my store.log file?
> >
> >
> > Jairo Castañeda
Received on Mon Mar 25 2002 - 20:20:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:05 MST