winbindd slows my machine

Noel Kelly nkelly at tarsus.co.uk
Fri Jan 11 15:53:16 GMT 2002


Michael,

The memory leak has been fixed in 2.2.3 but it has not been released yet.  I
have been running it this week and had a few problems with winbind crashing
so I've move back to the 2.2.2 version for a while.

I get around the memory leak by running an awk script every five minutes or
so and when it hits a certain level I restart it.  You only have to restart
winbind so the users don't notice a thing.  Let me know if you want the
script and I can post it for you.

Not sure about the lack of users from trusted domains.  If wbinfo -m give
you the list then it should be working.

Noel  

-----Original Message-----
From: Raider, Michael A [mailto:RaiderMA at navair.navy.mil]
Sent: 11 January 2002 23:12
To: 'Noel Kelly'; samba at lists.samba.org
Subject: RE: winbindd slows my machine


Noel,

The machine does slow over time.  Memory usage started at 0.3% and when I
killed the process memory usage was up to 10%.  What can I do?

'getent group' did not show all users in all trusted domains.  I saw users
in the domain the machine is in and the local trusted domain.  I did not see
any users from off site trusted domains.

v/r, Michael


-----Original Message-----
From: Noel Kelly [mailto:nkelly at tarsus.co.uk]
Sent: Friday, January 11, 2002 12:28 PM
To: 'Raider, Michael A'; samba at lists.samba.org
Subject: RE: winbindd slows my machine


Michael,

There is a nasty memory leak in winbind in 2.2.2 - does the machine slow
after a bit of use ?  Could be the memory leak.  Do a ps auxw | grep
winbindd to and the fourth column will give you a % of memory used.

Try doing a 'getent group' and see what that gives you.  I am pretty sure it
will be similar to the wbinfo output but it is a little more comprehensive.

Noel

-----Original Message-----
From: Raider, Michael A [mailto:RaiderMA at navair.navy.mil]
Sent: 11 January 2002 18:28
To: samba at lists.samba.org
Subject: winbindd slows my machine


I have Samba 2.2.2 running on a Redhat 7.2 Intel machine.  When winbindd is
running the machine slows to a crawl for both local and remote users.  If I
kill winbindd, and make appropriate changes to the config files (user
security, etc.), then the machine works great.  Excerpts of config files are
below.  I am running on a large network with 142 workgroups and domains.

Another problem that I have is that I can't see users in trusted domains.  I
tried "wbinfo -n domain+user" and got a message that the domain could not be
found.  "wbinfo -m" does list the trusted domains.

Thanks for your help, Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/etc/samba/smb.conf:
[global]
        workgroup = FOO1
        netbios name = APOLLO
        security = domain
        server string = Samba Server Ver. 2.2.2
        encrypt passwords = Yes
        password server = *
        winbind separator = +
        wins server = 168.123.102.11, 169.222.11.3
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        hide unreadable = Yes
        template shell = /bin/bash
        template homedir = /home/%U

/etc/nsswitch.conf:
passwd:     files winbind
group:      files winbind

/etc/pam.d/samba:
account    required /lib/security/pam_winbind.so
session    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth
auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_nologin.so
auth       sufficient   /lib/security/pam_winbind.so
auth       required     /lib/security/pam_pwdb.so use_first_pass shadow
nullok



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list