[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6629) send_search_entry() does not clear controls

--On August 26, 2010 3:44:02 AM +0000 masarati@aero.polimi.it wrote:

> Full_Name: Pierangelo Masarati
> Version: HEAD/re24
> OS: irrelevant
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> Submitted by: ando
> REP_CTRLS_MUSTBEFREED is only honored by send_ldap_response(); when
> response controls are attached to slap_send_search_entry() it is not
> honored.  This does not surface because controls must be malloc'ed on the
> slab; however, it clearly appears when built with SLAP_NO_SL_MALLOC.

Interesting -- I'm seeing an issue where I can get slapd to consume all 
available memory on the system by using paged results.  It takes a while to 
do so (depending on how much memory is available), but it's 100% 
repeatable.  The more mixes of paged and non paged results there are with 
large result sets, the more quickly it happens.  However, I do not build 
with SLAP_NO_SL_MALLOC (or at least, not intentionally ;) ).


Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration