en-us Changes to branch net.cacheboy.squid.adrian http://viewmtn.angrygoats.net/all/branch/changes/net.cacheboy.squid.adrian Changes to branch net.cacheboy.squid.adrian http://viewmtn.angrygoats.net/all/revision/info/b9ef2977ad4716a9440bafc64a204243d22294c6 propagate from branch 'net.cacheboy.squid' (head 750f4172e5d0c46905ca8be2785aaf83d902ab3e) propagate from branch 'net.cacheboy.squid' (head 750f4172e5d0c46905ca8be2785aaf83d902ab3e)
to branch 'net.cacheboy.squid.adrian' (head f133e7ea383607d4e03a5c1328ffd95c850400d9)
adrian@creative.net.au Tue, 16 May 2006 03:32:18 GMT
http://viewmtn.angrygoats.net/all/revision/info/f133e7ea383607d4e03a5c1328ffd95c850400d9 Untested patch to fix a crash if fwdCheckDeferRead(-1, StoreEntry *) is
Untested patch to fix a crash if fwdCheckDeferRead(-1, StoreEntry *) is
called with epoll() support compiled.
adrian@creative.net.au Sat, 13 May 2006 15:55:06 GMT
http://viewmtn.angrygoats.net/all/revision/info/41da8c6928ce901daf307e6dbbb0ab5e6c1d04b3 A small utility to dump the contents of the store log out.
A small utility to dump the contents of the store log out.
Useful if you're trying to grab information about object distribution
sizes.
adrian@creative.net.au Wed, 03 May 2006 10:09:55 GMT
http://viewmtn.angrygoats.net/all/revision/info/484483bf362de427c05d1494d199667a5ce3d4aa add in comment.
add in comment.
adrian@creative.net.au Mon, 01 May 2006 07:24:59 GMT
http://viewmtn.angrygoats.net/all/revision/info/f35cd536e56868be331d7ba5e3b4f641b7b92950 Make SD->checkobj() return 1 or 0 based on whether the object can actually
* Make SD->checkobj() return 1 or 0 based on whether the object can actually
be cached;
* Make SD->checkload() return 0->1000 for the load average, or -1 on an error;
(which duplicates the loadaverage logic from checkobj())
* Make the storage selection code use both SD->checkobj() and SD->checkload()
during storedir selection
adrian@creative.net.au Mon, 01 May 2006 05:38:53 GMT
http://viewmtn.angrygoats.net/all/revision/info/6d9381f5ceed5c13bff8342aa01cae2c929a4ea0 Discriminate between loadav-related and open-related storeOpen() failures.
Discriminate between loadav-related and open-related storeOpen() failures.
adrian@creative.net.au Mon, 01 May 2006 03:54:19 GMT
http://viewmtn.angrygoats.net/all/revision/info/816b792b3ba533b402fda6b68f5eccc94e2c9b28 This stuff is a feature request from Mark @ Wikimedia.org.
This stuff is a feature request from Mark @ Wikimedia.org.
He's asked for some logic to degrade gracefully if the disk load is too high.
Squid has logic in it to stop swapping objects out if the disk load is too high
but didn't have anything to handle failing object opens.
This is the initial pass:
* implement the checkload function for each storedir
* implement checking it in storeOpen()
Todo:
* testing!
* clean up checkobj functions so it just returns whether the store will
take the object or not; relegate checking loadav-related stuff to this
function..
* .. and check SD->loadav during store server selection; don't select
storedirs which are overloaded.
adrian@creative.net.au Sun, 30 Apr 2006 14:06:52 GMT
http://viewmtn.angrygoats.net/all/revision/info/6676c71697e161c90004fd0ec8beef320c83a92e Comment
Comment
adrian@creative.net.au Tue, 25 Apr 2006 09:05:10 GMT
http://viewmtn.angrygoats.net/all/revision/info/642aa1fdde3e3abe9880d4c7d0fac602eb77afd3 merge of 24a6de80905791b653781357a900933a5eb6788d merge of 24a6de80905791b653781357a900933a5eb6788d
and 507257ddb77a6c9b055335ea546d30814432cf31
adrian@creative.net.au Tue, 25 Apr 2006 08:53:31 GMT
http://viewmtn.angrygoats.net/all/revision/info/507257ddb77a6c9b055335ea546d30814432cf31 Import the customlog-2.5 code from devel.squid-cache.org
Import the customlog-2.5 code from devel.squid-cache.org
This code compiles, but isn't yet tested.
adrian@creative.net.au Tue, 25 Apr 2006 08:53:26 GMT