[PATCH] selftest: close connections after tests in samba4.ldap.acl.python

Jamie McClymont jamiemcclymont at catalyst.net.nz
Mon Jan 8 01:08:26 UTC 2018

Patch with gc removed (confirmed not to impact), plus fix for secdesc


On 08/01/18 14:00, Andrew Bartlett wrote:
> On Mon, 2018-01-08 at 13:38 +1300, Jamie McClymont via samba-technical
> wrote:
>> Hi all,
>> I'm taking a look at the memory usage of the testsuite.
>> samba4.ldap.acl.python is currently all that puts peak usage over the
>> 8GB line -- A patch to fix is attached (with more likely to follow for
>> other tests).
> This looks great.  If you could see if we can skip the gc.collect()
> stuff that would be great, and pick up the next few so we can get the
> build back under 8GB.  
> (In the long term we really need to get this under 2GB to fit into free
> runners on gitlab, but 8GB will still be much less expensive). 
> Thanks!
> Andrew Bartlett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-close-connections-ldap-acl-and-secdesc-python.patch
Type: text/x-patch
Size: 6519 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180108/9602225f/samba-close-connections-ldap-acl-and-secdesc-python.bin>

More information about the samba-technical mailing list