[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-07-08 Thread Launchpad Bug Tracker
This bug was fixed in the package heimdal - 1.6~rc2+dfsg-8ubuntu1

---
heimdal (1.6~rc2+dfsg-8ubuntu1) utopic; urgency=medium

  * Add 051_kdc_memleak patch based on Debian bug #746486. LP: #1422359
 -- Patrik LundinWed, 04 Mar 2015 16:16:19 -0800

** Changed in: heimdal (Ubuntu Utopic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-17 Thread Launchpad Bug Tracker
This bug was fixed in the package heimdal - 1.6~git20131207+dfsg-
1ubuntu1.1

---
heimdal (1.6~git20131207+dfsg-1ubuntu1.1) trusty; urgency=medium

  * Add 048_kdc_memleak patch based on Debian bug #746486. LP: #1422359
 -- Patrik LundinTue, 03 Mar 2015 08:16:15 -0800

** Changed in: heimdal (Ubuntu Trusty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-16 Thread Mathew Hodson
** Tags removed: verification-done verification-needed
** Tags added: verification-done-trusty verification-needed-utopic

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-16 Thread Patrik Lundin
I added the verification-done tag. I did not remove the verification-
needed tag because I have no looked at Utopic.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-16 Thread Patrik Lundin
I have now installed the following packages on Trusty (by asking for
heimdal-kdc):

Do you want to continue? [Y/n] 
Get:1 http://se.archive.ubuntu.com/ubuntu/ trusty/main krb5-config all 2.3 
[23.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libhdb9-heimdal 
amd64 1.6~git20131207+dfsg-1ubuntu1.1 [59.2 kB]
Get:3 http://se.archive.ubuntu.com/ubuntu/ trusty/main 
libfile-copy-recursive-perl all 0.38-1 [20.6 kB]
Get:4 http://se.archive.ubuntu.com/ubuntu/ trusty/main update-inetd all 4.43 
[19.2 kB]
Get:5 http://se.archive.ubuntu.com/ubuntu/ trusty/main openbsd-inetd amd64 
0.20091229-2ubuntu3 [30.8 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main 
libkadm5clnt7-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.1 [18.5 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main 
libkadm5srv8-heimdal amd64 1.6~git20131207+dfsg-1ubuntu1.1 [28.8 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libkafs0-heimdal 
amd64 1.6~git20131207+dfsg-1ubuntu1.1 [15.1 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libkdc2-heimdal 
amd64 1.6~git20131207+dfsg-1ubuntu1.1 [52.8 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libotp0-heimdal 
amd64 1.6~git20131207+dfsg-1ubuntu1.1 [29.8 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libsl0-heimdal 
amd64 1.6~git20131207+dfsg-1ubuntu1.1 [13.3 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty-proposed/universe 
heimdal-clients amd64 1.6~git20131207+dfsg-1ubuntu1.1 [264 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ trusty-proposed/universe heimdal-kdc 
amd64 1.6~git20131207+dfsg-1ubuntu1.1 [91.9 kB]
Fetched 667 kB in 2s (284 kB/s) 

I can confirm these packages fix the leak on Trusty.

** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-06 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/utopic-proposed/heimdal

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-06 Thread Timo Aaltonen
Hello Patrik, or anyone else affected,

Accepted heimdal into utopic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/heimdal/1.6~rc2+dfsg-
8ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: heimdal (Ubuntu Utopic)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-04 Thread Brian Murray
I've also uploaded this to the Utopic queue.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-04 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/heimdal

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-04 Thread Brian Murray
** Description changed:

+ SRU information appears in comment #7:
+ https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/comments/7
+ 
  I have a KDC running Trusty Tahr. The machine has been up for 74 days
  and the kdc process has allocated almost all of the 8GB RAM available to
  the machine.
  
  When asking about this on heimdal-discuss, GALAMBOS Daniel pointed me to a 
relevant bug report (and fix) for Debian:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746486
  
  It seems likely this is the same problem I am experiencing.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-04 Thread Brian Murray
Hello Patrik, or anyone else affected,

Accepted heimdal into trusty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/heimdal/1.6~git20131207+dfsg-
1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: heimdal (Ubuntu Trusty)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-03 Thread Patrik Lundin
If you could handle Utopic that would be great, I do not have the
infrastructure in place to work on it right now.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-03 Thread Brian Murray
I've uploaded the debdif for Trusty, do you want to create one for
Utopic also or shall I?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-03 Thread Brian Murray
** Changed in: heimdal (Ubuntu Trusty)
   Status: New => In Progress

** Changed in: heimdal (Ubuntu Utopic)
 Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: heimdal (Ubuntu Trusty)
 Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: heimdal (Ubuntu Utopic)
   Status: New => In Progress

** Changed in: heimdal (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: heimdal (Ubuntu Utopic)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-03 Thread Patrik Lundin
Sorry for the double-post, launchpad threw an error the first few times
i tried submitting it.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-03 Thread Patrik Lundin
Thanks for the pointer Brian, see SRU format below:

[Impact]

* Effects of the bug on users
The kdc process leaks memory which means the users will need to restart the 
service when enough time has passed.

* Justification for backporting the fix to the stable release
The kdc is a long lived process, which means this leak will eventually be hit 
by anyone. I would not regard the current package as "stable".

* Explanation of how the upload fixes this bug
https://github.com/heimdal/heimdal/issues/93

[Test Case]

* Install heimdal-kdc package

* Modify /etc/krb5.conf so you use the same machine for AS-REQ:
---
[realms]
YOUR.REALM = {
kdc = your-local-machine.tld
}
---

* Add "test" user with password "test"
kadmin -l --use-defaults test
test@YOUR.REALM's Password: 
Verify password - test@YOUR.REALM's Password:

* Note how much RAM is currently being used by the kdc process:
---
# ps auxww | grep kdc | grep -v grep
root   832  0.0  0.1  79948  2768 ?S09:22   0:00 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Perform a bunch of requests against it:
---
# for request in {1..2}; do echo test | kinit --password-file=STDIN 
test@YOUR.REALM; done
---

* Note how much RAM is used after the test has been completed:
# ps auxww | grep kdc | grep -v grep
root   832  2.1  0.4  85660  9104 ?S09:22   0:27 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Install the new packages

* Reboot the machine

* Get a fresh RAM measurement:
---
# ps auxww | grep kdc | grep -v grep
root   864  0.0  0.1  79948  2764 ?S11:01   0:00 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Run test again
---
# for request in {1..2}; do echo test | kinit --password-file=STDIN 
test@YOUR.REALM; done
---

* Note that much less memory is used now:
---
# ps auxww | grep kdc | grep -v grep
root   864  1.8  0.1  79948  3468 ?S11:01   0:27 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-03 Thread Patrik Lundin
Thanks for the pointer Brian, see SRU format below:

[Impact]

* Effects of the bug on users
The kdc process leaks memory which means the users will need to restart the 
service when enough time has passed.

* Justification for backporting the fix to the stable release
The kdc is a long lived process, which means this leak will eventually be hit 
by anyone. I would not regard the current package as "stable".

* Explanation of how the upload fixes this bug 
https://github.com/heimdal/heimdal/issues/93

[Test Case]

* Install heimdal-kdc package

* Modify /etc/krb5.conf so you use the same machine for AS-REQ:
---
[realms]
YOUR.REALM = { 
kdc = your-local-machine.tld
}   
---

* Add a user with name "test" and password "test"
---
# kadmin -l --use-defaults test
test@YOUR.REALM's Password: 
Verify password - test@YOUR.REALM's Password:
#
---

* Note how much RAM is currently being used by the kdc process:
---
# ps auxww | grep kdc | grep -v grep
root   832  0.0  0.1  79948  2768 ?S09:22   0:00 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Perform a bunch of requests against it: 
---
# for request in {1..2}; do echo test | kinit --password-file=STDIN 
test@YOUR.REALM; done
---

* Note how much RAM is used after the test has been completed:
# ps auxww | grep kdc | grep -v grep
root   832  2.1  0.4  85660  9104 ?S09:22   0:27 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Install the new packages

* Reboot the machine

* Get a fresh RAM measurement:
---
# ps auxww | grep kdc | grep -v grep
root   864  0.0  0.1  79948  2764 ?S11:01   0:00 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Run test again
---
# for request in {1..2}; do echo test | kinit --password-file=STDIN 
test@YOUR.REALM; done
---

* Note that much less memory is used now:
---
# ps auxww | grep kdc | grep -v grep
root   864  1.8  0.1  79948  3468 ?S11:01   0:27 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-03 Thread Patrik Lundin
Thanks for the pointer Brian, see SRU format below:

[Impact]

* Effects of the bug on users
The kdc process leaks memory which means the users will need to restart the 
service when enough time has passed.

* Justification for backporting the fix to the stable release
The kdc is a long lived process, which means this leak will eventually be hit 
by anyone. I would not regard the current package as "stable".

* Explanation of how the upload fixes this bug
https://github.com/heimdal/heimdal/issues/93

[Test Case]

* Install heimdal-kdc package

* Modify /etc/krb5.conf so you use the same machine for AS-REQ:
---
[realms]
YOUR.REALM = {
kdc = your-local-machine.tld
}
---

* Add "test" user with password "test"
kadmin -l --use-defaults test
test@YOUR.REALM's Password: 
Verify password - test@YOUR.REALM's Password:

* Note how much RAM is currently being used by the kdc process:
---
# ps auxww | grep kdc | grep -v grep
root   832  0.0  0.1  79948  2768 ?S09:22   0:00 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Perform a bunch of requests against it:
---
# for request in {1..2}; do echo test | kinit --password-file=STDIN 
test@YOUR.REALM; done
---

* Note how much RAM is used after the test has been completed:
# ps auxww | grep kdc | grep -v grep
root   832  2.1  0.4  85660  9104 ?S09:22   0:27 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Install the new packages

* Reboot the machine

* Get a fresh RAM measurement:
---
# ps auxww | grep kdc | grep -v grep
root   864  0.0  0.1  79948  2764 ?S11:01   0:00 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Run test again
---
# for request in {1..2}; do echo test | kinit --password-file=STDIN 
test@YOUR.REALM; done
---

* Note that much less memory is used now:
---
# ps auxww | grep kdc | grep -v grep
root   864  1.8  0.1  79948  3468 ?S11:01   0:27 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-03 Thread Patrik Lundin
Thanks for the pointer Brian, see SRU format below:

[Impact]

* Effects of the bug on users
The kdc process leaks memory which means the users will need to restart the 
service when enough time has passed.

* Justification for backporting the fix to the stable release
The kdc is a long lived process, which means this leak will eventually be hit 
by anyone. I would not regard the current package as "stable".

* Explanation of how the upload fixes this bug
https://github.com/heimdal/heimdal/issues/93

[Test Case]

* Install heimdal-kdc package

* Modify /etc/krb5.conf so you use the same machine for AS-REQ:
---
[realms]
YOUR.REALM = {
kdc = your-local-machine.tld
}
---

* Add "test" user with password "test"
kadmin -l --use-defaults test
test@YOUR.REALM's Password: 
Verify password - test@YOUR.REALM's Password:

* Note how much RAM is currently being used by the kdc process:
---
# ps auxww | grep kdc | grep -v grep
root   832  0.0  0.1  79948  2768 ?S09:22   0:00 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Perform a bunch of requests against it:
---
# for request in {1..2}; do echo test | kinit --password-file=STDIN 
test@YOUR.REALM; done
---

* Note how much RAM is used after the test has been completed:
# ps auxww | grep kdc | grep -v grep
root   832  2.1  0.4  85660  9104 ?S09:22   0:27 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Install the new packages

* Reboot the machine

* Get a fresh RAM measurement:
---
# ps auxww | grep kdc | grep -v grep
root   864  0.0  0.1  79948  2764 ?S11:01   0:00 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

* Run test again
---
# for request in {1..2}; do echo test | kinit --password-file=STDIN 
test@YOUR.REALM; done
---

* Note that much less memory is used now:
---
# ps auxww | grep kdc | grep -v grep
root   864  1.8  0.1  79948  3468 ?S11:01   0:27 
/usr/lib/heimdal-servers/kdc --config-file=/etc/heimdal-kdc/kdc.conf
---

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-03-02 Thread Brian Murray
The Stable Release Updates team will want to see the description of the
bug updated for the SRU process, in particular to see a test case.
http://wiki.ubuntu.com/StableReleaseUpdates

Thanks for working on this and the patch looks good!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-02-26 Thread Patrik Lundin
I would appreciate if someone could take a look at the affected LTS
distributions.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-02-19 Thread Bug Watch Updater
** Changed in: heimdal (Debian)
   Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-02-19 Thread Daniel Holbach
This is fixed in vivid.

** Bug watch added: Debian Bug tracker #746486
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746486

** Also affects: heimdal (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746486
   Importance: Unknown
   Status: Unknown

** Also affects: heimdal (Ubuntu Utopic)
   Importance: Undecided
   Status: New

** Also affects: heimdal (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: heimdal (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-02-16 Thread Ubuntu Foundations Team Bug Bot
The attachment "heimdal-1.6~git20131207+dfsg-1ubuntu2" seems to be a
debdiff.  The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff.  If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-02-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: heimdal (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1422359] Re: heimdal-kdc: kdc process leaks memory

2015-02-16 Thread Patrik Lundin
Below is a patch that attempts to fix the same issue that was reported
to Debian. I have only build-tested the diff.

** Attachment added: "heimdal-1.6~git20131207+dfsg-1ubuntu2"
   
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+attachment/4320455/+files/heimdal-1.6%7Egit20131207%2Bdfsg-1ubuntu2

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to heimdal in Ubuntu.
https://bugs.launchpad.net/bugs/1422359

Title:
  heimdal-kdc: kdc process leaks memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heimdal/+bug/1422359/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs