Samba takes some time to wake up...

Mark Meierjohann marki at irving.uni-paderborn.de
Mon Feb 1 15:37:29 GMT 1999


Subject: Samba takes some time to wake up....

Hi folks,

We are using Samba-2.0. with RedHat 5.2 on a PII-350MHz
and RAID SCSI HD as a domain-logon-server. The clients 
are Win 95 Pentium PCs connected by ethernet.

The problem is:
         Samba takes a long time, i.e. 1 min, to let
         the first user log on in the morning.
         After that the response times are reasonable.

         All the following Win95 PCs are fast loging on
         to the Samba-Server and ok to work at.
         But when openning a file under Word 97 in can
         take up to 30 sec for the window in which you
         choose the file to apear.

We have started smbd and nmbd via inetd and have had them
running as daemons -- without any noticeable difference.
I'll attach part of my smb.conf

Please send any hints via eMail to marki at irving.uni-paderborn.de

Thanks
        Mark

---------------------------smb.conf--------------------------
[global]
   guest account = pcguest
   hosts deny = ALL
   hosts allow = 131.234.138.0/255.255.255.0 127.0.0.1

   server string = Samba Server Regelungstechnik
   workgroup = sambart

   lock directory = /var/lock/samba

   share modes = yes
   security = user
   encrypt passwords = yes
   null passwords = true

   getwd cache = yes
   wins support = yes
   name resolve order = lmhosts host wins bcast
   wins proxy = yes
   dns proxy = yes
   
   local master = yes
   domain master = yes
   preferred master = yes
   os level = 33

   domain logons = yes
   logon script = %U.bat
   logon path = \\%L\netlogon

   mangle case = no
   case sensitive = no
   short preserve case = yes
   preserve case = yes

   oplocks = True
   fake oplocks = no
   socket options = SO_SNDBUF=4096 SO_RCVBUF=4096 TCP_NODELAY  
   read prediction = yes
   read raw = yes
   write raw = yes
   getwd cache = yes
   max xmit = 8192
   read size = 8192

   debug level = 1 
   max log size = 100000

   create mode = 755
   directory mode = 755


   dos filetimes = yes
   dos filetime resolution = yes
 
   time server = yes
  
   printing = plp
   printcap name = /etc/printcap
   print command = /usr/local/bin/lpr -h -P %p
   lpq command = /usr/local/bin/lpq -P %p
   lprm command = /usr/local/bin/lprm -P %p

[netlogon]
   comment = Samba Network Logon Service
   path = /samba-home/netlogon
   case sensitive = no
   locking = no
   read only = yes
   browsable = no
   create mode = 0755
   guest ok = yes

[homes]
   comment = Home Directory of %U
   path = /samba-home/%U
   public = no
   browseable = no
   read only = no
   force user = %U
   create mode = 0700
   directory mode = 0700

[prog]
   comment = Software
   path = /samba-soft
   read only = yes
   writable = yes
   admin users = gwe wkn marki
   browsable = yes



More information about the samba mailing list