RE: [squid-users] proxy crashes...filedescriptors problem

From: Elsen Marc <elsen@dont-contact.us>
Date: Fri, 14 May 2004 11:23:36 +0200

 
> hi all
>
>
> I'm running Squid Cache: Version 2.4.STABLE6
> on Linux version 2.4.20-28.7smp Red Hat Linux 7.3 2.96-126
>
> on an Intel platform, with 1Gb RAM
>
> ANhour ago my server crashed and now when I restart squid, i

  How did SQUID crash, at that time. What was in cache.log ?

> get the ff
> mesgs (note that squid is running...but i suspect it is
> running slower
> that before crash)
>
> In cache.log i get ff mesgs :-
> 2004/05/14 11:00:52| WARNING: failed to unpack meta data
> 2004/05/14 11:01:40| WARNING! Your cache is running out of
> filedescriptors
> 2004/05/14 11:01:56| WARNING! Your cache is running out of
> filedescriptors
> 2004/05/14 11:02:12| WARNING! Your cache is running out of
> filedescriptors
>

  Check cachemgr -> Process Filedescriptor Allocation

  to find out, bogus usage patterns of FD's.

> here is some more info
>
> [root@Athena root]# df -i
> Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/sda1 1987136 217570 1769566 11% /
> none 128834 1 128833 1% /dev/shm
> /dev/sda2 127744 4024 123720 4% /var
> /dev/sdb1 4294967295 0 4294967295 0% /cache01
> /dev/sdc1 4294967295 0 4294967295 0% /cache02
> /dev/sdd1 4294967295 0 4294967295 0% /cache03
>
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda1 15622740 10589020 4240112 72% /
> none 515336 0 515336 0% /dev/shm
> /dev/sda2 1004052 725892 227156 77% /var
> /dev/sdb1 17919924 13105020 4814904 74% /cache01
> /dev/sdc1 17919924 13513844 4406080 76% /cache02
> /dev/sdd1 71768160 48846828 22921332 69% /cache03
>
>
> /var/log/messages show nothing weird at time of crash
>
> May 14 09:57:16 Athena kernel: hw tcp v4 csum failedMay 14 09:58:38
> Athena last message repeated 2 times
> May 14 10:00:20 Athena last message repeated 4 timesMay 14 10:02:22
> Athena last message repeated 2 times
> May 14 10:07:59 Athena syslogd 1.4.1: restart.
>
> the hw tcp v4 csum failed msg appears all the time and has
> been since i
> built server a few years ago.
>
  This one I found informative on that subject :
 
           http://www.uwsg.iu.edu/hypermail/linux/net/0311.2/0030.html

  M.
Received on Fri May 14 2004 - 03:26:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT