From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 05:45:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F54116A4CF for ; Wed, 29 Oct 2003 05:45:28 -0800 (PST) Received: from mxsf22.cluster1.charter.net (mxsf22.cluster1.charter.net [209.225.28.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id C270243F93 for ; Wed, 29 Oct 2003 05:45:26 -0800 (PST) (envelope-from chowse@charter.net) Received: from moe (jackson-66-168-145-25.midtn.chartertn.net [66.168.145.25]) h9TDgwUY041067 for ; Wed, 29 Oct 2003 08:43:02 -0500 (EST) (envelope-from chowse@charter.net) From: "Charles Howse" To: Date: Wed, 29 Oct 2003 07:42:57 -0600 Message-ID: <002101c39e22$8fe2ada0$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Smbd process not disconnecting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 13:45:28 -0000 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/