On Thu, 23 Oct 2008 23:39:01 +1300 Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote: > Malte Schröder wrote: > > On Thu, 23 Oct 2008 01:10:58 +0200 > > Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote: > > > >> On ons, 2008-10-22 at 11:31 +0200, Malte Schröder wrote: > >> Not normal. > >> > >> Squid version? > > > > 3.0.STABLE10 > > > >> And how did you measure these? You are not counting TIME_WAIT sockets > >> are you? > > > > by getting cache_object://localhost/filedescriptors and checking > > sockets in ESTABLISHED state. > > > > I attached four files with the output of the filedescriptor page. > > "start" is the state directly after the launch of squid, 1 is the state > > after loading slashdot.org, 2 after reloading slashdot and 3 after > > an additional reload. I increased pconn_timeout to 5 minutes so the > > effect becomes more visible. The parent is a squid 2.6.STABLE20. > > > > Okay, this is getting into stuff for squid-dev. cc'd. > > If you are able build your own squid this patch will at least lead an > indication of whats going on with the idle FD. Patch applied, filedescriptors after some reloads on slashdot attached. > > Amos
Active file descriptors: File Type Tout Nread * Nwrite * Remote Address Description ---- ------ ---- -------- -------- --------------------- ------------------------------ 5 Log 0 0 0 /var/log/squid3/cache.log 7 File 0 0 1131 /var/log/squid3/access_mod.log 8 Socket 0 0 44 .0 DNS Socket 9 Pipe 0 0 0 unlinkd -> squid 10 Socket 0 0 0 .0 HTTP Socket 11 Socket 0 0 0 .0 HTTP Socket 12 Pipe 0 0 0 squid -> unlinkd 13 Socket 0 0 0 .0 HTTP Socket 14 Socket 0 0 0 .0 SNMP Port 15 Socket 4 422* 1676 127.0.0.1.8086 idle connection for test_parent:8086 16 Socket 4 423* 1614 127.0.0.1.8086 idle connection for test_parent:8086 17 Socket 4 423* 1682 127.0.0.1.8086 idle connection for test_parent:8086 18 Socket 4 424* 1664 127.0.0.1.8086 idle connection for test_parent:8086 19 Socket 4 422* 1676 127.0.0.1.8086 idle connection for test_parent:8086 20 Socket 4 425* 1616 127.0.0.1.8086 idle connection for test_parent:8086 21 Socket 4 425* 1616 127.0.0.1.8086 idle connection for test_parent:8086 22 Socket 15 0* 1488 10.248.7.86.80 http://squid3-test/cgi-bin/cachemgr3.cgi?host=localhost&port=70 23 Socket 1440 186 0* 127.0.0.1.33298 Reading next request 25 Socket 4 424* 1608 127.0.0.1.8086 idle connection for test_parent:8086 27 Socket 4 425* 1610 127.0.0.1.8086 idle connection for test_parent:8086 28 Socket 4 424* 1608 127.0.0.1.8086 idle connection for test_parent:8086 29 Socket 4 425* 1604 127.0.0.1.8086 idle connection for test_parent:8086 30 Socket 4 425* 1610 127.0.0.1.8086 idle connection for test_parent:8086 31 Socket 4 425* 1610 127.0.0.1.8086 idle connection for test_parent:8086 32 Socket 4 425* 1676 127.0.0.1.8086 idle connection for test_parent:8086 33 Socket 4 422* 1684 127.0.0.1.8086 idle connection for test_parent:8086 34 Socket 4 423* 1692 127.0.0.1.8086 idle connection for test_parent:8086 35 Socket 4 425* 1604 127.0.0.1.8086 idle connection for test_parent:8086 36 Socket 4 423* 1706 127.0.0.1.8086 idle connection for test_parent:8086 37 Socket 4 425* 1610 127.0.0.1.8086 idle connection for test_parent:8086 38 Socket 4 423* 1614 127.0.0.1.8086 idle connection for test_parent:8086 39 Socket 4 425* 1634 127.0.0.1.8086 idle connection for test_parent:8086 40 Socket 4 424* 1664 127.0.0.1.8086 idle connection for test_parent:8086 41 Socket 4 425* 1634 127.0.0.1.8086 idle connection for test_parent:8086 42 Socket 4 425* 1628 127.0.0.1.8086 idle connection for test_parent:8086 43 Socket 4 425* 1634 127.0.0.1.8086 idle connection for test_parent:8086 44 Socket 4 425* 1640 127.0.0.1.8086 idle connection for test_parent:8086 45 Socket 4 425* 1652 127.0.0.1.8086 idle connection for test_parent:8086 46 Socket 4 425* 1654 127.0.0.1.8086 idle connection for test_parent:8086 47 Socket 4 425* 1646 127.0.0.1.8086 idle connection for test_parent:8086 48 Socket 4 425* 1652 127.0.0.1.8086 idle connection for test_parent:8086 49 Socket 4 425* 1640 127.0.0.1.8086 idle connection for test_parent:8086 50 Socket 4 425* 1632 127.0.0.1.8086 idle connection for test_parent:8086 51 Socket 4 425* 1644 127.0.0.1.8086 idle connection for test_parent:8086 52 Socket 4 425* 1640 127.0.0.1.8086 idle connection for test_parent:8086 53 Socket 4 423* 1680 127.0.0.1.8086 idle connection for test_parent:8086 54 Socket 4 422* 1690 127.0.0.1.8086 idle connection for test_parent:8086 55 Socket 4 423* 1704 127.0.0.1.8086 idle connection for test_parent:8086 56 Socket 4 423* 1698 127.0.0.1.8086 idle connection for test_parent:8086 57 Socket 4 423* 1704 127.0.0.1.8086 idle connection for test_parent:8086 58 Socket 4 423* 1696 127.0.0.1.8086 idle connection for test_parent:8086 59 Socket 4 423* 1698 127.0.0.1.8086 idle connection for test_parent:8086 60 Socket 4 423* 1714 127.0.0.1.8086 idle connection for test_parent:8086 61 Socket 4 423* 1696 127.0.0.1.8086 idle connection for test_parent:8086 62 Socket 4 423* 1682 127.0.0.1.8086 idle connection for test_parent:8086 63 Socket 4 423* 1674 127.0.0.1.8086 idle connection for test_parent:8086 64 Socket 4 423* 1666 127.0.0.1.8086 idle connection for test_parent:8086 65 Socket 4 422* 1698 127.0.0.1.8086 idle connection for test_parent:8086 66 Socket 4 425* 1674 127.0.0.1.8086 idle connection for test_parent:8086 67 Socket 4 423* 1690 127.0.0.1.8086 idle connection for test_parent:8086 68 Socket 4 423* 1696 127.0.0.1.8086 idle connection for test_parent:8086 69 Socket 4 423* 1672 127.0.0.1.8086 idle connection for test_parent:8086 70 Socket 4 423* 1666 127.0.0.1.8086 idle connection for test_parent:8086 71 Socket 4 423* 1668 127.0.0.1.8086 idle connection for test_parent:8086 72 Socket 4 425* 1680 127.0.0.1.8086 idle connection for test_parent:8086 73 Socket 4 425* 1628 127.0.0.1.8086 idle connection for test_parent:8086 74 Socket 4 425* 1666 127.0.0.1.8086 idle connection for test_parent:8086 75 Socket 4 425* 1616 127.0.0.1.8086 idle connection for test_parent:8086 76 Socket 4 423* 1680 127.0.0.1.8086 idle connection for test_parent:8086 77 Socket 4 422* 1680 127.0.0.1.8086 idle connection for test_parent:8086 78 Socket 4 423* 1688 127.0.0.1.8086 idle connection for test_parent:8086 79 Socket 4 423* 1688 127.0.0.1.8086 idle connection for test_parent:8086 80 Socket 4 423* 1692 127.0.0.1.8086 idle connection for test_parent:8086 81 Socket 4 422* 1682 127.0.0.1.8086 idle connection for test_parent:8086 82 Socket 4 425* 1628 127.0.0.1.8086 idle connection for test_parent:8086 83 Socket 4 425* 1634 127.0.0.1.8086 idle connection for test_parent:8086 85 Socket 4 425* 1640 127.0.0.1.8086 idle connection for test_parent:8086 86 Socket 4 423* 1682 127.0.0.1.8086 idle connection for test_parent:8086 87 Socket 4 425* 1652 127.0.0.1.8086 idle connection for test_parent:8086 89 Socket 4 425* 1654 127.0.0.1.8086 idle connection for test_parent:8086 90 Socket 4 425* 1646 127.0.0.1.8086 idle connection for test_parent:8086 91 Socket 4 425* 1652 127.0.0.1.8086 idle connection for test_parent:8086 92 Socket 4 425* 1640 127.0.0.1.8086 idle connection for test_parent:8086 93 Socket 4 425* 1632 127.0.0.1.8086 idle connection for test_parent:8086 94 Socket 4 425* 1644 127.0.0.1.8086 idle connection for test_parent:8086 95 Socket 4 425* 1640 127.0.0.1.8086 idle connection for test_parent:8086 96 Socket 4 425* 1628 127.0.0.1.8086 idle connection for test_parent:8086 97 Socket 4 425* 1666 127.0.0.1.8086 idle connection for test_parent:8086 98 Socket 4 4081* 1198 127.0.0.1.8086 idle connection for test_parent:8086 99 Socket 4 425* 1616 127.0.0.1.8086 idle connection for test_parent:8086 100 Socket 4 422* 1676 127.0.0.1.8086 idle connection for test_parent:8086 101 Socket 4 423* 1682 127.0.0.1.8086 idle connection for test_parent:8086 102 Socket 4 425* 1676 127.0.0.1.8086 idle connection for test_parent:8086 103 Socket 4 422* 1684 127.0.0.1.8086 idle connection for test_parent:8086 104 Socket 4 423* 1692 127.0.0.1.8086 idle connection for test_parent:8086 105 Socket 4 423* 1706 127.0.0.1.8086 idle connection for test_parent:8086 106 Socket 4 423* 1680 127.0.0.1.8086 idle connection for test_parent:8086 107 Socket 4 422* 1690 127.0.0.1.8086 idle connection for test_parent:8086 108 Socket 4 423* 1704 127.0.0.1.8086 idle connection for test_parent:8086 109 Socket 4 423* 1698 127.0.0.1.8086 idle connection for test_parent:8086 110 Socket 4 423* 1704 127.0.0.1.8086 idle connection for test_parent:8086 111 Socket 4 423* 1696 127.0.0.1.8086 idle connection for test_parent:8086 112 Socket 4 423* 1698 127.0.0.1.8086 idle connection for test_parent:8086 113 Socket 4 423* 1714 127.0.0.1.8086 idle connection for test_parent:8086 114 Socket 4 423* 1696 127.0.0.1.8086 idle connection for test_parent:8086 115 Socket 4 423* 1682 127.0.0.1.8086 idle connection for test_parent:8086 116 Socket 4 423* 1674 127.0.0.1.8086 idle connection for test_parent:8086 117 Socket 4 423* 1666 127.0.0.1.8086 idle connection for test_parent:8086 118 Socket 4 422* 1698 127.0.0.1.8086 idle connection for test_parent:8086 119 Socket 4 425* 1674 127.0.0.1.8086 idle connection for test_parent:8086 120 Socket 4 423* 1690 127.0.0.1.8086 idle connection for test_parent:8086 121 Socket 4 423* 1672 127.0.0.1.8086 idle connection for test_parent:8086 122 Socket 4 423* 1696 127.0.0.1.8086 idle connection for test_parent:8086 123 Socket 4 423* 1666 127.0.0.1.8086 idle connection for test_parent:8086 124 Socket 4 423* 1668 127.0.0.1.8086 idle connection for test_parent:8086 125 Socket 4 425* 1680 127.0.0.1.8086 idle connection for test_parent:8086 126 Socket 4 423* 1680 127.0.0.1.8086 idle connection for test_parent:8086 127 Socket 4 422* 1680 127.0.0.1.8086 idle connection for test_parent:8086 128 Socket 4 423* 1688 127.0.0.1.8086 idle connection for test_parent:8086 129 Socket 4 423* 1688 127.0.0.1.8086 idle connection for test_parent:8086 130 Socket 4 423* 1692 127.0.0.1.8086 idle connection for test_parent:8086 131 Socket 4 559* 1186 127.0.0.1.8086 idle connection for test_parent:8086 132 Socket 4 425* 1616 127.0.0.1.8086 idle connection for test_parent:8086 133 Socket 4 424* 1608 127.0.0.1.8086 idle connection for test_parent:8086 134 Socket 4 425* 1610 127.0.0.1.8086 idle connection for test_parent:8086 135 Socket 4 425* 1604 127.0.0.1.8086 idle connection for test_parent:8086 136 Socket 4 425* 1610 127.0.0.1.8086 idle connection for test_parent:8086 137 Socket 4 425* 1676 127.0.0.1.8086 idle connection for test_parent:8086 138 Socket 4 422* 1684 127.0.0.1.8086 idle connection for test_parent:8086 139 Socket 4 423* 1692 127.0.0.1.8086 idle connection for test_parent:8086 140 Socket 4 423* 1706 127.0.0.1.8086 idle connection for test_parent:8086 141 Socket 1 4620* 3220 127.0.0.1.33291 Waiting for next request 142 Socket 4 423* 1680 127.0.0.1.8086 idle connection for test_parent:8086 143 Socket 1440 5285* 3219 127.0.0.1.33292 Reading next request 144 Socket 4 422* 1690 127.0.0.1.8086 idle connection for test_parent:8086 145 Socket 4 423* 1704 127.0.0.1.8086 idle connection for test_parent:8086 146 Socket 4 423* 1614 127.0.0.1.8086 idle connection for test_parent:8086 147 Socket 4 424* 1664 127.0.0.1.8086 idle connection for test_parent:8086 148 Socket 4 425* 1634 127.0.0.1.8086 idle connection for test_parent:8086 149 Socket 4 425* 1628 127.0.0.1.8086 idle connection for test_parent:8086 150 Socket 4 425* 1634 127.0.0.1.8086 idle connection for test_parent:8086 151 Socket 4 425* 1640 127.0.0.1.8086 idle connection for test_parent:8086 152 Socket 4 425* 1652 127.0.0.1.8086 idle connection for test_parent:8086 153 Socket 4 425* 1654 127.0.0.1.8086 idle connection for test_parent:8086 154 Socket 4 425* 1646 127.0.0.1.8086 idle connection for test_parent:8086 155 Socket 4 425* 1652 127.0.0.1.8086 idle connection for test_parent:8086 156 Socket 4 425* 1640 127.0.0.1.8086 idle connection for test_parent:8086 157 Socket 4 425* 1632 127.0.0.1.8086 idle connection for test_parent:8086 158 Socket 4 425* 1644 127.0.0.1.8086 idle connection for test_parent:8086 159 Socket 4 425* 1640 127.0.0.1.8086 idle connection for test_parent:8086 160 Socket 4 423* 1698 127.0.0.1.8086 idle connection for test_parent:8086 161 Socket 4 423* 1704 127.0.0.1.8086 idle connection for test_parent:8086 162 Socket 4 423* 1696 127.0.0.1.8086 idle connection for test_parent:8086 163 Socket 4 423* 1698 127.0.0.1.8086 idle connection for test_parent:8086 164 Socket 4 423* 1714 127.0.0.1.8086 idle connection for test_parent:8086 165 Socket 4 423* 1696 127.0.0.1.8086 idle connection for test_parent:8086 166 Socket 4 423* 1682 127.0.0.1.8086 idle connection for test_parent:8086 167 Socket 4 423* 1674 127.0.0.1.8086 idle connection for test_parent:8086 168 Socket 4 423* 1666 127.0.0.1.8086 idle connection for test_parent:8086 169 Socket 4 422* 1698 127.0.0.1.8086 idle connection for test_parent:8086 170 Socket 4 425* 1674 127.0.0.1.8086 idle connection for test_parent:8086 171 Socket 4 423* 1690 127.0.0.1.8086 idle connection for test_parent:8086 172 Socket 4 423* 1696 127.0.0.1.8086 idle connection for test_parent:8086 173 Socket 4 423* 1672 127.0.0.1.8086 idle connection for test_parent:8086 174 Socket 4 423* 1666 127.0.0.1.8086 idle connection for test_parent:8086 175 Socket 4 423* 1668 127.0.0.1.8086 idle connection for test_parent:8086 176 Socket 4 425* 1680 127.0.0.1.8086 idle connection for test_parent:8086 177 Socket 4 425* 1628 127.0.0.1.8086 idle connection for test_parent:8086 178 Socket 4 425* 1666 127.0.0.1.8086 idle connection for test_parent:8086 179 Socket 4 425* 1616 127.0.0.1.8086 idle connection for test_parent:8086 180 Socket 4 423* 1680 127.0.0.1.8086 idle connection for test_parent:8086 181 Socket 4 422* 1680 127.0.0.1.8086 idle connection for test_parent:8086 182 Socket 4 423* 1688 127.0.0.1.8086 idle connection for test_parent:8086 183 Socket 4 423* 1688 127.0.0.1.8086 idle connection for test_parent:8086 184 Socket 4 423* 1692 127.0.0.1.8086 idle connection for test_parent:8086 --------------------------------------------------------------------------------- Diese E-Mail wurde digital signiert. Sie koennen anhand der Signatur nachvollziehen, dass die E-Mail wirklich von Vattenfall stammt und dass deren Inhalt auf dem Transportweg nicht manipuliert wurde. Weitere Informationen ueber die eingesetzten Signaturen finden Sie auf unserer Website unter http://www.vattenfall.de/pki. ---------------------------------------------------------------------------------