RE: [squid-users] packet dropped on Linux

From: Elsen Marc <elsen@dont-contact.us>
Date: Fri, 6 Aug 2004 07:39:29 +0200

 
>
> Dear group
>
> I've a problem about packet dropped on Linux Gentoo.
> I use squid squid-2.5.STABLE3 and Linux kernel 2.4.26=gentoo-r6
>
> node04 root # uname -a
> Linux node04 2.4.26-gentoo-r6 #4 Thu Jul 29 17:29:09 ICT 2004 i686
> Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
>
> the system is dedicated to run squid only. all our client is dial-up
> modem 56K and it serve up to 500 request/s
> we use WCCPv2 + Cisco router for redirect packet to squid on port 80
> and we use iptables redirect all port 80
> connection to squid port 3128
>
> --------- System informatio ------------
> - P-IV 2.80E
> - ASUS P4P800 SE
> - RAM 2GB
> - 2 Harddisk IDE Seagate 120GB and 40GB
>
> After squid work for a day the most memory was allocated to
> buffer/cache
> and swap grow up to 700MB
>
> node04 root # vmstat 1
> procs -----------memory---------- ---swap-- -----io---- --system--
> ----cpu----
> r b swpd free buff cache si so bi bo in cs us
> sy id wa
> 2 2 752700 50200 123536 574736 1 1 64 55
> 58 48 28
> 47 25 0
> 3 1 752700 49348 123576 575552 0 0 536 0
> 9803 5638 49
> 51 0 0
> 3 1 752700 49932 123564 575052 0 0 292 0
> 10829 5950
> 44 54 2 0
> 2 5 752700 50476 123616 574352 0 0 496 2048
> 9846 5591 49
> 51 0 0
> 3 3 752700 49924 123684 574956 0 0 544 0
> 9316 5554 46
> 54 0 0
> 2 0 752700 50548 123688 574512 0 0 344 0
> 9699 5820 50
> 50 0 0
> 2 0 752700 49912 123744 575028 0 0 412 0
> 9826 5663 50
> 50 0 0
> 3 4 752700 50168 123712 574876 0 0 700 0
> 9166 5550 45
> 55 0 0
>
>
> We have many packet drop reported on /var/log/message
>
> Aug 5 19:55:44 node04 Out of socket memory
>...

Roughly speaking you are suffering from kernel resource problem(s);
hence this stuff being more kernel related and not essentially SQUID related.

Checkout for instance this thread on the 'Out of socket memory' error.
I found it rather informative (found through Googling my mind) :

  http://www.ussg.iu.edu/hypermail/linux/kernel/0012.0/0771.html
 
M.
Received on Thu Aug 05 2004 - 23:40:05 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:01 MDT