Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2003 07:42:57 -0600
From:      "Charles Howse" <chowse@charter.net>
To:        <questions@freebsd.org>
Subject:   Smbd process not disconnecting
Message-ID:  <002101c39e22$8fe2ada0$04fea8c0@moe>

next in thread | raw e-mail | index | archive | help
Hi,
The following line is from sockstat -4 on my machine "curly", which I
checked about 30 minutes ago.
There is a netbios connection between curly (192.168.254.2) and moe
(192.168.254.4) initiated by root with smbd.
I share several directories with Samba.
Most likely, I opened the "WWW" share on my XP box.

USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN
ADDRESS     =20
root     smbd      3064   16 tcp4   192.168.254.2:139
192.168.254.4:1326=20

Below, note that I opened that share at 12:11 PM.

[charles@curly ~]$ ps -awux | grep 3064
root        3064  0.0  2.6  6252 3272  ??  I    12:11PM   0:01.34
/usr/local/sbin/smbd -D

Note below, that the connection was opened on the 28th, but did not
close, however the connection to "Seeds" closed about 4 mins after I
opened it.

Snippet from /var/log/moe.log
[2003/10/28 12:11:13, 1] smbd/service.c:make_connection_snum(698)
  moe (192.168.254.4) connect to service WWW initially as user nobody
(uid=3D65534, gid=3D65534) (pid 3064)
[2003/10/28 15:31:04, 1] smbd/service.c:make_connection_snum(698)
  moe (192.168.254.4) connect to service Seeds initially as user nobody
(uid=3D65534, gid=3D65534) (pid 3064)
[2003/10/28 15:35:49, 1] smbd/service.c:close_cnum(880)
  moe (192.168.254.4) closed connection to service Seeds

Am I way off target here, or do I have a process that isn't
disconnecting when it should?
How can I find out why the connection to "WWW" didn't close, and prevent
that from happening in the future?


Thanks,
Charles

Got a computer with idle CPU time?
Join SETI@home and help make history!
http://setiathome.ssl.berkeley.edu/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101c39e22$8fe2ada0$04fea8c0>