View Issue Details

IDProjectCategoryView StatusLast Update
0014303CentOS-7sssdpublic2017-12-22 17:47
Status newResolutionopen 
Platformx86_64OSCentOSOS Version7.4
Product Version7.4.1708 
Target VersionFixed in Version 
Summary0014303: SSSD is leaking memory when CUPS is actively being used
DescriptionThere is memory leakage in sssd_nss process. This happens when CUPS is running locally and accepting many print jobs (talking about thousands of jobs). Also, just listing all print jobs makes the process to eat more memory. Eventually sssd_nss process eats all available memory until the server crashes. I have to restart SSSD service sometimes few times a day under heavy load to avoid a crash.

ps -C sssd_nss -o size,pid,user,args
3561796 1101 root /usr/libexec/sssd/sssd_nss --uid 0 --gid 0 --debug-to-files
Steps To Reproduce
# Create a fake printer (replace IP with any other non-existent one)
lpadmin -p testprinter -v socket://
# Generate a queue (make sure you do it under non-root user. Somehow root print jobs don't generate leakage)
for i in {1..3000}; do lp -d testprinter /etc/protocols; done
# Run a loop to list the queue
while true; do lpstat -o >/dev/null; done
# Check how sssd_nss process eats memory
while true; do cat /proc/$(ps -C sssd_nss -o pid= |awk '{print $1}')/status |grep 'VmRSS'; sleep 5; done
Additional Informationkernel-3.10.0-693.5.2.el7.x86_64
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-12-22 17:47 linuxuser2017 New Issue