Samba consumes a lot of resources

Claude Marinier claude.marinier at drdc-rddc.gc.ca
Fri Jan 17 16:21:58 GMT 2003


Hi,

I am testing on loriot: VMS 7.3, Samba 2.2.7a, and MultiNet V4.4 Rev A
on DEC 3000 Model 600 with 384 MB memory. After solving the "Flags =
UCX_SERVER" problem and the authentication problem, I am now actively
testing.

I am testing from MS Windows 2000 Pro with SP3. From Windows Explorer
through My Network Places / Entire Network / Microsoft Windows Network /
DREO / loriot, I went into the marinier share (from homes) and tried to
edit a file with GVIM (right click ans Send To). The system is sluggish
(slow to respond). Doing MONITOR SYSTEM produces.

	Node: LORIOT             17-JAN-2003 10:54:21
	Statistic: CURRENT       SYSTEM STATISTICS
	CPU Busy (79)
	Cur Top: SMBD_ANTIOCH-SP (11)
	Page Fault Rate (972)
	Cur Top: SMBD_ANTIOCH-SP (1)
	Free List Size (25497)
	Mod List Size (1587)
	Direct I/O Rate (247)
	Cur Top: SMBD_ANTIOCH-SP (23)
	Buffered I/O Rate (1856)
	Cur Top: SMBD_ANTIOCH-SP (859)

When I logged out from the PC and stopped the SMBD_ANTIOCH-SP process,
things settled down to a normal state (it took several seconds).

Generally, things are a bit slow, opening a directory (clicking the plus
sign) in particular; there is a noticeable delay when opening a file but
it is only a few seconds (3 or 4).

Notepad seems OK.

>From previous messages, it may be that we must be careful which Windows
applications we use to access files on the VMS system. It this true? Is
there a list of recommended applications?

Thanks.

-- 
Claude Marinier, Information Technology
Defence Research & Development Canada (Ottawa)
claude.marinier at drdc-rddc.gc.ca
http://www.ottawa.drdc-rddc.gc.ca

-------------- next part --------------
; Configuration file for smbd.

; Template for VMS

; ============================================================================

;

; Things you need to check:

; --------------------------

;

; 1: Make sure that the user specified in "guest account" exists. Typically

;    this will be a user that cannot log in and has minimal privileges.

;    Often the "nobody" account doesn't work (very system dependant).

;

; 2: You should consider the "security =" option. See a full description

;    in the main documentation and the smb.conf(5) manual page

;

; 3: Look at the "hosts allow" option, unless you want everyone on the internet

;    to be able to access your files.

;



[global]

   workgroup = DREO

   netbios name = LORIOT

   server string = Samba Server on loriot

   interfaces = 131.136.32.171/24



; make sure this server is unobtrusive

   local master = no

   domain master = no

   preferred master = no

   os level = 0



   debug level = 2

   dead time = 10

   map archive = no

   default service = default

   create mode = 0777

   guest account = PCFS$ACCOUNT



   max connections = 15

   hosts allow = 131.136.32. 131.136.35.2 131.136.35.4



   security = server

   password server = ewsrv-ew vimy-dreo walcheren-dreo

   wins server = 131.136.32.6 131.136.35.249 131.136.35.248





;  This next option sets a separate log file for each client. Remove

;  it if you want a combined log file.

   log file = /samba_root/var/log.%m

   max log size = 50



;  read raw = no

   socket options = TCP_NODELAY

;  socket options = SO_REUSEADDR



;  You will need a world readable lock directory and "share modes=yes"

;  if you want to support the file sharing modes for multiple users

;  of the same files

;  lock directory = /samba_root/var/locks

   share modes = no



[homes]

   comment = Home Directories

   browseable = no

   read only = no

   create mode = 0750



[all]

   comment = SYS$USERS

   path = /sys$users/000000

   browseable = yes

   read only = no

   create mode = 0750



[emp]

   comment = SYS$EMP_USERS

   path = /sys$emp_users/000000

   browseable = yes

   read only = no

   create mode = 0750



[mac]

   comment = SYS$MAC_USERS

   path = /sys$mac_users/000000

   browseable = yes

   read only = no

   create mode = 0750





; you might also want this one

;[tmp]

;   comment = Temporary file space

;   path = /tmp

;   read only = no

;   public = yes



;

; Other examples. 

;

; A publicly accessible directory, but read only, except for people in

; the staff group

;[public]

;   comment = Public Stuff

;   path = /usr/somewhere/public

;   public = yes

;   writable = no

;   printable = no

;   write list = @staff





More information about the samba-vms mailing list