Patches to fix leaking busyobj

Martin Blix Grydeland martin at varnish-software.com
Tue Aug 2 23:16:22 CEST 2011


Find attached two patches to deal with leaking busyobj structures.

First one frees any busyobj structure attached to the worker on thread exit.

Second one deals with early deref's of objects (before HSH_Unbusy, e.g. due
to failures), returning the busyobj to the worker.

Any comments appreciated.

Regards,
Martin Blix Grydeland

-- 
Martin Blix Grydeland
Varnish Software AS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110802/79d51d13/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: free-busyobj.patch
Type: application/octet-stream
Size: 550 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110802/79d51d13/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hsh_deref-return-busyobj.patch
Type: application/octet-stream
Size: 984 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110802/79d51d13/attachment-0007.obj>


More information about the varnish-dev mailing list