On Wed, 05.10.11 10:56, Albert Strasheim ([email protected]) wrote:

> 
> Hello
> 
> On Wed, Oct 5, 2011 at 1:40 AM, Lennart Poettering
> <[email protected]> wrote:
> > On Tue, 04.10.11 15:40, Albert Strasheim ([email protected]) wrote:
> >> Hello all
> >> I think we've found a bug in systemd-logind with systemd v35
> >> (specifically, systemd-35-1.fc16.x86_64.rpm).
> >> After a few thousand ssh logins, we start seeing stuff like this in
> >> /var/log/secure:
> > After a few thousand parallel ssh logins or one after the other?
> > This really looks as if we are leaking file descriptors in some way.
> >
> > What's the contents of /proc/$(pidof systemd-logind)/fd/ if this
> > happens?
> 
> There's 1023 entries in that directory.
> 
> > What is the contents of /run/systemd/sessions/?
> 
> There's about 2000 files in that directory. Filenames with numbers and
> the same number.ref.
> 
> This is even when no-one is logged into the system.

That looks as if somehow the sessions are leaked there. Can you do a
fuser -v on the .ref fifos as root? That should tell us if those fds are
still referenced.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to