smbstatus shows connections which should be gone
mathog at seqaxp.bio.caltech.edu
mathog at seqaxp.bio.caltech.edu
Sat Feb 20 00:39:31 GMT 1999
Today's our first day with 2.0.2 (Linux, RedHat 5.1). We're using it as a
PDC for a bunch of WNT 4 SP3 clients.
One thing that I don't get at all is why client connections seem to hang
around forever. Here is a login, followed by a logout, of a WNT 4 sp3
machine named saf05.
[1999/02/19 16:22:33, 1] smbd/service.c:make_connection(488)
saf05 (131.215.xx.yy) connect to service mathog as user mathog (uid=2005, gid=192) (pid 29128)
[1999/02/19 16:22:33, 1] smbd/service.c:make_connection(488)
saf05 (131.215.xx.yy) connect to service netlogon as user mathog (uid=2005, gid=192) (pid 29128)
[1999/02/19 16:22:41, 1] smbd/service.c:close_cnum(514)
saf05 (131.215.xx.yy) closed connection to service mathog
[1999/02/19 16:22:41, 1] smbd/service.c:make_connection(488)
saf05 (131.215.xx.yy) connect to service mathog as user mathog (uid=2005, gid=192) (pid 29128)
Several minutes (up to 20 minutes, so far) after the logout, smbstatus shows this:
Samba version 2.0.2
Service uid gid pid machine
----------------------------------------------
mathog mathog biostaff 29128 saf05 (131.215.xx.yy) Fri Feb 19 16:22:41 1999
netlogon mathog biostaff 29128 saf05 (131.215.xx.yy) Fri Feb 19 16:22:33 1999
No locked files
Share mode memory usage (bytes):
1048464(99%) free + 56(0%) used + 56(0%) overhead = 1048576(100%) total
I can't think of any reason these services should be in use once the user
has logged off the client machine. I've waited 20 minutes and they don't
go away. A subsequent login from the same workstation by a different user
just adds new stuck services. A subsequent login/logout from the same workstation
for the SAME user only changes the date stamps.
Are these sessions really hanging around, or has some part of Samba lost
count or missed the "closed" messages? Or is it one of those set a global parameter
in smb.conf sorts of problems?
Thanks,
David Mathog
mathog at seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech
More information about the samba
mailing list