smbstatus show open files when none are

Charles Curley charles.h.curley at lmco.com
Tue Jul 14 12:52:17 GMT 1998


I recently (a few weeks ago) installed 1.9.18p8 in order
to get better performance with an Access Database, which along
with adding a TCP_NODELAY in the [global] section has that
working like a charm. Thing that's bugging me now is smbstatus.
When I run it I see open files listed when I know that they aren't.
The following output shows quite a few files open that aren't
really. The program, "sw/label/label.exe", running off the "ois"
share along with the Visual Basic DLL ("sw/label/vb40032.dll")
are the only things that would normally show up under my previous
version of Samba, and that's what I'd expect, since all the other
programs run are transient.

Any ideas or explanations? I've added my [global] section also just
in case someone wants to see it.

Samba version 1.9.18p8
Service      uid      gid      pid     machine
----------------------------------------------
public       ftp      data     26423   401308   (141.240.154.33) Mon Jul 13 15:40:17 1998
spc          ftp      data     26560   orlme400783 (141.240.154.75) Mon Jul 13 23:45:29 1998
public       ftp      data     26709   oclme405685 (141.240.124.145) Tue Jul 14 04:53:06 1998
public       ftp      data     26426   arakis   (141.240.124.110) Mon Jul 13 15:47:38 1998
ois          ftp      data     26453   402119   (141.240.146.92) Tue Jul 14 05:07:39 1998
public       ftp      data     26334   s400688  (141.240.126.83) Mon Jul 13 14:40:15 1998
public       ftp      data     26401   krell    (141.240.124.231) Mon Jul 13 15:10:09 1998
ois          ftp      data     26406   402253   (141.240.146.156) Mon Jul 13 15:16:33 1998
public       ftp      data     26406   402253   (141.240.146.156) Mon Jul 13 15:16:34 1998
public       ftp      data     26453   402119   (141.240.146.92) Mon Jul 13 16:39:36 1998
ois          ftp      data     26334   s400688  (141.240.126.83) Mon Jul 13 15:29:34 1998
spc          ftp      data     27153   oclme405483 (141.240.126.202) Tue Jul 14 07:56:53 1998
spc          ftp      data     26723   ocleq762775 (141.240.146.102) Tue Jul 14 06:00:02 1998
spc          ftp      data     26727   oclme405677 (141.240.124.144) Tue Jul 14 06:02:49 1998
spc          ftp      data     27126   oclme404536 (141.240.146.42) Tue Jul 14 06:45:52 1998
public       ftp      data     27132   402315   (141.240.126.90) Tue Jul 14 07:03:34 1998
ois          ftp      data     27132   402315   (141.240.126.90) Tue Jul 14 07:03:34 1998
public       ftp      data     27140   ocleq762768 (141.240.124.192) Tue Jul 14 07:17:37 1998
spc          ftp      data     27140   ocleq762768 (141.240.124.192) Tue Jul 14 07:17:47 1998
plato        ftp      data     27140   ocleq762768 (141.240.124.192) Tue Jul 14 07:17:52 1998
public       ftp      data     27154   ocleq762772 (141.240.126.166) Tue Jul 14 07:59:00 1998
plato        ftp      data     26401   krell    (141.240.124.231) Tue Jul 14 08:36:03 1998

Locked files:
Pid    DenyMode   R/W        Oplock           Name
--------------------------------------------------
27132  DENY_WRITE RDONLY     EXCLUSIVE+BATCH  sw/asymtek/debug/asymtek.exe   Tue Jul 14 07:04:19 1998
26453  DENY_WRITE RDONLY     EXCLUSIVE+BATCH  sw/excellon/fileview.exe   Tue Jul 14 07:30:08 1998
27132  DENY_WRITE RDONLY     EXCLUSIVE+BATCH  sw/laser/debug/laser.exe   Tue Jul 14 07:03:43 1998
26453  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  sw/excellon/ois.wax   Tue Jul 14 05:07:39 1998
26453  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  ois-data/pwb/DHM1265B/setup.txt   Tue Jul 14 07:30:09 1998
27132  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  ois-data/laser/LONGBOW MISSILE A1/asymtek.fm2   Tue Jul 14 07:04:36 1998
27132  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  ois-data/laser/LONGBOW MISSILE A1/asymtek.acl   Tue Jul 14 07:04:36 1998
26406  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  ois-data/pwb/RFLSH18X26/program.dat   Mon Jul 13 15:19:21 1998
27132  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  ois-data/laser/LONGBOW MISSILE A1/laser.prg   Tue Jul 14 07:04:00 1998
26334  DENY_WRITE RDONLY     EXCLUSIVE+BATCH  sw/label/vb40032.dll   Mon Jul 13 15:29:37 1998
26334  DENY_WRITE RDONLY     EXCLUSIVE+BATCH  sw/label/label.exe   Mon Jul 13 15:29:37 1998
26406  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  ois-data/pwb/TDR18X26/program.dat   Mon Jul 13 15:16:43 1998
26453  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  ois-data/pwb/DEX978.1/setup.txt   Tue Jul 14 06:05:46 1998
26453  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  ois-data/pwb/DEX978.1/program.dat   Tue Jul 14 06:06:38 1998

Share mode memory usage (bytes):
   100784(98%) free + 1328(1%) used + 288(0%) overhead = 102400(100%) total

Here's the global section from my config file:

[global]
   debug level = 0
   browsable = yes
   comment = Samba under Linux (RedHat 5.0)
   domain master = yes
   encrypt passwords = yes
   guest account = samba
   load printers = yes
   log file = /var/log/samba/%m.log
   lock directory = /var/lock/samba
   os level = 33
   password level = 1
   preserve case = no
   printing = bsd
   printcap name = /etc/printcap
   share modes = yes
   short preserve case = no
   socket options = TCP_NODELAY
   username map = /usr/local/samba/etc/usermap
   workgroup = ocala-cim

--
Charles Curley, Staff Engineer
Computer Integrated Manufacturing
Lockheed Martin Ocala Operations


More information about the samba mailing list