PennState / kerblib

Various kerb utilities and a restful "kadmin-like" endpoint
0 stars 2 forks source link

Memory leak #6

Closed acobaugh closed 4 years ago

acobaugh commented 6 years ago

kadminRest has a memory leak:

341      28997  0.0  4.1 1457852 1365980 ?     Sl    2017 348:15 /opt/psu/kerblib/bin/kadminRest -a secd-p@dce.psu.edu -k /etc/secd-access_krb.keytab -r dce.psu.edu -p 8081 -i 127.0.0.1

6th column is RES. That's 1.36GB of memory consumed.

Just started, it's only 4MB in size.

acobaugh commented 4 years ago

This appears to be resolved with these commits: 1a36d49972861e10891396f5cb981f40c2ade7af 9d7f23a98be7906be2dad9839f1e2971a0b35390 e8057651246ffab46414783a33725d7b29677c87