Re: [IPCop-user] bug in relase 2.1.0 or 2.1.1: causes squid high cpu usage
Michael Rasmussen <[email protected]> Mon, 17 Feb 2014 01:41:56 +0100
| Newsgroups | gmane.comp.security.ipcop.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 16 Feb 2014 23:51:06 +0100 Michael Rasmussen <[email protected]> wrote: > It seems no matter what I do the cache is never populated with any > objects what so ever. Hitting reload on a page containing only static > objects nothing is stored in the cache since every new reload on logs > TCP_MISS/200 in the access.log file. > > Why is this? > To answer myself. The squid-graph script needs upgrading to since squid 3.x has introduced new status codes. One of these status codes is TCP_REFRESH_UNMODIFIED/304 which is to be counted as a hit but since squid-graph only considers status codes containing HIT as a hit these other hits will be counted as MISS. Another thing. To be able to see any hits at all from squid I had to add the following to squid.conf: cache allow all -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael <at> rasmussen <dot> cc http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E mir <at> datanom <dot> net http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C mir <at> miras <dot> org http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 -------------------------------------------------------------- /usr/games/fortune -es says: Love -- the last of the serious diseases of childhood. ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ IPCop-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ipcop-devel
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlMBWtQACgkQVErYVePoCRfERACgoO6fe5+zyx4MGcJNjAn2aAb+ 9JkAn2V7K6R83ETWNUAKHIL93181OpEd =f/D4 -----END PGP SIGNATURE-----