Bug 572677
| Summary: | Memory leak in searches including GER control | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Andrey Ivanov <andrey.ivanov> | ||||||
| Component: | Security - Access Control (GER) | Assignee: | Rich Megginson <rmeggins> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 1.2.6 | CC: | jgalipea | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-12-07 16:31:06 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 434914, 543590 | ||||||||
| Attachments: |
|
||||||||
|
Description
Andrey Ivanov
2010-03-11 20:21:36 UTC
The dbgen used to generate the database : /Local/dirsrv/bin/dbgen.pl -v -o /tmp/example.ldif -n 10000 The memory leak appears only if i include the GER control into the request. Created attachment 399443 [details]
GER Memory leak test script
Created attachment 399548 [details]
patch
Hi Rich, thank you, your patch works for me. The resident part of ns-slapd does not grow any more. To ssh://git.fedorahosted.org/git/389/ds.git
2b39f92..ed46340 master -> master
commit ed463407ead1f63ba26f64740a1e5cd1d79a03ee
Author: Rich Megginson <rmeggins>
Date: Thu Mar 11 20:54:42 2010 -0700
Reviewed by: Andrey Ivanov (Thanks!)
Branch: HEAD
Fix Description: The per-operation acl pblocks are cached. In order to
release the pblock back to the cache free list, the connection must be
provided. The connection comes from the pblock.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
To ssh://git.fedorahosted.org/git/389/ds.git
dd7054c..87d2477 Directory_Server_8_2_Branch -> Directory_Server_8_2_Branch
commit 87d2477da35f4a029a225dd37917d4405d94ba54
Author: Rich Megginson <rmeggins>
Date: Thu Mar 11 20:54:42 2010 -0700
Reviewed by: Andrey Ivanov (Thanks!)
Branch: Directory_Server_8_2_Branch
Fix Description: The per-operation acl pblocks are cached. In order to
release the pblock back to the cache free list, the connection must be
provided. The connection comes from the pblock.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
(cherry picked from commit ed463407ead1f63ba26f64740a1e5cd1d79a03ee)
verified - RHEL 4 version: redhat-ds-base-8.2.0-2010060404.el4dsrv 1. generated ldif file and imported dbgen.pl -o example.ldif -n 10000 2. modified attached test script and ran several times while watching memory usage 3. No memory spikes or growth |