This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 185765 - PassSync service leaks memory
PassSync service leaks memory
Product: Red Hat Directory Server
Classification: Red Hat
Component: Sync Service (Show other bugs)
All Linux
medium Severity medium
: DS8.0
: ---
Assigned To: Nathan Kinder
Orla Hegarty
Depends On:
Blocks: 152373 159328 182367 240316
  Show dependency treegraph
Reported: 2006-03-17 14:01 EST by Nathan Kinder
Modified: 2008-08-11 19:45 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-05-26 13:47:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
CVS Diffs (6.54 KB, patch)
2006-03-17 14:36 EST, Nathan Kinder
no flags Details | Diff
Revised Diffs (12.58 KB, patch)
2006-03-17 18:32 EST, Nathan Kinder
no flags Details | Diff

  None (edit)
Description Nathan Kinder 2006-03-17 14:01:53 EST
Ulf reported that passsync.exe and lsass.exe both keep growing with every
password change that is synchd.  There appears to be a few memory leaks whenever
we load or save away password modifications from/to passhook.dat.
Comment 1 Nathan Kinder 2006-03-17 14:36:55 EST
Created attachment 126286 [details]
CVS Diffs
Comment 2 Nathan Kinder 2006-03-17 18:32:17 EST
Created attachment 126292 [details]
Revised Diffs

There were other areas that were leaking that my first proposed fix didn't
address.  We weren't freeing the slot that NSS uses, the dn that we use for
logging purposes, or the LDAP search results.  This addresses all of those
issues plus the previous leaks of the plaintext and ciphertext password

Ulf has tested a build with these changes and the memory usage is stable under
stress conditions.
Comment 3 Orla Hegarty 2006-03-17 19:33:19 EST
Password sync tool leaked memory. This problem has been fixed.
Comment 4 Nathan Kinder 2006-03-17 19:35:47 EST
Checked into HEAD.  Reviewed by Noriko.

Checking in passwordsync/passhand.cpp;
/cvs/dirsec/winsync/passwordsync/passhand.cpp,v  <--  passhand.cpp
new revision: 1.8; previous revision: 1.7
Checking in passwordsync/passsync/dssynch.h;
/cvs/dirsec/winsync/passwordsync/passsync/dssynch.h,v  <--  dssynch.h
new revision: 1.7; previous revision: 1.6
Checking in passwordsync/passsync/syncserv.cpp;
/cvs/dirsec/winsync/passwordsync/passsync/syncserv.cpp,v  <--  syncserv.cpp
new revision: 1.12; previous revision: 1.11
Checking in passwordsync/wix/PassSync.wxs;
/cvs/dirsec/winsync/passwordsync/wix/PassSync.wxs,v  <--  PassSync.wxs
new revision: 1.13; previous revision: 1.12
Checking in branding/fedora/brandver.dat;
/hurricane/cvs/spd/winsync/branding/fedora/brandver.dat,v  <--  brandver.dat
new revision: 1.2; previous revision: 1.1
Checking in branding/rhds/brandver.dat;
/hurricane/cvs/spd/winsync/branding/rhds/brandver.dat,v  <--  brandver.dat
new revision: 1.2; previous revision: 1.1
Comment 5 To Ngan 2006-04-04 13:11:21 EDT
Verified against build 20060330.1  (20060322.1 improved but still showed slight
Same mod passwd script ran for days and passsync.exe memory footprint remains
stable under 5MB.
Comment 7 Orla Hegarty 2006-05-26 13:47:59 EDT
Somehow the errata system did not automatically close these bugs even though DS
SP 2 is shipped and available live on RHN
Comment 8 Chandrasekar Kannan 2007-07-25 15:16:56 EDT
DS7.2 is not a valid milestone anymore. Anything thats set to DS7.2 should be
set to DS8.0. Will make further changes per bug council on 07/24/2007, after this.
Comment 9 Chandrasekar Kannan 2008-08-11 19:45:35 EDT
Bug already CLOSED. setting screened+ flag

Note You need to log in before you can comment on or make changes to this bug.