Search squid archive

Re: Strange disk full in FreeBSD

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

 



On 07.11 20:18, forgetful tan wrote:
> My squids ran into trouble after it startup for some period of time.
> Squid stop accepting new connections. When I login to that machine and
> ran df, it show out that there's 100% space usage in the cache_dir .

Read: http://www.squid-cache.org/Doc/FAQ/FAQ.html#toc4.14

maybe you configured cache_dir too big.

> I tried to stop squid and re-newfs . But I just can't umount it !

There's probably process having opened something on that filesystem
(e.g. it's current directory is on it)

> The only way I can fix it is to reboot the machine to let it be fscked.
> And after the reboot, I df again and got about 20% disk usage in the
> cache_dir .

did you "rm -rf" everything in that directory?

> I met the same problem in FreeBSD from 4.3 to 4.9 with
> cache_dir of UFS+SoftUpdate?? I check the google for UFS problem and got
> some advice on changing the time optimize to space optimize. But I just
> don't think that's the problem I met, coz if all the blocks are used up,
> then it can't be fix after a simple reboot (with a fsck ?), right ?

there may be process having open files which were removed, but as long as
they are open, they still take space on the disk. After reboot they get
physically removed.

Where do you store your logs?
-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
M$ Win's are shit, do not use it !

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

  Powered by Linux