On Tue, Sep 19, 2000, Andres Kroonmaa wrote:
>
> Why would squid go nuts on reading from a socket and not handling
> zero-byte reads? this causes bursts of 100% cpu usage.
half-closed-cilent detection IIRC. I had this pop up a while back while hacking
the event driven IO code. :-)
Adrian
>
> /1: 2.4793 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4798 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4803 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4810 0.0007 read(690, 0x0F882468, 4095) = 0
> /1: 2.4815 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4820 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4825 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4830 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4835 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4840 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4845 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4851 0.0006 read(251, "FE11EC PFE pBF9AFF87 Q 6".., 16384) = 1460
> /1: 2.4855 0.0004 read(690, 0x0F882468, 4095) = 0
> /1: 2.4862 0.0007 write(86, "FE11EC PFE pBF9AFF87 Q 6".., 1460) = 1460
> /1: 2.4866 0.0004 read(690, 0x0F882468, 4095) = 0
> /1: 2.4871 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4876 0.0005 read(690, 0x0F882468, 4095) = 0
> /1: 2.4883 0.0007 read(32, " V A L I G N = " t o p".., 16384) = 2920
> /1: 2.4887 0.0004 read(690, 0x0F882468, 4095) = 0
> /1: 2.4894 0.0007 write(420, " V A L I G N = " t o p".., 2920) = 2920
> /1: 2.4897 0.0003 read(690, 0x0F882468, 4095) = 0
> /1: 2.4903 0.0006 read(690, 0x0F882468, 4095) = 0
> /1: 2.4911 0.0008 read(181, "B0 + q 4A2 ` 6 dCCEAA0 e".., 16384) = 1460
> /1: 2.4915 0.0004 read(690, 0x0F882468, 4095) = 0
> /1: 2.4923 0.0008 write(150, "B0 + q 4A2 ` 6 dCCEAA0 e".., 1460) = 1460
> /1: 2.4927 0.0004 read(690, 0x0F882468, 4095) = 0
> /1: 2.4931 0.0004 read(690, 0x0F882468, 4095) = 0
> /1: 2.4934 0.0003 read(690, 0x0F882468, 4095) = 0
> /1: 2.4938 0.0004 read(690, 0x0F882468, 4095) = 0
> /1: 2.4941 0.0003 read(690, 0x0F882468, 4095) = 0
> /1: 2.4944 0.0003 read(690, 0x0F882468, 4095) = 0
> /1: 2.4948 0.0004 read(690, 0x0F882468, 4095) = 0
> /1: 2.4952 0.0004 read(690, 0x0F882468, 4095) = 0
> /1: 2.4955 0.0003 read(690, 0x0F882468, 4095) = 0
> /1: 2.4958 0.0003 read(690, 0x0F882468, 4095) = 0
> /1: 2.4961 0.0003 read(690, 0x0F882468, 4095) = 0
>
>
>
> ------------------------------------
> Andres Kroonmaa <andre@online.ee>
> Delfi Online
> Tel: 6501 731, Fax: 6501 708
> Pärnu mnt. 158, Tallinn,
> 11317 Estonia
>
-- Adrian Chadd "If a butterfly flaps its wings in China, <adrian@creative.net.au> will a women get naked in Amsterdam?" -- Ashley Penney on Chaos TheoryReceived on Wed Sep 20 2000 - 07:55:15 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:37 MST