Trouble!

From: Andres Kroonmaa <andre@dont-contact.us>
Date: Thu, 2 Oct 1997 21:15:26 +0200 (EETDST)

--MimeMultipartBoundary
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT

   Hello,

   There have been real long silence here, or is it just my problem?

 I have real trouble.

 squid-1.1-NOVM-15. Worked fine for last few months. NO changes made to any
 config. Just more customers AND, you know, this IE 4.0 release...

 Cache hangs and does not recover itself. Connections are accepted (as seen by
 telnet ^] connected...) but nothing happens.

 netstat -n shows about 255-260 active TCP sessions, thats fine. I run Solaris-x86 2.5.0
 on a PPro-150 and max FD-s are set at 2048. At times when squid hangs, it has
 over 1500 open FD-s!!! BTW, quick-abort is off (I mean "-1 0 0" ).

 It seems to me that open FD-s and number of active sessions doesn't correlate by
 any means - 260 TCP sessions and 1500 open files? Must be a bug in squid of what?
 
 Alright, while max FD-s are reached, it should still service those that are open, but it
 slows down to a crawl - and something strange is happening. Here is included a small
 part of "truss -p PID" output of squid process, can anyone explain whats going on?
 To me, squid is doing 95% of nothing and then 5% of work...

 Seems like there's something broken with the case when there are too many open files,
 maybe that's NOVM specific, but I can't use plain version anymore for memory concerns.
 Fun thing is that there are way too many FD-s in [Reading and Writing same file] without
 a socket open - just like Read/Write got stuck somehow after client is gone...

poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(272, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(276, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(277, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(280, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(283, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(288, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(292, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(301, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(306, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(321, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(328, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(352, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(360, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(363, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(364, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(375, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(387, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
write(390, " G E T / ~ f o k u s /".., 616) = 616
gettimeofday(0x080F3A20) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(392, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(400, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0
poll(0x08043BD8, 1, 0) = 0
read(401, 0x080CC828, 255) = 0
poll(0x08043BD8, 1, 0) = 0

 ----------------------------------------------------------------------
  Andres Kroonmaa mail: andre@online.ee
  Network Manager
  Organization: MicroLink Online Tel: 6308 909
  Tallinn, Sakala 19 Pho: +372 6308 909
  Estonia, EE0001 http://www.online.ee Fax: +372 6308 901
 ----------------------------------------------------------------------

--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:25 MST