[Samba] 3.0rc3 CPU and Memory issues

Donald Zajic donald.zajic at verizon.net
Wed Sep 10 08:34:27 GMT 2003


Good Morning,

I am currently running 3.0rc3 on a RH9 box and have noticed that my CPU
is pegged to 99-100% continually as well as my memory usage.  I believe
that this has been previously reported; however, I have not seen any
indication of a way to resolve. This is a new install of RH on a P4
2.26Ghz with 768M of RAM.

Don Zajic

These are the statistics from running top:

04:21:08  up 3 days,  8:09,  2 users,  load average: 1.99, 1.79, 1.39
49 processes: 45 sleeping, 4 running, 0 zombie, 0 stopped
CPU states: 100.0% user   0.0% system   0.0% nice   0.0% iowait   0.0%
idle
Mem:   772392k av,  762476k used,    9916k free,       0k shrd,   81472k
buff
                    530488k actv,       0k in_d,   14652k in_c
Swap: 1566328k av,      88k used, 1566240k free                  626372k
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU
COMMAND
26517 christie  25   0  3544 3536  2616 R    50.0  0.4 602:51   0 smbd
26657 donald    25   0  3408 3408  2504 R    50.0  0.4   4:05   0 smbd

For fear of leaving out something critical, here is the full smb.conf
listing:

[global]
   netbios name = zajicdc
   workgroup = zajic
   server string = Samba Server - zajicdc
   hosts allow = 192.168.1. 127.
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = yes
   passdb backend = tdbsam:/etc/samba/passdb.tdb, guest
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
   pam password change = yes
   obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = yes
   os level = 64
   domain master = yes 
   preferred master = yes
   domain logons = yes
   logon script = %U.bat
   logon path = \\%L\Profiles\%U
   wins support = yes
   wins proxy = yes
   dns proxy = no 
  preserve case = yes
  add user script = /usr/sbin/useradd %u
  add group script = /usr/sbin/groupadd %g
  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d \

        dev/null -s /bin/false %u
  delete user script = /usr/sbin/userdle %u
  delete user from group script = /usr/sbin/deluser %u %g
  delete group script = /usr/sbin/groupdel %g


 [homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = @ntadmins
   create mode = 0664
   directory mode = 0775

 [netlogon]
  comment = Network Logon Service
  path = /usr/local/samba/netlogon
  guest ok = no
  writable = no
  root preexec = /usr/bin/ntlogon.py --user=%U --os=%m
  root postexec = rm /usr/local/samba/netlogon/%U.bat

 [Profiles]
   create mode = 0600
   csc policy = disable
   directory mode = 0700
   path = /home/profile
   profile acls = yes
   read only = no

[public]
   comment = Public Stuff
   path = /home/public
   public = yes
   create mode = 0770
   directory mode = 0770
   writable = yes
   printable = no
   write list = @ntadmins






More information about the samba mailing list