[SSSD] IPA client randomly lose memory of users

Simo Sorce simo at redhat.com
Mon Dec 3 21:24:52 UTC 2012


On Mon, 2012-12-03 at 15:42 -0500, Qing Chang wrote:
> On 03/12/2012 10:12 AM, Dmitri Pal wrote:
> > On 12/02/2012 11:37 AM, Jakub Hrozek wrote:
> >> On Sat, Dec 01, 2012 at 10:01:55PM -0500, Qing Chang wrote:
> >>> On 30/11/2012 7:30 PM, Dmitri Pal wrote:
> >>>> On 11/30/2012 05:21 PM, Qing Chang wrote:
> >>>>> my dovecot IMAP server would randomly lose memory of users, as an
> >>>>> example:
> >>>>>
> >>>>> Samba/NFS server knows this user:
> >>>>> [root at smb2 shassan]# getent passwd bqiang
> >>>>> bqiang:*:47105:471:Beiping Qiang:/home2/bqiang:/bin/tcsh
> >>>>>
> >>>>> But dovecot server does not:
> >>>>> [root at dovecot2 ~]# getent passwd bqiang
> >>>>>
> >>>>> Only when I apply this:
> >>>>> [root at dovecot2 ~]# \rm /var/lib/sss/db/cache_sri.utoronto.ca.ldb
> >>>>> [root at dovecot2 ~]# service sssd restart
> >>>>>
> >>>>> It gets it:
> >>>>> [root at dovecot2 ~]# getent passwd bqiang
> >>>>> bqiang:*:47105:471:Beiping Qiang:/home2/bqiang:/bin/tcsh
> >>>>>
> >>>>> So far I have to deal with this for three users. It's quite possible
> >>>>> that there are more than 3 that are affected, they were just patient
> >>>>> enough to wait until dovecot "recovers its memory".
> >>>>>
> >>>>> =====
> >>>>> sssd.x86_64                      1.8.0-32.el6
> >>>>> @rhel-x86_64-server-6
> >>>>> sssd-client.x86_64               1.8.0-32.el6
> >>>>> @rhel-x86_64-server-6
> >>>>> =====
> >>>>>
> >>>>> Your help is much appreciated.
> >>>>>
> >>>>> Thanks,
> >>>>> Qing
> >>>>>
> >>>> Can it be because hierarchy changes in some way?
> >>> I assume this is not a question for me? Please explain if it is, I do not have a clue what this is.
> >> I think that Dmitri was asking if the group membreships may have changed
> >> on the server between the two lookups. In other words, was the user
> >> added to or removed from some groups on the server?
> > Correct but not only this.
> > Have the nesting of the groups the user is in changed in any way?
> > For example a group was moved from one parent group to another.
> I am no using nested groups.
> 
> It happened to one of the three users today, I was putting in change for increasing
> log level, by doing "service sssd restart", like Simo suspected, that along brought
> back the memory:-( But I have to wait for another occurrence to catch the bug in
> action...
> 
> Will report back.

Hi this is already valuable feedback, thanks a lot, focuses the problem
in the nss responder.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the sssd-devel mailing list